org.apache.ignite.ml.svm

## Class SVMLinearClassificationModel.SVMLinearClassificationJSONExportModel

- java.lang.Object
- - org.apache.ignite.ml.inference.json.JSONModel
  - - org.apache.ignite.ml.svm.SVMLinearClassificationModel.SVMLinearClassificationJSONExportModel

- Enclosing class:
    SVMLinearClassificationModel

      public static class SVMLinearClassificationModel.SVMLinearClassificationJSONExportModel
      extends JSONModel

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `double` | `intercept` Intercept of the linear regression model.
    `boolean` | `isKeepingRawLabels` Output label format. 0 and 1 for false value and raw sigmoid regression value otherwise.
    `double` | `threshold` Threshold to assign '1' label to the observation if raw value more than this threshold.
    `double[]` | `weights` Multiplier of the objects's vector required to make prediction.

    - ### Fields inherited from class org.apache.ignite.ml.inference.json.JSONModel

      `formatVersion, JSON_MODEL_FORMAT_VERSION, modelClass, timestamp, uid`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SVMLinearClassificationJSONExportModel()`
    `SVMLinearClassificationJSONExportModel(Long timestamp, String uid, String modelClass)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SVMLinearClassificationModel` | `convert()` Convert JSON string to IgniteModel object.
    `String` | `toString()`

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

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

- - ### Field Detail

    - #### weights

          public double[] weights

      Multiplier of the objects's vector required to make prediction.

    - #### intercept

          public double intercept

      Intercept of the linear regression model.

    - #### isKeepingRawLabels

          public boolean isKeepingRawLabels

      Output label format. 0 and 1 for false value and raw sigmoid regression value otherwise.

    - #### threshold

          public double threshold

      Threshold to assign '1' label to the observation if raw value more than this threshold.

  - ### Constructor Detail

    - #### SVMLinearClassificationJSONExportModel

          public SVMLinearClassificationJSONExportModel(Long timestamp,
                                                        String uid,
                                                        String modelClass)

    - #### SVMLinearClassificationJSONExportModel

          public SVMLinearClassificationJSONExportModel()

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### convert

          public SVMLinearClassificationModel convert()

      Convert JSON string to IgniteModel object.
      Specified by:
        `convert` in class `JSONModel`

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