public class FilteredWekaModelBuilder extends ModelBuilder<weka.core.Instances,Algorithm,ModelQueryResults>
Modifier and Type | Field and Description |
---|---|
protected weka.classifiers.meta.FilteredClassifier |
fclassifier |
protected weka.clusterers.FilteredClusterer |
fclusterer |
protected weka.attributeSelection.PrincipalComponents |
pca |
alg_reporter, applicationRootReference, model_reporter, referer
parameters, targetURI, trainingData
Constructor and Description |
---|
FilteredWekaModelBuilder(org.restlet.data.Reference applicationRootReference,
ModelURIReporter model_reporter,
AlgorithmURIReporter alg_reporter,
String[] targetURI,
String[] parameters,
String referer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasCapability(weka.core.Capabilities.Capability cpb) |
ModelQueryResults |
process(Algorithm algorithm) |
protected void |
serializeModel(Object predictor,
weka.core.Instances newInstances,
ModelQueryResults m) |
protected boolean |
supportsDistribution(weka.classifiers.Classifier classifier)
TODO - verify via reflection, not fixed check
|
createPropertyFromReference, createPropertyFromReference, getAlgorithmReporter, getApplicationRootReference, getModelReporter, setAlgorithmReporter, setApplicationRootReference, setModelReporter
getTargetURI, getTrainingData, setTargetURI, setTrainingData
protected weka.clusterers.FilteredClusterer fclusterer
protected weka.classifiers.meta.FilteredClassifier fclassifier
protected weka.attributeSelection.PrincipalComponents pca
public FilteredWekaModelBuilder(org.restlet.data.Reference applicationRootReference, ModelURIReporter model_reporter, AlgorithmURIReporter alg_reporter, String[] targetURI, String[] parameters, String referer)
public ModelQueryResults process(Algorithm algorithm) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected boolean hasCapability(weka.core.Capabilities.Capability cpb)
protected boolean supportsDistribution(weka.classifiers.Classifier classifier)
classifier
- protected void serializeModel(Object predictor, weka.core.Instances newInstances, ModelQueryResults m) throws IOException
IOException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.