Class InferenceOptions
-
- All Implemented Interfaces:
public class InferenceOptionsOptions class for controlling model inference.
-
-
Constructor Summary
Constructors Constructor Description InferenceOptions()Initialize a new inference options set.
-
Method Summary
Modifier and Type Method Description StringgetModelName()voidsetModelName(String name)StringgetLreKey()voidsetLreKey(String key)StringgetLrePasswd()voidsetLrePasswd(String passwd)voidaddExcludedClass(String clazz)Add an excluded class identifier. voidaddIncludedClass(String clazz)Add an included class identifier. DataTypegetDataType()booleanisIncludedClass(String clazz)Check whether a class label is included. voidsetDataType(DataType type)-
-
Method Detail
-
getModelName
String getModelName()
-
setModelName
void setModelName(String name)
-
getLrePasswd
String getLrePasswd()
-
setLrePasswd
void setLrePasswd(String passwd)
-
addExcludedClass
void addExcludedClass(String clazz)
Add an excluded class identifier.
- Parameters:
clazz- the class identifier to exclude
-
addIncludedClass
void addIncludedClass(String clazz)
Add an included class identifier.
- Parameters:
clazz- the class identifier to be added
-
getDataType
DataType getDataType()
-
isIncludedClass
boolean isIncludedClass(String clazz)
Check whether a class label is included.
- Parameters:
clazz- the name of the class to check for- Returns:
true if the class is included
-
setDataType
void setDataType(DataType type)
-
-
-
-