Package com.gengoai.hermes.ml
Class BaseHStringMLModel
- java.lang.Object
-
- com.gengoai.hermes.ml.BaseHStringMLModel
-
- All Implemented Interfaces:
Model
,Transform
,Copyable<Transform>
,SerializableFunction<HString,HString>
,HStringMLModel
,Serializable
,Function<HString,HString>
public abstract class BaseHStringMLModel extends Object implements HStringMLModel
The type Base h string ml model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseHStringMLModel(@NonNull Model delegate, @NonNull HStringDataSetGenerator dataGenerator)
Instantiates a new Base h string ml model.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description HString
apply(@NonNull HString hString)
Model
delegate()
Delegate model.protected abstract void
onEstimate(HString hString, Datum datum)
On estimate.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.gengoai.hermes.ml.HStringMLModel
estimate, estimate, getDataGenerator, getEvaluator, getFitParameters, getInputs, getLabelType, getOutput, getOutputs, getVersion, setVersion, transform, transform, transform, transform
-
Methods inherited from interface com.gengoai.apollo.ml.model.Model
copy, fitAndTransform, getLabelType, save
-
Methods inherited from interface com.gengoai.function.SerializableFunction
andThen, asConsumer, compose
-
-
-
-
Constructor Detail
-
BaseHStringMLModel
public BaseHStringMLModel(@NonNull @NonNull Model delegate, @NonNull @NonNull HStringDataSetGenerator dataGenerator)
Instantiates a new Base h string ml model.- Parameters:
delegate
- the delegatedataGenerator
- the data set generator
-
-
Method Detail
-
delegate
public Model delegate()
Description copied from interface:HStringMLModel
Delegate model.- Specified by:
delegate
in interfaceHStringMLModel
- Returns:
- the model
-
-