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>, DecisionTreeNode, IgniteModel<T,V>, SmoothParametrized<M>
  All Known Implementing Classes:
    AdaptableDatasetModel, ANNClassificationModel, BaggedModel, CompoundNaiveBayesModel, DecisionTreeConditionalNode, DecisionTreeLeafNode, DiscreteNaiveBayesModel, GaussianNaiveBayesModel, GDBTrainer.GDBModel, GmmModel, H2OMojoModel, KMeansModel, KNNClassificationModel, KNNModel, KNNRegressionModel, LinearRegressionModel, LogisticRegressionModel, ModelOnFeaturesSubspace, ModelsComposition, ModelsParallelComposition, ModelsSequentialComposition, MultiClassModel, MultilayerPerceptron, NNClassificationModel, PipelineMdl, RecommendationModel, StackedModel, SVMLinearClassificationModel, TreeNode, TreeRoot, 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`

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020