Package overit.geocallapp.wfm.ai.rs.v1
Class RequestJobParams
java.lang.Object
overit.geocallapp.wfm.ai.rs.v1.RequestJobParams
Class containing all the possibile params for AI Api.
- Since:
- 13.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAlgorithm to use Example : duration_1.0getFile()S3 uri to the file used for trainingInstance-type to run on.getModel()Resulting model name Example : model_duration_1_0if true the model will be trained from scratch, otherwise an incremental training will be performed default: falselongTimeout to apply to the task.It can't be greater than the global one,this is only to limit it.if true the hyperparameters will be tunedbooleanbooleanisSync()If True the prediction is synchronous, if False the prediction is asynchronous
-
Field Details
-
algorithm
-
model
-
file
-
instanceType
-
resetModel
-
timeout
protected long timeout -
tuneHyperparameters
-
sync
protected boolean sync -
queryId
-
indexId
-
resultId
-
isRelevant
protected boolean isRelevant -
language
-
-
Constructor Details
-
RequestJobParams
-
-
Method Details
-
isSync
public boolean isSync()If True the prediction is synchronous, if False the prediction is asynchronous -
getAlgorithm
Algorithm to use Example : duration_1.0- Returns:
-
getModel
Resulting model name Example : model_duration_1_0- Returns:
-
getFile
S3 uri to the file used for training- Returns:
-
getInstanceType
Instance-type to run on.- Returns:
-
getResetModel
if true the model will be trained from scratch, otherwise an incremental training will be performed default: false- Returns:
-
getTimeout
public long getTimeout()Timeout to apply to the task.It can't be greater than the global one,this is only to limit it.- Returns:
-
getTuneHyperparameters
if true the hyperparameters will be tuned- Returns:
-
getQueryId
-
getIndexId
-
getResultId
-
isRelevant
public boolean isRelevant() -
getLanguage
-
buildValues
-