public class CallableWekaModelCreator<USERID> extends CallableModelCreator<weka.core.Instances,weka.core.Instance,FilteredWekaModelBuilder,USERID>
algorithm, annotationsWriter, builder, model, newModel
agent, batch, context, referer, sourceReference, target
logFile, logger, uuid
Constructor and Description |
---|
CallableWekaModelCreator(org.restlet.data.Form form,
org.restlet.data.Reference applicationRootReference,
org.restlet.Context context,
Algorithm algorithm,
ModelURIReporter<net.idea.modbcum.i.IQueryRetrieval<ModelQueryResults>> reporter,
AlgorithmURIReporter alg_reporter,
USERID token,
String referer,
org.restlet.data.ClientInfo clientinfo) |
Modifier and Type | Method and Description |
---|---|
protected net.idea.modbcum.p.batch.AbstractBatchProcessor |
createBatch(Object target) |
protected ModelQueryResults |
createModel() |
protected TaskResult |
createReference(Connection connection)
Writes the model into database and returns a reference
|
protected Object |
createTarget(org.restlet.data.Reference reference) |
createProcessors, getBuilder, getModel, getUser, setBuilder, writeAnnotations
doCall, getAgent, getCookies, getQueryObject, getQueryObject, processForm, runBatch
call, getTaskCategory, getToken, getUuid, setUuid
public CallableWekaModelCreator(org.restlet.data.Form form, org.restlet.data.Reference applicationRootReference, org.restlet.Context context, Algorithm algorithm, ModelURIReporter<net.idea.modbcum.i.IQueryRetrieval<ModelQueryResults>> reporter, AlgorithmURIReporter alg_reporter, USERID token, String referer, org.restlet.data.ClientInfo clientinfo)
uri
- Dataset URIapplicationRootReference
- URI of the application root (e.g. http://myhost:8080/ambit2)application
- AmbitApplicationalgorithm
- Algorithmreporter
- ModelURIReporter (to generate model uri)protected net.idea.modbcum.p.batch.AbstractBatchProcessor createBatch(Object target) throws Exception
createBatch
in class CallableQueryProcessor<Object,weka.core.Instance,USERID>
Exception
protected TaskResult createReference(Connection connection) throws Exception
CallableModelCreator
createReference
in class CallableModelCreator<weka.core.Instances,weka.core.Instance,FilteredWekaModelBuilder,USERID>
Exception
protected Object createTarget(org.restlet.data.Reference reference) throws Exception
createTarget
in class CallableQueryProcessor<Object,weka.core.Instance,USERID>
Exception
protected ModelQueryResults createModel() throws Exception
createModel
in class CallableModelCreator<weka.core.Instances,weka.core.Instance,FilteredWekaModelBuilder,USERID>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.