public class ImputerPartitionData extends Object implements AutoCloseable
ImputerTrainer
,
ImputerPreprocessor
Constructor and Description |
---|
ImputerPartitionData()
Constructs a new instance of imputing partition data.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
int[] |
counts()
Gets the array of amounts of values in partition for each feature in the dataset.
|
double[] |
sums()
Gets the array of sums of values in partition for each feature in the dataset.
|
Map<Double,Integer>[] |
valuesByFrequency()
Gets the array of maps of frequencies by value in partition for each feature in the dataset.
|
ImputerPartitionData |
withCounts(int[] counts)
Sets the array of amounts of values in partition for each feature in the dataset.
|
ImputerPartitionData |
withSums(double[] sums)
Sets the array of sums of values in partition for each feature in the dataset.
|
ImputerPartitionData |
withValuesByFrequency(Map<Double,Integer>[] valuesByFreq)
Sets the array of maps of frequencies by value in partition for each feature in the dataset.
|
public ImputerPartitionData()
public double[] sums()
public ImputerPartitionData withSums(double[] sums)
sums
- The given value.public ImputerPartitionData withCounts(int[] counts)
counts
- The given value.public int[] counts()
public Map<Double,Integer>[] valuesByFrequency()
public ImputerPartitionData withValuesByFrequency(Map<Double,Integer>[] valuesByFreq)
valuesByFreq
- The given value.public void close()
close
in interface AutoCloseable
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024