Classifer results are way off

Chris Kelly <[email protected]> Thu, 5 Sep 2024 16:39:19 +0000 (UTC)
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>
I recently posted a helper library designed to make classifying easier:

https://github.com/TolstoyDotCom/aiaiai

However, using the iris dataset, this is what I get (the library's output):

	For Iris-versicolor, num correct=0. Num incorrectly coded as Iris-virginica=50. Num incorrectly coded as Iris-setosa=0.
	For Iris-virginica, num correct=50. Num incorrectly coded as Iris-versicolor=0. Num incorrectly coded as Iris-setosa=0.
	For Iris-setosa, num correct=34. Num incorrectly coded as Iris-versicolor=1. Num incorrectly coded as Iris-virginica=15. 

It doesn't seem like an off-by-one error since the predicted values are 0, 1, and 2.

The ClassifierBuilder class has the code that builds the model and classifies instances, does it look like I'm doing something wrong?
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html