public class WekaModelBuilder extends ModelBuilder<weka.core.Instances,Algorithm,ModelQueryResults>
Modifier and Type | Field and Description |
---|---|
protected weka.classifiers.Classifier |
classifier |
protected weka.clusterers.Clusterer |
clusterer |
protected weka.attributeSelection.PrincipalComponents |
pca |
alg_reporter, applicationRootReference, model_reporter, referer
parameters, targetURI, trainingData
Constructor and Description |
---|
WekaModelBuilder(org.restlet.data.Reference applicationRootReference,
ModelURIReporter model_reporter,
AlgorithmURIReporter alg_reporter,
String[] targetURI,
String[] parameters,
String referer) |
Modifier and Type | Method and Description |
---|---|
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.Clusterer clusterer
protected weka.classifiers.Classifier classifier
protected weka.attributeSelection.PrincipalComponents pca
public WekaModelBuilder(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 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.