Package org.gridgain.ml.model
Class MlSimpleJobParameters<I>
java.lang.Object
org.gridgain.ml.model.ModelInfo
org.gridgain.ml.model.MlJobParameters
org.gridgain.ml.model.MlSimpleJobParameters<I>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MlColocatedJobParameters
Machine Learning Job parameters for simple prediction operations.
This class handles single input prediction operations.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for MlSimpleJobParameters.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
ConstructorsModifierConstructorDescriptionprotectedPrivate constructor for builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionstatic <I> MlSimpleJobParameters.Builder<I>builder()Creates a new builder.input()Gets the input data.voidSets the input data.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.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
-
MlSimpleJobParameters
Private constructor for builder pattern.- Parameters:
builder- Builder instance
-
-
Method Details
-
input
Gets the input data.- Returns:
- Input data
-
setInput
Sets the input data.- Parameters:
input- Input data
-
validateOperationSpecific
protected void validateOperationSpecific()Abstract method for operation-specific validation. Subclasses must implement this method to validate their specific fields.- Specified by:
validateOperationSpecificin classMlJobParameters
-
builder
Creates a new builder.- Returns:
- Builder instance
-
toString
Creates and returns a string representation of the parameters.- Overrides:
toStringin classMlJobParameters- Returns:
- string representation
-