public interface MLCustomModel
| Modifier and Type | Method and Description |
|---|---|
MLCustomModel |
initWithModelDescriptionParameterDictionaryError(MLModelDescription modelDescription,
NSDictionary<java.lang.String,?> parameters,
org.moe.natj.general.ptr.Ptr<NSError> error)
Initialize the custom model implementation.
|
MLFeatureProvider |
predictionFromFeaturesOptionsError(MLFeatureProvider input,
MLPredictionOptions options,
org.moe.natj.general.ptr.Ptr<NSError> error)
Required implemenationat of a single sample input prediction.
|
default MLBatchProvider |
predictionsFromBatchOptionsError(MLBatchProvider inputBatch,
MLPredictionOptions options,
org.moe.natj.general.ptr.Ptr<NSError> error)
Batch prediction with explicit options, if not implemented the single input predictionFromFeatures:options:error will be used
|
MLCustomModel initWithModelDescriptionParameterDictionaryError(MLModelDescription modelDescription, NSDictionary<java.lang.String,?> parameters, org.moe.natj.general.ptr.Ptr<NSError> error)
MLFeatureProvider predictionFromFeaturesOptionsError(MLFeatureProvider input, MLPredictionOptions options, org.moe.natj.general.ptr.Ptr<NSError> error)
default MLBatchProvider predictionsFromBatchOptionsError(MLBatchProvider inputBatch, MLPredictionOptions options, org.moe.natj.general.ptr.Ptr<NSError> error)