Analisis Sentimen Sistem Operasi iOS 15,16,17 Menggunakan Naive Bayes

Tugas Akhir Oktaviarlen Setya (E31221299)

Distribusi Sentimen

WordCloud per Label Sentimen

@foreach (['positive', 'negative', 'neutral'] as $lbl)

{{ $lbl }}

@endforeach

Top Kata Teratas per Label

@foreach (['positive', 'negative', 'neutral'] as $label)

{{ $label }}

@php // Ambil array fitur untuk label ini; jika tidak ada, jadikan array kosong $features = $topFeaturesByLabel[$label] ?? []; @endphp @if (empty($features))

Tidak ada data untuk label {{ $label }}.

@else
@foreach ($features as $word => $count) @endforeach
Rank Kata
{{ $loop->iteration }} {{ $word }}
@endif
@endforeach

Evaluation Metrics (Training)

Evaluation Metrics (Uji)

Confusion Matrix (Training)

{{-- Kolom pertama: header true label --}} {{-- Kolom prediksi --}} @foreach ($cmCols as $col) @endforeach @forelse ($cmRows as $row) {{-- Sel true label --}} {{-- Sel prediksi --}} @foreach ($cmCols as $col) @endforeach @empty @endforelse
{{ $trueLabelKey }}{{ $col }}
{{ $row[$trueLabelKey] }}{{ $row[$col] }}
Data confusion matrix training tidak tersedia.

Confusion Matrix (Uji)

@foreach ($cmColsUji as $col) @endforeach @forelse ($cmRowsUji as $row) @foreach ($cmColsUji as $col) @endforeach @empty @endforelse
{{ $trueLabelKeyUji }}{{ $col }}
{{ $row[$trueLabelKeyUji] }}{{ $row[$col] }}
Data confusion matrix uji tidak tersedia.