Melola Discovery

← Melola Discovery

Journal

PEMILIHAN FEATURE DENGAN CHI SQUARE DALAM ALGORITMA NAÏVE BAYES UNTUK KLASIFIKASI BERITA

Edu Komputika Journal · Vol. 2 No. 1 (2015)

DOI
10.15294/edukomputika.v2i1.7823
ISSN
2599-297X, 2252-6811
Published
2015-06-01
Publisher
Jurusan Teknik Elektro Universitas Negeri Semarang
Language
eng

Abstract

Klasifikasi berita secara manual tidak mungkin dilakukan. Klasifikasi otomatis banyak dilakukan dengan algoritma naïve bayes, tetapi jumlah feature kata yang banyak dapat mengurangi akurasi klasifikasi. Penelitian ini bertujuan untuk mengetahui penerapan, pengaruh dan nilai recall, precision, f-measure dan akurasi dari pemilihan feature Chi Square terhadap kinerja algoritma Naïve Bayes untuk mengklasifikasikan teks berita secara otomatis. Pada penelitian ini diterapkan teknik pemilihan feature dengan Chi Square dalam Algoritma Naïve Bayes. Data penelitian diambil dari www.kompas.com sebanyak 1350 buah sebagai data latih dan 150 buah sebagai data uji. Pengujian dilakukan dengan mengklasifikasikan berita tanpa pemilihan feature Chi Square dan mengklasifikasikan berita dengan menerapkan pemilihan feature Chi Square dengan taraf nyata α 0.05, 0.01, 0.005, dan 0.001. Selanjutnya akan dievaluasi dengan metode evaluasi recall, precision, f-measure dan akurasi. Dari klasifikasi berita otomatis tanpa pemilihan feature yang dilakukan, diperoleh hasil recall 96.67%, precision 96.75%, f-measure 96.68% dan akurasi 96.67%. Sedangkan klasifikasi berita dengan pemilihan feature menggunakan chi square pada taraf nyata α 0.05, 0.01, 0.005, dan 0.001 diperoleh hasil yang sama yaitu recall 98%, precision 98%, f-measure 97.99%, dan akurasi 98%. Dari hasil tersebut, dapat diketahui bahwa pemilihan feature menggunakan chi square dapat mempengaruhi kinerja algoritma Naïve Bayes untuk mengklasifikasikan berita secara otomatis. Classification of news manually impossible. Automatic classification lot to do with the naïve Bayes algorithm, but the number of words that many features can reduce the accuracy of the classification. This study aims to determine the application, influence and value of recall, precision, f-measure and accuracy of election Chi Square feature of the performance Naïve Bayes algorithm to automatically classify news text. In this study feature selection techniques applied by Chi Square in Naïve Bayes algorithm. Data were taken from as many as 1350 pieces www.kompas.com as training data and 150 as test data. Testing is done by classifying feature election news without Chi Square and classifying news by applying the Chi Square feature selection with significance level α 0:05, 0:01, 0.005, and 0.001. Next will be evaluated by the evaluation method of recall, precision, f-measure and accuracy. Automatic classification of news without selecting a feature that is done, the result recall 96.67%, 96.75% precision, f-measure 96.68% and 96.67% accuracy. While the classification of news with feature selection using the chi square on the real level α 0:05, 0:01, 0005, and 0001 obtained the same result, namely 98% recall, 98% precision, f-measure 97.99%, and accuracy 98%. From these results, it is known that the selection of the feature using the chi square can affect the performance Naïve Bayes algorithm to automatically classify news.

Collaboration network of the authors

11 authors · 19 co-authorship links

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • State University of Semarang
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Awang HarizkaAffiliation unknown1
Ulfah Mediaty AriefState University of Semarang1
Sri SukamtaAffiliation unknown1
Hesti Wahyu NugrohoAffiliation unknown1
Dawam Muhammad AkbarAffiliation unknown1
Muhammad Azil MaskurAffiliation unknown1
Ali MasyharAffiliation unknown1
Nadhira Madania DimartiAffiliation unknown1
Sunusi DaudaAffiliation unknown1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://journal.unnes.ac.id/sju/index.php/edukom/oai, first harvested 5 Nov 2026, last seen 5 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">PEMILIHAN FEATURE DENGAN CHI SQUARE DALAM ALGORITMA NAÏVE BAYES UNTUK KLASIFIKASI BERITA</dc:title>
	<dc:creator>Rahmad, Alfian Nur</dc:creator>
	<dc:creator>Pribadi, Feddy Setio</dc:creator>
	<dc:description xml:lang="en-US">Klasifikasi berita secara manual tidak mungkin   dilakukan. Klasifikasi otomatis banyak dilakukan dengan algoritma naïve   bayes, tetapi jumlah feature kata yang banyak dapat mengurangi akurasi   klasifikasi. Penelitian ini bertujuan untuk mengetahui penerapan, pengaruh   dan nilai recall, precision, f-measure dan akurasi dari pemilihan feature Chi   Square terhadap kinerja algoritma Naïve Bayes untuk mengklasifikasikan teks   berita secara otomatis. Pada penelitian ini diterapkan teknik pemilihan   feature dengan Chi Square dalam Algoritma Naïve Bayes. Data penelitian   diambil dari www.kompas.com sebanyak 1350 buah sebagai data latih dan 150   buah sebagai data uji. Pengujian dilakukan dengan mengklasifikasikan berita   tanpa pemilihan feature Chi Square dan mengklasifikasikan berita dengan menerapkan   pemilihan feature Chi Square dengan taraf nyata α 0.05,   0.01, 0.005, dan 0.001. Selanjutnya akan dievaluasi dengan metode evaluasi   recall, precision, f-measure dan akurasi. Dari klasifikasi berita otomatis   tanpa pemilihan feature yang dilakukan, diperoleh hasil recall 96.67%,   precision 96.75%, f-measure 96.68% dan akurasi 96.67%. Sedangkan klasifikasi   berita dengan pemilihan feature menggunakan chi square pada taraf nyata α   0.05, 0.01, 0.005, dan 0.001 diperoleh hasil yang sama yaitu recall 98%, precision   98%, f-measure 97.99%, dan akurasi 98%. Dari hasil tersebut, dapat diketahui   bahwa pemilihan feature menggunakan chi square dapat mempengaruhi kinerja   algoritma Naïve Bayes untuk mengklasifikasikan berita secara otomatis. Classification of news manually   impossible. Automatic classification lot to do with the naïve Bayes   algorithm, but the number of words that many features can reduce the accuracy   of the classification. This study aims to determine the application,   influence and value of recall, precision, f-measure and accuracy of election   Chi Square feature of the performance Naïve Bayes algorithm to automatically   classify news text. In this study feature selection techniques applied by Chi   Square in Naïve Bayes algorithm. Data were taken from as many as 1350 pieces   www.kompas.com as training data and 150 as test data. Testing is done by   classifying feature election news without Chi Square and classifying news by   applying the Chi Square feature selection with significance level α 0:05, 0:01, 0.005, and 0.001. Next will be evaluated by the evaluation method   of recall, precision, f-measure and accuracy. Automatic classification of   news without selecting a feature that is done, the result recall 96.67%,   96.75% precision, f-measure 96.68% and 96.67% accuracy. While the   classification of news with feature selection using the chi square on the   real level α 0:05, 0:01, 0005, and 0001 obtained the same result,   namely 98% recall, 98% precision, f-measure 97.99%, and accuracy 98%. From   these results, it is known that the selection of the feature using the chi   square can affect the performance Naïve Bayes algorithm to automatically   classify news.  </dc:description>
	<dc:publisher xml:lang="en-US">Jurusan Teknik Elektro Universitas Negeri Semarang</dc:publisher>
	<dc:date>2015-06-01</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unnes.ac.id/sju/edukom/article/view/7823</dc:identifier>
	<dc:identifier>10.15294/edukomputika.v2i1.7823</dc:identifier>
	<dc:source xml:lang="en-US">Edu Komputika Journal; Vol 2 No 1 (2015): Edu Komputika Journal</dc:source>
	<dc:source>2599-297X</dc:source>
	<dc:source>2252-6811</dc:source>
	<dc:source>10.15294/edukomputika.v2i1</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.unnes.ac.id/sju/edukom/article/view/7823/5383</dc:relation>
</oai_dc:dc>