Uses of Class
org.tweetyproject.machinelearning.TrainingSet
Packages that use TrainingSet
-
Uses of TrainingSet in org.tweetyproject.machinelearning
Methods in org.tweetyproject.machinelearning that return TrainingSetModifier and TypeMethodDescriptionTrainingSet.getObservations
(T cat) Returns all observations of the given category.TrainingSet.loadLibsvmTrainingFile
(File file) Loads a training file in LIBSVM syntaxMethods in org.tweetyproject.machinelearning with parameters of type TrainingSetModifier 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
Methods in org.tweetyproject.machinelearning.svm with parameters of type TrainingSetModifier and TypeMethodDescriptionMultiClassRbfTrainer.train
(TrainingSet<DefaultObservation, DoubleCategory> trainingSet) MultiClassRbfTrainer.train
(TrainingSet<DefaultObservation, DoubleCategory> trainingSet, ParameterSet params)