|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectace.datatypes.CrossValidationResults
public class CrossValidationResults
Holds the results of a cross validation.
Each cross validation will have one CrossValidationResults object. Every Experimenter will have an array of arrays of CrossValidationResults objects, one object for each cross validation of each classifier for each type of dimensionality reduction. This class has one method that is called by Experimenter to instantiate an array of CrossValidationResults objects. This method will be called once for each type of dimensionality reduction and will create an array with a length equal to the number of classifiers being tested. When a single cross validation is being performed, Coordinator creates an array of CrossValidationResults objects of size 1 to be passed to CrossValidator.
Field Summary | |
---|---|
java.lang.String |
classifier_descriptions
The type of classifier or classification algorithm being used for this cross validation. |
double |
cross_val_times
The time (in minutes) that it took for the cross validation to finish. |
java.lang.String |
cross_validation_confusion_matrices
A table displaying the distribution of correct and incorrect instances. |
double |
error_rates
The average error rate of this cross validation. |
double |
standard_deviation
The standard deviation of error rates across folds. |
TrainedModel |
trained
The serializable object containing reference to the Weka objects that were use for classification in this cross validation. |
Constructor Summary | |
---|---|
CrossValidationResults()
|
Method Summary | |
---|---|
static CrossValidationResults[] |
generateArray(java.util.LinkedList<java.lang.String> classifier_descriptions_list)
Instantiates an array of CrossValidationResults objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public TrainedModel trained
public java.lang.String cross_validation_confusion_matrices
public java.lang.String classifier_descriptions
public double error_rates
public double cross_val_times
public double standard_deviation
Constructor Detail |
---|
public CrossValidationResults()
Method Detail |
---|
public static CrossValidationResults[] generateArray(java.util.LinkedList<java.lang.String> classifier_descriptions_list)
classifier_descriptions_list
- A LinkedList of Strings describing each
classifier being used in the experimentation.
The length of this list will also be the
number of classifiers that are being
tested in this experimentation.
There will be as many cross validations
as there are classifiers therefore the
generated array of CrossValidationResults
will be the same as the size of this list.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |