org.apache.ignite.ml.inference

## Interface Model<I,O>

- Type Parameters:
    `I` - Type of model input.
    `O` - Type of model output.
  All Superinterfaces:
    AutoCloseable
  All Known Subinterfaces:
    BayesModel<MODEL,FEATURES,OUTPUT>, ClusterizationModel<P,V>, IgniteModel<T,V>, SmoothParametrized<M>
  All Known Implementing Classes:
    AdaptableDatasetModel, ANNClassificationModel, BaggedModel, CatboostClassificationModel, CatboostRegressionModel, CompoundNaiveBayesModel, DecisionTreeConditionalNode, DecisionTreeLeafNode, DecisionTreeModel, DecisionTreeNode, DiscreteNaiveBayesModel, GaussianNaiveBayesModel, GDBModel, GmmModel, H2OMojoModel, KMeansModel, KNNClassificationModel, KNNModel, KNNRegressionModel, LinearRegressionModel, LogisticRegressionModel, ModelOnFeaturesSubspace, ModelsComposition, ModelsParallelComposition, ModelsSequentialComposition, MultiClassModel, MultilayerPerceptron, NNClassificationModel, PipelineMdl, RandomForestModel, RandomForestTreeModel, RecommendationModel, StackedModel, SVMLinearClassificationModel, TreeNode, XGModelComposition

      public interface Model<I,O>
      extends AutoCloseable

  Inference model that can be used to make predictions.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `O` | `predict(I input)` Make a prediction for the specified input arguments.

- - ### Method Detail

    - #### predict

          O predict(I input)

      Make a prediction for the specified input arguments.
      Parameters:
        `input` - Input arguments.
      Returns:
        Prediction result.

    - #### close

          void close()

      Specified by:
        `close` in interface `AutoCloseable`

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.12.0
Release Date | : January 10 2022