adams.flow.transformer.WekaTrainTestSetClustererEvaluator
Trains a clusterer on an incoming training dataset (from a container) and then evaluates it on the test set (also from a container).
The clusterer setup being used in the evaluation is a callable 'Clusterer' actor.
If a class attribute is set, a classes-to-clusters evaluation is performed automatically
Flow input/output:
- input: adams.flow.container.WekaTrainTestSetContainer
- output: adams.flow.container.WekaClusterEvaluationContainer
Container information:
- adams.flow.container.WekaTrainTestSetContainer:
- Train: training set; weka.core.Instances
- Test: test set; weka.core.Instances
- Seed: seed value; java.lang.Long
- FoldNumber: current fold (1-based); java.lang.Integer
- FoldCount: total number of folds; java.lang.Integer
- Train original indices: original indices (0-based, train); array of int
- Test original indices: original indices (0-based, test); array of int
- adams.flow.container.WekaClusterEvaluationContainer:
- Evaluation: cluster evaluation object; weka.clusterers.ClusterEvaluation
- Model: cluster model; java.lang.Object
- Log-likelohood: log likelihood of cross-validation; java.lang.Double
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | WekaTrainTestSetClustererEvaluator |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
The callable clusterer actor to train and evaluate on the test data.
command-line | -clusterer <adams.flow.core.CallableActorReference> |
default | WekaClustererSetup |
If enabled, the clusterer model is output as well.
command-line | -output-model <boolean> |
default | false |