public class ExternalModelPredictor<C extends ExternalModel> extends ModelPredictor<C,IStructureRecord>
Modifier and Type | Field and Description |
---|---|
protected List<Property> |
predictedProperties |
applicationRootReference, classIndex, filter, header, imageSize, model, modelReporter, propertyReporter, record, structureRequired, targetURI, valuesRequired
Constructor and Description |
---|
ExternalModelPredictor(org.restlet.data.Reference applicationRootReference,
ModelQueryResults model,
ModelURIReporter modelReporter,
PropertyURIReporter propertyReporter,
String[] targetURI) |
Modifier and Type | Method and Description |
---|---|
void |
assignResults(IStructureRecord record,
Object value) |
protected void |
extractRecordID(IStructureRecord target,
String url,
IStructureRecord record) |
String |
getCompoundURL(IStructureRecord target) |
protected boolean |
isSupported(Object predictor) |
Object |
predict(IStructureRecord target) |
IStructureRecord |
process(IStructureRecord target) |
createPredictor, createResultReference, getClassIndex, getHeader, getImage, getImage, getImageSize, getLegend, getModel, getModelReporter, getPredictor, getPropertyReporter, isStructureRequired, isValuesRequired, open, setImageSize, setModelReporter, setPropertyReporter, setStructureRequired, setValuesRequired, toString, writeMessages
close, getConnection, isCloseConnection, isEnabled, setCloseConnection, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled
public ExternalModelPredictor(org.restlet.data.Reference applicationRootReference, ModelQueryResults model, ModelURIReporter modelReporter, PropertyURIReporter propertyReporter, String[] targetURI) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
protected boolean isSupported(Object predictor) throws org.restlet.resource.ResourceException
isSupported
in class ModelPredictor<C extends ExternalModel,IStructureRecord>
org.restlet.resource.ResourceException
protected void extractRecordID(IStructureRecord target, String url, IStructureRecord record) throws net.idea.modbcum.i.exceptions.AmbitException
extractRecordID
in class ModelPredictor<C extends ExternalModel,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
public String getCompoundURL(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
getCompoundURL
in class ModelPredictor<C extends ExternalModel,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
public Object predict(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
predict
in class ModelPredictor<C extends ExternalModel,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
public void assignResults(IStructureRecord record, Object value) throws net.idea.modbcum.i.exceptions.AmbitException
assignResults
in class ModelPredictor<C extends ExternalModel,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
public IStructureRecord process(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
process
in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord>
process
in class ModelPredictor<C extends ExternalModel,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.