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