public class EncoderPartitionData extends Object implements AutoCloseable
Constructor and Description |
---|
EncoderPartitionData()
Constructs a new instance of String Encoder partition data.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Integer>[] |
categoryFrequencies()
Gets the array of maps of frequencies by value in partition for each feature in the dataset.
|
void |
close() |
Map<String,Integer> |
labelFrequencies()
Gets the map of frequencies by value in partition for label.
|
EncoderPartitionData |
withCategoryFrequencies(Map<String,Integer>[] categoryFrequencies)
Sets the array of maps of frequencies by value in partition for each feature in the dataset.
|
EncoderPartitionData |
withLabelFrequencies(Map<String,Integer> labelFrequencies)
Sets the map of frequencies by value in partition for label.
|
public EncoderPartitionData()
public Map<String,Integer>[] categoryFrequencies()
public Map<String,Integer> labelFrequencies()
public EncoderPartitionData withCategoryFrequencies(Map<String,Integer>[] categoryFrequencies)
categoryFrequencies
- The given value.public EncoderPartitionData withLabelFrequencies(Map<String,Integer> labelFrequencies)
labelFrequencies
- The given value.public void close()
close
in interface AutoCloseable
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020