org.apache.ignite.ml.optimization

## Interface Parametrized<M extends Parametrized<M>>

- Type Parameters:
    `M` - Type of model.
  All Known Subinterfaces:
    SmoothParametrized<M>
  All Known Implementing Classes:
    MultilayerPerceptron

      public interface Parametrized<M extends Parametrized<M>>

  Interface for parametrized models.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `Vector` | `parameters()` Get parameters vector.
    `int` | `parametersCount()` Get count of parameters of this model.
    `M` | `setParameters(Vector vector)` Set parameters.
    `default M` | `withParameters(Vector vector)` Return new model with given parameters vector.

- - ### Method Detail

    - #### parameters

          Vector parameters()

      Get parameters vector.
      Returns:
        Parameters vector.

    - #### setParameters

          M setParameters(Vector vector)

      Set parameters.
      Parameters:
        `vector` - Parameters vector.

    - #### withParameters

          default M withParameters(Vector vector)

      Return new model with given parameters vector.
      Parameters:
        `vector` - Parameters vector.

    - #### parametersCount

          int parametersCount()

      Get count of parameters of this model.
      Returns:
        Count of parameters of this model.

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