Uses of Class
org.tweetyproject.machinelearning.TrainingSet
-
Uses of TrainingSet in org.tweetyproject.machinelearning
Modifier and TypeMethodDescriptionTrainingSet<S,T>
TrainingSet.getObservations(T cat)
Returns all observations of the given category.static TrainingSet<DefaultObservation,DoubleCategory>
TrainingSet.loadLibsvmTrainingFile(File file)
Loads a training file in LIBSVM syntaxModifier and TypeMethodDescriptionGridSearchParameterLearner.learnParameters(TrainingSet<S,T> trainingSet)
abstract ParameterSet
ParameterTrainer.learnParameters(TrainingSet<S,T> trainingSet)
Learns the best parameters of the given trainer for the training set.double
ClassificationTester.test(Classifier classifier, TrainingSet<S,T> trainingSet)
Measures the performance of the given classifier on the given test set, i.e.abstract double
This methods takes a trainer and a training set and returns the performance (in [0,1]) of the trained classifier on the training set (e.g.double
ParameterTrainer.train(TrainingSet<S,T> trainingSet)
ParameterTrainer.train(TrainingSet<S,T> trainingSet, ParameterSet params)
Trainer.train(TrainingSet<S,T> trainingSet)
Trains a classifier on the given training set.Trainer.train(TrainingSet<S,T> trainingSet, ParameterSet params)
Trains a classifier on the given training set with the given parameters -
Uses of TrainingSet in org.tweetyproject.machinelearning.svm
Modifier and TypeMethodDescriptionMultiClassRbfTrainer.train(TrainingSet<DefaultObservation,DoubleCategory> trainingSet)
MultiClassRbfTrainer.train(TrainingSet<DefaultObservation,DoubleCategory> trainingSet, ParameterSet params)