TIF_E41253385/api_slearn/artifacts_slearn/metadata_model.json

145 lines
4.1 KiB
JSON

{
"nama_model": "Logistic Regression",
"total_data": 571,
"jumlah_sentimen_negatif": 379,
"jumlah_sentimen_positif": 192,
"jumlah_data_training": 456,
"jumlah_data_testing": 115,
"jumlah_fitur_tfidf": 675,
"akurasi": 0.9304347826086956,
"label_mapping": {
"0": "NEGATIF",
"1": "POSITIF"
},
"confusion_matrix": [
[
70,
6
],
[
2,
37
]
],
"classification_report": {
"0": {
"precision": 0.9722222222222222,
"recall": 0.9210526315789473,
"f1-score": 0.9459459459459459,
"support": 76.0
},
"1": {
"precision": 0.8604651162790697,
"recall": 0.9487179487179487,
"f1-score": 0.9024390243902439,
"support": 39.0
},
"accuracy": 0.9304347826086956,
"macro avg": {
"precision": 0.9163436692506459,
"recall": 0.934885290148448,
"f1-score": 0.9241924851680949,
"support": 115.0
},
"weighted avg": {
"precision": 0.9343219862936748,
"recall": 0.9304347826086956,
"f1-score": 0.9311914247227079,
"support": 115.0
}
},
"split": {
"test_size": 0.2,
"random_state": 42,
"stratify": "label"
},
"preprocessing_order": [
"cleaning",
"case_folding",
"normalisasi",
"koreksi_normalisasi_validator",
"tokenisasi",
"hapus_stopword",
"stemming"
],
"tfidf_parameters": {
"analyzer": "'word'",
"binary": "False",
"decode_error": "'strict'",
"dtype": "<class 'numpy.float64'>",
"encoding": "'utf-8'",
"input": "'content'",
"lowercase": "True",
"max_df": "1.0",
"max_features": "None",
"min_df": "1",
"ngram_range": "(1, 1)",
"norm": "None",
"preprocessor": "None",
"smooth_idf": "True",
"stop_words": "None",
"strip_accents": "None",
"sublinear_tf": "False",
"token_pattern": "'(?u)\\\\b\\\\w\\\\w+\\\\b'",
"tokenizer": "None",
"use_idf": "True",
"vocabulary": "None"
},
"logistic_regression_parameters": {
"C": 1.0,
"class_weight": null,
"dual": false,
"fit_intercept": true,
"intercept_scaling": 1,
"l1_ratio": null,
"max_iter": 1000,
"multi_class": "deprecated",
"n_jobs": null,
"penalty": "l2",
"random_state": null,
"solver": "lbfgs",
"tol": 0.0001,
"verbose": 0,
"warm_start": false
},
"confidence": {
"tersedia": true,
"sumber": "LogisticRegression.predict_proba",
"definisi": "Confidence adalah probabilitas pada kelas yang dipilih sebagai hasil prediksi model.",
"bukan": "Confidence bukan tingkat akurasi atau jaminan prediksi benar.",
"kelas": {
"0": "Probabilitas Negatif",
"1": "Probabilitas Positif"
}
},
"website": {
"training_ulang": false,
"tfidf_fit_ulang": false,
"gunakan_tfidf_transform": true,
"mendukung_prediksi_batch_csv": true,
"mendukung_predict_proba": true
},
"python_version": "3.13.16",
"library_versions": {
"scikit-learn": "1.6.1",
"numpy": "2.1.3",
"scipy": "1.16.3",
"pandas": "2.2.3",
"nltk": "3.9.1",
"Sastrawi": "1.0.1",
"joblib": "1.6.0"
},
"dibuat_pada_utc": "2026-10-08T23:04:35.996842+00:00",
"kamus_sumber_sha256": "ff82815802208fefc93f5ec2582b8b9d0137efb85719da559a6bd4be06f2638f",
"sha256_files": {
"requirements.txt": "669c113634d1c30c04e3a859d2cdfe4da162c1b6926d7248e44bab29608d3adb",
"README.txt": "95a299ee72388f64f2002c91536d770b090aa414b4d771b13d4b8bae2954a0ef",
"stopwords_final.joblib": "86fde7096c19c3e139e3afaecc97d558211001520ee2daef6c72a60df7d58bb0",
"preprocessing_slearn.py": "6797aef8198520720fe8db837346c97304aee2bc1f3870bbf4ac1fdb8b77ec44",
"kamus_alay_sumber.csv": "ff82815802208fefc93f5ec2582b8b9d0137efb85719da559a6bd4be06f2638f",
"tfidf_vectorizer.joblib": "59669b82757eca691cd48d33d39dd52c2ede5bc17724b882bd242782bdbca1d1",
"preprocessing_config.json": "704fa2d507aa2fc9ed5382dc675210dca80c816af921bd16d8ae9b4d4ba18ad0",
"kamus_normalisasi.joblib": "60b7e79bab04401cbd3cbbf2b0920512a37f6e5066aee729710157d16e1203e2",
"model_logistic_regression.joblib": "a7813f5b31ed2aa5e5b413a38bed0ec76e75dde714af93a0f7d1b9741c47f1fc"
}
}