@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.
|
referer
dataset_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, tasksCompleted
compareTo, create, delete, equals, get, getDataset_service, getName, getPage, getPagedReference, getUri, isForbidden, isSelected, object, object, post, post, put, readTextLineAsName, send, send, setName, setSelected, toString, wait, withName
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get, getName, getPage, getUri, isForbidden, isSelected, setSelected, withName
protected 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()
IOTModel
getIndependentVariables
in interface IOTModel
public OTFeatures getDependentVariables()
public OTFeatures getPredictedVariables()
IOTModel
getPredictedVariables
in interface IOTModel
public static OTModel model(String datasetURI, String referer) throws Exception
Exception
public String getCreator()
public OTAlgorithm getAlgorithm()
public OTDataset getTrainingDataset()
public OTModel load(net.idea.restnet.rdf.ns.OT.OTProperty[] varTypes, String referer) throws Exception
Exception
public OTDataset calculateDescriptors(OTDataset inputDataset) throws Exception
IOTModel
calculateDescriptors
in interface IOTModel
Exception
public OTDataset calculateDescriptors(OTFeatures features, OTDataset inputDataset) throws Exception
IOTModel
calculateDescriptors
in interface IOTModel
Exception
public OTDataset subsetWithoutPredictedValues(OTDataset inputDataset) throws Exception
subsetWithoutPredictedValues
in interface IOTModel
Exception
public OTDataset process(OTDataset inputDataset) throws Exception
IOTModel
process
in interface IOTModel
process
in class OTProcessingResource
Exception
public OTDataset predict(OTDataset subsetToCalculate) throws Exception
Exception
public OTRemoteTask processAsync(OTDataset inputDataset) throws Exception
IOTModel
processAsync
in interface IOTModel
processAsync
in class OTProcessingResource
Exception
public OTModel withDatasetService(org.restlet.data.Reference uri) throws Exception
IOTModel
withDatasetService
in interface IOTModel
Exception
public OTModel withDatasetService(String uri) throws Exception
IOTModel
withDatasetService
in interface IOTModel
Exception
public static String getSparql(String name) throws Exception
Exception
public OTModel withParams(org.restlet.data.Form form) throws Exception
withParams
in class OTObject
Exception
public OTModel withParams(String name, String value) throws Exception
withParams
in class OTObject
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.