• Tidak ada hasil yang ditemukan

A. T. Zy and A. Nugroho (2018), “Comparison Algorithm Classification Naive Bayes, Decision Tree, And Neural Network For Analysis Sentiment,”

Int. Conf. Econ. Business, Account., vol. 1, no. c, pp. 115–115.

Amrane, M., Oukid, S., Gagaoua, I. & Ensari, T. (2018), “ Classification of Breast Cancer Using Machine Learning”. IEEE Electric Electronics, Computer Science, Biomedical Engineerings' Meeting (EBBT), p. 115-116.

Djiwandono, & Istiarto, P. (2015). Meneliti itu Tidak Sulit: Metodologi Penelitian Sosial dan Pendidikan Bahasa. (Deepublish, Ed.). Yogyakarta.

Iqbal, Farkhund., Maqbool Hashmi, Jahanzeb & CM Fung, Benjamin. (2019) A Hybrid Framework for Sentiment Analysis Using Genetic Algorithm Based Feature Reduction, IEEE Access. vol 7, pp 14637 - 14652 , 2019.https://doi.org/ 10.1109/ACCESS.2019.2892852

J. Chen, H. Huang, S. Tian, and Y. Qu, (2009) “Feature selection for text Classification with Naïve Bayes,” Expert Syst. Appl., vol. 36, no. 3 PART 1, pp. 5432–5435.

Jaafar, H., Mukahar, N., & Ramli, D.A. (2016). Methodology of Nearest Neighbor:

Desain and Comparison of Biometric Image Database. IEEE Student Conference on Research and Development (SCOReD) : 1-6.

Kang, M. (2018). Machine Learning: Anomaly Detection. Prognostics and Health Management of Electronics: Fundamentals, Machine Learning, and Internet of Things (handbook) : 131-162.

Kang, M. & Jameson, N.J. (2018). Machine Learning: Fundamentals. Prognostics and Health Management of Electronics: Fundamentals, Machine Learning, and Internet of Things (handbook) : 85-109.

Kaushik H Raviya & Biren Gajjar, (2013). Performance evaluation of different data mining Classification algorithm using weka. Global journal for research analysis. Volume 2, issue 1

Kavitha, J.C. & Suruliandi, A. (2016). Texture and Color Feature Extraction for Classification of Melanoma using SVM. IEEE International Conference on Computing Technologies and Intelligent Data Engineering (ICCTIDE'16) :1-6.

Khan, M.R., Padhi, S.K., Sahu, B.N., & Sehera, S. (2015). Non Stationary Signal Analysis and Classification using FTT Transform and Naïve Bayes Classifier. IEEE Power Communication and Information Technology Conference (PCITC) : 1-6.

Kinjo, H., Oshiro, N., & Duong, S.C. (2015). Fruit Maturity Detection using Neural Network and an Odor Sensor. IEEE 10th Asian Control Conference (ASCC) :1-4.

Kurniawan, D., & Nugroho, C. (2019). Sistem Pendukung Keputusan Dalam Penilaian Prestasi Kerja Menggunakan Fuzzy-AHP Dan SAW.

Cyberspace: Jurnal Pendidikan Teknologi Informasi, 3(2).

https://doi.org/10.22373/cj.v3i2.5359

Kusumadewi, S., & Purnomo, H. (2004). Aplikasi Logika Fuzzy untuk Pendukung Keputusan. Graha Ilmu, Yogyakarta.

Kusrini dan E. T. Luthfi. (2009). Algoritma Data Mining. Edisi 1. Yogyakarta: C.V Andi Offset.

Lei, W. & Zhaowei, L. (2017). Research on the Humanlike Trajectories Control of Robots Based on the K-Nearest Neighbors. IEEE Chinese Automation Congress (CAC) : 7746-7751.

Lionnie, R. & Alaydrus, M. (2017). A Comparison of Human Skin Color Detection for Biometric Identification. IEEE International Conference on Broadband Communication, Wireless Sensors and Powering (BCWSP) : 1-5.

Mesran, M., Afriany, J., & Sahir, S. H. (2019). Efektifitas Penilaian Kinerja Karyawan Dalam Peningkatan Motivasi Kerja Menerapkan Metode Rank Order Centroid (ROC) dan Additive Ratio Assessment (ARAS).

Prosiding Seminar Nasional Riset Information Science (SENARIS), 1, 813. https://doi.org/10.30645/senaris.v1i0.88

Mulak, P. & Talhar, N. (2015). Analysis of Distance Measures Using K-Nearest Neighbor Algorithm on KDD Dataset. International Journal of Science adn Research (IJSR) 4(7) : 2101-2104.

Muhammad Ihsan Zul , (2015). Perbandingan Akurasi k-NN dan Naïve Bayes untuk Algoritma Sistem Prediksi Nilai Akhir Mahasiswa. Retrieved from http://j-ptiik.ub.ac.id e-ISSN: 2638-523X.

Nayak, A. & Dutta, K. (2017). Impacts of Machine Learning and Artificial Intelligence on Mankind. International Conference on Intelligent Computing and Control (I2C2) : 1-3.

Netti, K. & Radhika, Y. (2015). A Novel Method for Minimizing Loss of Accuracy in Naïve Bayes Classifier. IEEE International Conference on Computational Intelligence and Computing Research (ICCIC) : 1-4.

Novakovic, Jasmina Dj., Veljovic A., Illic S.S., Papic Z., Tomovic M. (2017).

Evaluation of Classification Models in Machine Learning. Theory and Applications of Mathematics & Computer Science 1(1) : 39-46

N. W. S. Saraswati, (2013) “Naïve Bayes Classifier Dan Support Vector Machines Untuk Sentiment Analysis,” Semin. Nas. Sist. Inf. Indones., pp. 586–591.

Nugroho Eko., (2011). Perancangan Sistem Deteksi Plagiarisme Dokumen Teks Dengan Menggunakan Algoritma Robin-Karp. Jurnal. Program Studi Ilmu Komputer. Fakultas Matematika dan Ilmu Pengetahuan Alam.

Universitas Brawijaya Malang.

O. Somantri, D. Apriliani, J. T. Informatika, P. Harapan, and B. Tegal, (2018). “ Support Vector Machine Based on Feature Selection for Sentiment Analysis Customer Satisfaction with Support Vector Services”. Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK).

Pan, D., Zhao, Z., Zhang, L., & Tang, C. (2017). Recursive Clustering K-Nearest Neighbors Algorithm and the Application in the Classification of Power Quality Disturbance. IEEE Conference on Energy Internet and Energy System Integration (EI2) : 1-5

Pandit, S. & Gupta, S. A. December (2011). Comparative Study on Distance Measuring Approaches for Clustering. International Journal of Research in sComputer Science 2(1): pp. 29-31, 142-152.

Pothen, Z.S. & Nuske, S. (2016). Texture-based Fruit Detection via Images using the Smooth Patterns of the Fruit. IEEE International Conference on Robotics and Automation (ICRA) : 5171-5176.

R. Wati, (2016). “Penerapan Genetic Algorithm Untuk Seleksi Fitur Pada Analisis Sentimen Review Jasa Maskapai Penerbangan MenggNaiveBayes,”

Evolusi, vol. 4, no. 1, pp. 25–31.

Rivki, M. (2017). Implementasi AlgoritmaK-Nearest Neighbor dalam pengklasifikasian follower twitter yang menggunakan bahasa Indonesia.

Skripsi, Universitas Komputer Indonesia

Riyan Eko Putri , (2014). Perbandingan metode klasifikasi Naïve Bayes Dan k-nearest neighbor pada analisis data status kerja Di kabupaten demak tahun 201. http://ejournal-s1.undip.ac.id/index.php/gaussian

R. Moraes, J. F. Valiati, and W. P. Gavião Neto, (2013). “Document-level sentiment Classification: An empirical comparison between SVM and ANN,” Expert Syst. Appl., vol. 40, no. 2, pp. 621–633

Sahu, hemlata.., dkk. (2012). “A brief overview on data mining survey”.

International Journal Computer Techonology and Electronics Engineering (IJCTEE) Volume 1, Issue 3. Hal 114-121.

Semuel Istia, Sean & Dwi Purnomo, Hindriyanto.(2018), “ A Sentiment Analysis of Law Enforcement Performance Using Support Vector Machine and K-Nearest Neighbor” , 3rd International Conference on Information Technology, Information System and Electrical Engineering (ICITISEE). https://doi.org/ 10.1109/ICITISEE.2018.8720969

Sinaga, Ardiles dan Murnawan , (2017). Decision Support System Model Analysis for Proposed Activities on Development Planning Forum In District Level. IEEE. doi 10.1109_CITSM.2016.7577522.

https://doi.org/10.1145/986213.986216

Seth, H.R. & Banka, H. (2016). Hardware Implementation of Naïve Bayes Classifier: A Cost Effective Technique. IEEE 3rd International Conference on Recent Advances in Information Technology (RAIT) : 1-4.

Srisuan, J. & Hanskunatai, A. (2014). The Ensemble of Naïve Bayes Classifiers for Hotel Searching. IEEE International Computer Science and Engineering Conference (ICSEC) : 168-173.

Tan, P., Steinbach M., & Kumar V, (2006). Introduction to data mining.Pearson Education,Inc : USA.

The Lion, Ardiles and Murnawan (2017). “Analysis of Decision Support System Models for Proposed Activities at the District Level Development Planning Forum”, IEEE Conference on Energy Internet and Energy System Integration (EI2). https://doi.org/10.1109/CITSM.2016.577522 U. Yaqub, S. A. Chun, V. Atluri, and J. Vaidya, (2017) ―Sentiment based Analysis

of Tweets during the US Presidential Elections,‖ Present. Proc. 18th Annu. Int. Conf. Digit. Gov. Res., pp. 149–156.

Vinodhini, G. And RM. Chandrasekaran , (2012). “Sentiment Analysis and Opinion Mining: A Survey”. International Journal of Advanced Research in Computer Science and Software Engineering, Vol.2, No.6, pp.283-292 Wang, K. & Shang, W. (2017). Outcome Prediction of DOTA2 Based on Naïve

Bayes Classifier. IEEE/ACIS 16th International Conference on Computer and Information Science (ICIS) : 591-593.

Wang, X., He, Y., & Wang, D.D. (2014). Non-Naïve Bayesian Classifiers for Classification Problems with Continuous Attributes. IEEE Transactions on Cybernetics, Vol. 44, No. 1 : 21-39.

Wang, Y., Wang, J., Cheng, W., Zhao, Z., & Cao, J. (2014). HPLC Method For the Simultaneous Quantification of the Major Organic Acids in Angeleno Plum Fruit. Global Conference on Polymer and Composite Materials, IOP Conf. Series: Materials Science and Engineering : 1-6.

X. Bai, X. Gao, and B. Xue, (2018). “Particle Swarm Optimization Based Two-Stage Feature Selection in Text Mining,” 2018 IEEE Congr. Evol.

Comput. CEC 2018 - Proc., pp. 1–8.

Xiao, Q., Niu, W., & Zhang, H. (2015). Predicting Fruit Maturity Stage Dynamically Based of Fuzzy Recognition and Color Feature. IEEE 6th International Conference on Software Engineering and Service Science (ICSESS) : 944-948.

Y. Cahyono, (2017). “Analisis Sentiment Pada Sosial Media Twitter Menggunakan Naїve Bayes Classifier Dengan Feature Selection Particle Swarm Optimization Dan Term Frequenc,” J. Inform. Univ. Pamulang, vol. 2, pp. 14-19.

Y. T. Arifin, (2016) “Komparasi Fitur Seleksi Pada Algoritma Support Vector Machine Untuk Analisis Sentimen Review,” J. Inform. UBSI, vol. 3, no.

September, pp. 191–199.

Zhang, D., Zhao, J. L., Zhou, L., & Nunamaker, J. F. (2004). Can e-learning replace Classroom learning? Communications of the ACM.

library(rtweet)

## store api keys (these are fake example values; replace with your own keys) api_key <- "NJrF9CgvH7GAijq5R53qyo2su"

api_secret_key <- "7xfRNSFOkDIiRUToPcbW7n1pSxSSKeNSueXRJombQBrTdx6ePB"

## authenticate via web browser token <- create_token(

app = "test_bd_upnvj", consumer_key = api_key,

consumer_secret = api_secret_key)

#Cari tweet tentang topik pilihan Anda,

#persempit jumlah tweet yang diinginkan dan putuskan untuk memasukkan retweet atau tidak.

kata <- search_tweets("#VACCINE", n=1000, include_rts = FALSE) kata

#Proses setiap set tweet menjadi teks rapi atau objek corpus.

tweet.Kata = kata %>% select(screen_name, text) tweet.Kata

head(tweet.Kata$text)

#menghapus element http

tweet.Kata$stripped_text1 <- gsub("http\\S+","",tweet.Kata$text)

#gunakan fungsi unnest_tokens() untuk konversi menjadi huruf kecil

#hapus tanda baca, dan id untuk setiap tweet tweet.Kata_stem <- tweet.Kata %>%

select(stripped_text1) %>%

unnest_tokens(word, stripped_text1) head(tweet.Kata_stem)

#hapus kata-kata stopwords dari daftar kata-kata cleaned_tweets.Kata <- tweet.Kata_stem %>%

anti_join(stop_words) head(cleaned_tweets.Kata)

head(tweet.Kata$text)

#1000 kata teratas di tweet #VACCINE cleaned_tweets.Kata %>%

count(word, sort = TRUE) %>%

top_n(1000) %>%

mutate(word = reorder(word, n)) %>%

ggplot(aes(x=word, y = n)) +

#Untuk melakukan analisis sentimen menggunakan Bing di tweet VACCINE,

#perintah berikut ini mengembalikan sebuah tibble.

bing_kata = cleaned_tweets.Kata %>% inner_join(get_sentiments("bing")) %>%

count(word, sentiment, sort = TRUE) %>% ungroup()

#visualisasi jumlah kata,

#Anda dapat memfilter dan memplot kata-kata bersebelahan untuk membandingkan

#emosi positif dan negatif.

bing_kata %>% group_by(sentiment) %>% top_n(10) %>% ungroup() %>%

mutate(word = reorder(word, n)) %>% ggplot(aes(word, n, fill = sentiment))+

geom_col(show.legend = FALSE) + facet_wrap(~sentiment, scales = "free_y") + labs(title = "Tweets containing '#COVID19'", y = "Contribution to sentiment", x = NULL) + coord_flip() + theme_bw()

#Fungsi untuk mendapatkan skor sentimen untuk setiap tweet sentiment_bing = function(twt){

twt_tbl = tibble(text = twt) %>%

mutate(

stripped_text = gsub("http\\S+","",text) )%>%

unnest_tokens(word, stripped_text) %>%

anti_join(stop_words) %>%

inner_join(get_sentiments("bing")) %>%

count(word,sentiment, sort = TRUE) %>%

ungroup() %>%

#buat kolom "skor", yang menetapkan -1 untuk semua kata negatif, #dan 1 untuk kata positif

#menghitung total score sent.score = case_when(

nrow(twt_tbl)==0~0, #jika tidak ada kata, skor adalah 0

nrow(twt_tbl)>0~sum(twt_tbl$score) #selainnya, jumlah positif dan negatif )

#untuk melacak tweet mana yang tidak mengandung kata sama sekali dari daftar bing zero.type = case_when(

nrow(twt_tbl)==0~"Type 1", #Type 1: tidak ada kata sama sekali, zero = no nrow(twt_tbl)>0~"Type 2" #Type 2: nol berarti jumlah kata = 0

)

list(score = sent.score, type = zero.type, twt_tbl = twt_tbl) }

#menerapkan fungsi

#Fungsi lapply mengembalikan list semua skor sentimen, jenis, dan tabel tweet kata_sent = lapply(kata$text, function(x){sentiment_bing(x)})

kata_sent

#membuat tibble yang menentukan kata, skor, dan jenisnya kata_sentiment = bind_rows(tibble(kata = '#VACCINE', score = unlist(map(kata_sent, 'score')), type = unlist(map(kata_sent, 'type'))))

#kita dapat melihat beberapa karakteristik sentimen di setiap kelompok.

#Berikut adalah histogram sentimen tweet.

ggplot(kata_sentiment, aes(x=score, fill = kata)) +

geom_histogram(bins = 15, alpha= .6) + facet_grid(~kata) + theme_bw()

Dokumen terkait