org.apache.ignite.ml.dataset.feature.extractor.impl

## Class BinaryObjectVectorizer.Mapping

- java.lang.Object
- - org.apache.ignite.ml.dataset.feature.extractor.impl.BinaryObjectVectorizer.Mapping

- Enclosing class:
    BinaryObjectVectorizer<K>

      public static class BinaryObjectVectorizer.Mapping
      extends Object

  Feature values mapping for non-number features.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Mapping()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static BinaryObjectVectorizer.Mapping` | `create()` Creates an instance of Mapping.
    `BinaryObjectVectorizer.Mapping` | `defaultValue(Double value)` Default value for new feature values.
    `BinaryObjectVectorizer.Mapping` | `map(Object from, Double to)` Add mapping.

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

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

- - ### Constructor Detail

    - #### Mapping

          public Mapping()

  - ### Method Detail

    - #### create

          public static BinaryObjectVectorizer.Mapping create()

      Creates an instance of Mapping.

    - #### map

          public BinaryObjectVectorizer.Mapping map(Object from,
                                                    Double to)

      Add mapping.
      Parameters:
        `from` - From value.
        `to` - To double value.
      Returns:
        this.

    - #### defaultValue

          public BinaryObjectVectorizer.Mapping defaultValue(Double value)

      Default value for new feature values.
      Parameters:
        `value` - Default value.
      Returns:
        this.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.10.0
Release Date | : March 10 2021