@Deprecated public class OTModel extends OTProcessingResource implements IOTModel
://opentox.org/dev/apis/api-1.1/Model| Modifier and Type | Field and Description |
|---|---|
protected OTAlgorithm |
algorithm
Deprecated.
|
protected String |
creator
Deprecated.
|
protected OTFeatures |
dependentVariables
Deprecated.
|
protected String |
endpointName
Deprecated.
|
protected String |
endpointURI
Deprecated.
|
protected OTFeatures |
independentVariables
Deprecated.
|
protected OTFeatures |
predictedVariables
Deprecated.
|
protected boolean |
supportsPredictedVarURI
Deprecated.
|
protected OTDataset |
trainingData
Deprecated.
|
refererdataset_service, forbidden, form, name, pollInterval, pollTimeout, selected, service, uri| Constructor and Description |
|---|
OTModel(String ref,
String referer)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
OTDataset |
calculateDescriptors(OTDataset inputDataset)
Deprecated.
Identify which descriptors are used as independent variables and have valid ot:algorithm entry
and run the calculations
|
OTDataset |
calculateDescriptors(OTFeatures features,
OTDataset inputDataset)
Deprecated.
Run descriptor calculations for specified set of features
|
OTAlgorithm |
getAlgorithm()
Deprecated.
|
String |
getCreator()
Deprecated.
|
OTFeatures |
getDependentVariables()
Deprecated.
|
String |
getEndpointName()
Deprecated.
|
String |
getEndpointURI()
Deprecated.
|
OTFeatures |
getIndependentVariables()
Deprecated.
Independent variables
|
OTFeatures |
getPredictedVariables()
Deprecated.
Predicted variables
|
static String |
getSparql(String name)
Deprecated.
|
OTDataset |
getTrainingDataset()
Deprecated.
|
boolean |
isSupportsPredictedVarURI()
Deprecated.
|
OTModel |
load()
Deprecated.
|
OTModel |
load(net.idea.restnet.rdf.ns.OT.OTProperty[] varTypes,
String referer)
Deprecated.
Reads RDF and initializes variables
|
static OTModel |
model(String datasetURI,
String referer)
Deprecated.
|
OTDataset |
predict(OTDataset subsetToCalculate)
Deprecated.
|
OTDataset |
process(OTDataset inputDataset)
Deprecated.
Synchronous processing
|
OTRemoteTask |
processAsync(OTDataset inputDataset)
Deprecated.
Initiate asyncronous processing of the dataset
|
String |
report(String ontologyURI)
Deprecated.
|
void |
setEndpointName(String endpointName)
Deprecated.
|
void |
setEndpointURI(String endpointURI)
Deprecated.
|
void |
setSupportsPredictedVarURI(boolean supportsPredictedVarURI)
Deprecated.
|
OTDataset |
subsetWithoutPredictedValues(OTDataset inputDataset)
Deprecated.
|
OTObject |
withAlgorithm(String url)
Deprecated.
|
OTObject |
withCreator(String name)
Deprecated.
|
OTModel |
withDatasetService(org.restlet.data.Reference uri)
Deprecated.
Specify which dataset service to use for results
|
OTModel |
withDatasetService(String uri)
Deprecated.
Specify which dataset service to use for results
|
OTModel |
withParams(org.restlet.data.Form form)
Deprecated.
|
OTModel |
withParams(String name,
String value)
Deprecated.
|
OTObject |
withTrainingData(String url)
Deprecated.
|
taskResults, tasksCompletedcompareTo, create, delete, equals, get, getDataset_service, getName, getPage, getPagedReference, getUri, isForbidden, isSelected, object, object, post, post, put, readTextLineAsName, send, send, setName, setSelected, toString, wait, withNameclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, getName, getPage, getUri, isForbidden, isSelected, setSelected, withNameprotected String endpointName
protected boolean supportsPredictedVarURI
protected String endpointURI
protected OTFeatures independentVariables
protected String creator
protected OTDataset trainingData
protected OTAlgorithm algorithm
protected OTFeatures dependentVariables
protected OTFeatures predictedVariables
public boolean isSupportsPredictedVarURI()
public void setSupportsPredictedVarURI(boolean supportsPredictedVarURI)
public String getEndpointName()
public void setEndpointName(String endpointName)
public String getEndpointURI()
public void setEndpointURI(String endpointURI)
public OTFeatures getIndependentVariables()
IOTModelgetIndependentVariables in interface IOTModelpublic OTFeatures getDependentVariables()
public OTFeatures getPredictedVariables()
IOTModelgetPredictedVariables in interface IOTModelpublic static OTModel model(String datasetURI, String referer) throws Exception
Exceptionpublic String getCreator()
public OTAlgorithm getAlgorithm()
public OTDataset getTrainingDataset()
public OTModel load(net.idea.restnet.rdf.ns.OT.OTProperty[] varTypes, String referer) throws Exception
Exceptionpublic OTDataset calculateDescriptors(OTDataset inputDataset) throws Exception
IOTModelcalculateDescriptors in interface IOTModelExceptionpublic OTDataset calculateDescriptors(OTFeatures features, OTDataset inputDataset) throws Exception
IOTModelcalculateDescriptors in interface IOTModelExceptionpublic OTDataset subsetWithoutPredictedValues(OTDataset inputDataset) throws Exception
subsetWithoutPredictedValues in interface IOTModelExceptionpublic OTDataset process(OTDataset inputDataset) throws Exception
IOTModelprocess in interface IOTModelprocess in class OTProcessingResourceExceptionpublic OTDataset predict(OTDataset subsetToCalculate) throws Exception
Exceptionpublic OTRemoteTask processAsync(OTDataset inputDataset) throws Exception
IOTModelprocessAsync in interface IOTModelprocessAsync in class OTProcessingResourceExceptionpublic OTModel withDatasetService(org.restlet.data.Reference uri) throws Exception
IOTModelwithDatasetService in interface IOTModelExceptionpublic OTModel withDatasetService(String uri) throws Exception
IOTModelwithDatasetService in interface IOTModelExceptionpublic static String getSparql(String name) throws Exception
Exceptionpublic OTModel withParams(org.restlet.data.Form form) throws Exception
withParams in class OTObjectExceptionpublic OTModel withParams(String name, String value) throws Exception
withParams in class OTObjectExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.