Package | Description |
---|---|
net.sf.tweety.machinelearning | |
net.sf.tweety.machinelearning.svm |
Modifier and Type | Class and Description |
---|---|
class |
GridSearchParameterLearner<S extends Observation,T extends Category>
A grid-search approach for learning parameters.
|
class |
ParameterTrainer<S extends Observation,T extends Category>
Performs a parameter training on a given trainer, i.e.
|
Modifier and Type | Field and Description |
---|---|
private Trainer<S,T> |
ParameterTrainer.trainer
The trainer for which we seek the best parameters.
|
Modifier and Type | Method and Description |
---|---|
protected Trainer<S,T> |
ParameterTrainer.getTrainer()
Returns the trainer of this parameter trainer.
|
Modifier and Type | Method and Description |
---|---|
abstract double |
ClassificationTester.test(Trainer<S,T> trainer,
TrainingSet<S,T> trainingSet)
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 |
CrossValidator.test(Trainer<S,T> trainer,
TrainingSet<S,T> trainingSet) |
Constructor and Description |
---|
GridSearchParameterLearner(Trainer<S,T> trainer,
ClassificationTester<S,T> tester,
int depth,
int partitions)
Creates a new grid-search parameter learner with the given arguments.
|
ParameterTrainer(Trainer<S,T> trainer)
Creates a new parameter trainer for the given trainer.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiClassRbfTrainer
Trains a standard multi-class RBF support vector machine.
|