Package org.gridgain.ml.model
Class MlColocatedJobParameters<I>
java.lang.Object
org.gridgain.ml.model.ModelInfo
org.gridgain.ml.model.MlJobParameters
org.gridgain.ml.model.MlSimpleJobParameters<I>
org.gridgain.ml.model.MlColocatedJobParameters<I>
- All Implemented Interfaces:
Serializable
Machine Learning Job parameters for Colocated prediction operations.
This class handles Colocated prediction operations.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for MlColocatedJobParameters.Nested classes/interfaces inherited from class org.gridgain.ml.model.MlJobParameters
MlJobParameters.OperationTypeNested classes/interfaces inherited from class org.gridgain.ml.model.ModelInfo
ModelInfo.ModelStatus -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected constructor for builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionstatic <I> MlColocatedJobParameters.Builder<I>builder()Creates a new builder instance.Gets the input column name.key()Gets the key tuple.voidsetInputColumn(String inputColumn) Sets the input column name.voidSets the key tuple.voidsetTableName(String tableName) Sets the table name.Gets the table name.toString()Creates and returns a string representation of the parameters.protected voidAbstract method for operation-specific validation.Methods inherited from class org.gridgain.ml.model.MlSimpleJobParameters
input, setInputMethods inherited from class org.gridgain.ml.model.MlJobParameters
customInputMarshaller, customInputMarshaller, customJobClass, customJobClass, customOutputMarshaller, customOutputMarshaller, hasCustomComponents, hasUrl, operationType, operationType, timeoutSeconds, timeoutSeconds, validateMethods inherited from class org.gridgain.ml.model.ModelInfo
config, id, inputClass, isLoaded, loadTimestamp, name, outputClass, properties, property, property, setInputClass, setLoaded, setOutputClass, setProperty, setStatus, setTranslator, setTranslatorFactory, setUrl, setVersion, status, translator, translatorFactory, type, url, version
-
Constructor Details
-
MlColocatedJobParameters
Protected constructor for builder pattern.- Parameters:
builder- Builder instance containing parameter values
-
-
Method Details
-
tableName
Gets the table name.- Returns:
- Table name
-
setTableName
Sets the table name.- Parameters:
tableName- Table name
-
key
Gets the key tuple.- Returns:
- Key Tuple
-
setKey
Sets the key tuple.- Parameters:
key- The Key Tuple
-
inputColumn
Gets the input column name.- Returns:
- Input column name
-
setInputColumn
Sets the input column name.- Parameters:
inputColumn- Input column name
-
validateOperationSpecific
protected void validateOperationSpecific()Abstract method for operation-specific validation. Subclasses must implement this method to validate their specific fields.- Overrides:
validateOperationSpecificin classMlSimpleJobParameters<I>
-
builder
Creates a new builder instance.- Returns:
- Builder instance
-
toString
Creates and returns a string representation of the parameters.- Overrides:
toStringin classMlSimpleJobParameters<I>- Returns:
- String representation
-