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[] |
maxs()
Gets the array of maximum of values in partition for each feature in the dataset.
|
double[] |
mins()
Gets the array of minimum 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 |
withMaxs(double[] maxs)
Sets the array of maximum of values in partition for each feature in the dataset.
|
ImputerPartitionData |
withMins(double[] mins)
Sets the array of minimum 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 ImputerPartitionData withMaxs(double[] maxs)
maxs
- The given value.public ImputerPartitionData withMins(double[] mins)
mins
- The given value.public int[] counts()
public double[] maxs()
public double[] mins()
public Map<Double,Integer>[] valuesByFrequency()
public ImputerPartitionData withValuesByFrequency(Map<Double,Integer>[] valuesByFreq)
valuesByFreq
- 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