Ignite - In-Memory Database and Caching Platform
- java.lang.Object
-
- org.apache.ignite.ml.preprocessing.encoding.EncoderPartitionData
-
-
Constructor Summary
Constructors
Constructor and Description |
EncoderPartitionData()
Constructs a new instance of String Encoder partition data.
|
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
categoryFrequencies
public Map<String,Integer>[] categoryFrequencies()
Gets the array of maps of frequencies by value in partition for each feature in the dataset.
- Returns:
- The frequencies.
-
withCategoryFrequencies
public EncoderPartitionData withCategoryFrequencies(Map<String,Integer>[] categoryFrequencies)
Sets the array of maps of frequencies by value in partition for each feature in the dataset.
- Parameters:
categoryFrequencies
- The given value.
- Returns:
- The partition data.
Ignite - In-Memory Database and Caching Platform
| |
Ignite Database and Caching Platform | : ver. 2.7.2 | Release Date | : February 6 2019 | |