12/27/2022 0 Comments Install weka on mac command lineIn this case, taken directly from a test dataset where all class attributes were marked by "?", the "actual" column, which can be ignored, simply states that each class belongs to an unknown class. Sample output: inst# actual predicted error prediction Note that if the actual class label is always "?" (i.e., the dataset does not include known class labels), the error column will always be empty. Where "+" occurs only for those items that were mispredicted. The format of the output is as follows: : : Sample command line: java 48 -T unclassified.arff -l j48.model -p 0 (Note that if the test class contains simply '?' for the class label for each instance, the "actual" class label for each instance will not contain useful information, but the predicted class label will.) The -T command-line switch specifies the dataset of instances whose classes are to be predicted, while the -p switch allows the user to write out a range of attributes (examples: "1-2" for the first and second attributes, or "0" for no attributes). The output will contain both the actual and predicted class. ClassifiersĪfter a model has been saved, one can make predictions for a test set, whether that set contains valid class values or not. The following sections show how to obtain predictions/classifications without writing your own Java code via the command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |