org.apache.ignite.ml.inference.builder

## Class SingleModelBuilder

- java.lang.Object
- - org.apache.ignite.ml.inference.builder.SingleModelBuilder

- All Implemented Interfaces:
    SyncModelBuilder

      public class SingleModelBuilder
      extends Object
      implements SyncModelBuilder

  Implementation of synchronous inference model builder that builds a model processed locally in a single thread.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SingleModelBuilder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<I extends Serializable,O extends Serializable,M extends Model<I,O>> M` | `build(ModelReader reader, ModelParser<I,O,M> parser)` Builds synchronous inference model using specified model reader and model parser.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SingleModelBuilder

          public SingleModelBuilder()

  - ### Method Detail

    - #### build

          public <I extends Serializable,O extends Serializable,M extends Model<I,O>> M build(ModelReader reader,
                                                                                              ModelParser<I,O,M> parser)

      Builds synchronous inference model using specified model reader and model parser.
      Specified by:
        `build` in interface `SyncModelBuilder`
      Type Parameters:
        `I` - Type of model input.
        `O` - Type of model output.
      Parameters:
        `reader` - Model reader.
        `parser` - Model parser.
      Returns:
        Inference model.

${current.year} Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.15.0
Release Date | : April 25 2023