A
- Model
- public class SimpleModelBuilder extends ModelBuilder<Object,Algorithm,ModelQueryResults>
Modifier and Type | Field and Description |
---|---|
protected boolean |
modelHidden |
protected String[] |
parameters |
alg_reporter, applicationRootReference, model_reporter, referer
targetURI, trainingData
Constructor and Description |
---|
SimpleModelBuilder(org.restlet.data.Reference applicationRootReference,
ModelURIReporter model_reporter,
AlgorithmURIReporter alg_reporter,
boolean isModelHidden,
String referer) |
SimpleModelBuilder(org.restlet.data.Reference applicationRootReference,
ModelURIReporter model_reporter,
AlgorithmURIReporter alg_reporter,
String referer) |
Modifier and Type | Method and Description |
---|---|
protected ModelQueryResults |
createModel(Algorithm algorithm) |
protected PredictedVarsTemplate |
createPredictedTemplate(Algorithm algorithm) |
protected List<Property> |
createProperties(Algorithm algorithm) |
protected String |
getContent(Algorithm algorithm) |
protected String |
getMediaType(Algorithm algorithm) |
protected String |
getName(Algorithm algorithm) |
String[] |
getParameters() |
ModelQueryResults |
process(Algorithm algorithm) |
void |
setParameters(String[] parameters) |
createPropertyFromReference, createPropertyFromReference, getAlgorithmReporter, getApplicationRootReference, getModelReporter, setAlgorithmReporter, setApplicationRootReference, setModelReporter
getTargetURI, getTrainingData, setTargetURI, setTrainingData
protected boolean modelHidden
protected String[] parameters
public SimpleModelBuilder(org.restlet.data.Reference applicationRootReference, ModelURIReporter model_reporter, AlgorithmURIReporter alg_reporter, String referer)
public SimpleModelBuilder(org.restlet.data.Reference applicationRootReference, ModelURIReporter model_reporter, AlgorithmURIReporter alg_reporter, boolean isModelHidden, String referer)
public String[] getParameters()
public void setParameters(String[] parameters)
protected List<Property> createProperties(Algorithm algorithm) throws Exception
Exception
protected String getMediaType(Algorithm algorithm) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected String getContent(Algorithm algorithm) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected String getName(Algorithm algorithm) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected ModelQueryResults createModel(Algorithm algorithm) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected PredictedVarsTemplate createPredictedTemplate(Algorithm algorithm) throws Exception
Exception
public ModelQueryResults process(Algorithm algorithm) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.