Skip to content

Instantly share code, notes, and snippets.

@defrindr
Last active August 9, 2023 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save defrindr/cf60d6c746f1c2c4d4f618db3a70c377 to your computer and use it in GitHub Desktop.
Save defrindr/cf60d6c746f1c2c4d4f618db3a70c377 to your computer and use it in GitHub Desktop.
Jumlah data = 15
TP + FP + FN = 15
Akurasi Iterasi ke-1 = 73.33333333333333
recall = 11 / (11 + 2) = 0.8461538461538461
precition = 11 / (11 + 2) = 0.8461538461538461
F-measure = 2 * (precision * recall) / (precision + recall) = 0.8461538461538461
--------------------
Jumlah data = 15
TP + FP + FN = 15
Akurasi Iterasi ke-2 = 26.666666666666668
recall = 4 / (4 + 2) = 0.6666666666666666
precition = 4 / (4 + 9) = 0.3076923076923077
F-measure = 2 * (precision * recall) / (precision + recall) = 0.42105263157894735
--------------------
Jumlah data = 15
TP + FP + FN = 15
Akurasi Iterasi ke-3 = 80.0
recall = 12 / (12 + 1) = 0.9230769230769231
precition = 12 / (12 + 2) = 0.8571428571428571
F-measure = 2 * (precision * recall) / (precision + recall) = 0.888888888888889
--------------------
Jumlah data = 15
TP + FP + FN = 15
Akurasi Iterasi ke-4 = 73.33333333333333
recall = 11 / (11 + 2) = 0.8461538461538461
precition = 11 / (11 + 2) = 0.8461538461538461
F-measure = 2 * (precision * recall) / (precision + recall) = 0.8461538461538461
--------------------
Jumlah data = 18
TP + FP + FN = 18
Akurasi Iterasi ke-5 = 55.55555555555556
recall = 10 / (10 + 4) = 0.7142857142857143
precition = 10 / (10 + 4) = 0.7142857142857143
F-measure = 2 * (precision * recall) / (precision + recall) = 0.7142857142857143
--------------------
--------------------
Avg Akurasi = 61.77777777777777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment