public class CallableModelPredictor<ModelItem,Predictor extends ModelPredictor,USERID> extends CallableQueryProcessor<Object,IStructureRecord,USERID>
Modifier and Type | Field and Description |
---|---|
protected org.restlet.data.Reference |
applicationRootReference |
protected String |
dataset_service |
protected boolean |
foreignInputDataset |
protected Predictor |
predictor |
protected RDFFileWriter |
rdfFileWriter |
protected String |
tmpFileName |
agent, batch, context, referer, sourceReference, target
logFile, logger, uuid
Constructor and Description |
---|
CallableModelPredictor(org.restlet.data.Form form,
org.restlet.data.Reference appReference,
org.restlet.Context context,
Predictor predictor,
USERID token,
String referer,
org.restlet.data.ClientInfo clientinfo) |
Modifier and Type | Method and Description |
---|---|
protected net.idea.modbcum.i.processors.ProcessorsChain<IStructureRecord,net.idea.modbcum.i.batch.IBatchStatistics,net.idea.modbcum.i.processors.IProcessor> |
createProcessors() |
protected TaskResult |
createReference(Connection connection)
Returns reference to the same dataset, with additional features,
predicted by the model
|
protected Object |
createTarget(org.restlet.data.Reference reference) |
Predictor |
getPredictor() |
protected net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord> |
getValuesReader() |
protected net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord> |
getWriter() |
protected void |
prepareForeignProcessing(org.restlet.data.Reference reference) |
protected net.idea.modbcum.i.batch.IBatchStatistics |
runBatch(Object target) |
void |
setPredictor(Predictor predictor) |
createBatch, doCall, getAgent, getCookies, getQueryObject, getQueryObject, processForm
call, getTaskCategory, getToken, getUuid, setUuid
protected org.restlet.data.Reference applicationRootReference
protected Predictor extends ModelPredictor predictor
protected boolean foreignInputDataset
protected String tmpFileName
protected String dataset_service
protected RDFFileWriter rdfFileWriter
public Predictor getPredictor()
public void setPredictor(Predictor predictor)
protected Object createTarget(org.restlet.data.Reference reference) throws Exception
createTarget
in class CallableQueryProcessor<Object,IStructureRecord,USERID>
Exception
protected void prepareForeignProcessing(org.restlet.data.Reference reference) throws Exception
Exception
protected net.idea.modbcum.i.processors.ProcessorsChain<IStructureRecord,net.idea.modbcum.i.batch.IBatchStatistics,net.idea.modbcum.i.processors.IProcessor> createProcessors() throws Exception
createProcessors
in class CallableQueryProcessor<Object,IStructureRecord,USERID>
Exception
protected net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord> getValuesReader()
protected net.idea.modbcum.i.batch.IBatchStatistics runBatch(Object target) throws Exception
runBatch
in class CallableQueryProcessor<Object,IStructureRecord,USERID>
Exception
protected net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord> getWriter() throws Exception
Exception
protected TaskResult createReference(Connection connection) throws Exception
createReference
in class CallableQueryProcessor<Object,IStructureRecord,USERID>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.