K
- Type of a key in upstream
data.V
- Type of a value in upstream
data.public class TrainTestSplit<K,V> extends Object implements Serializable
Constructor and Description |
---|
TrainTestSplit(IgniteBiPredicate<K,V> trainFilter,
IgniteBiPredicate<K,V> testFilter)
Constructs a new instance of train test split.
|
Modifier and Type | Method and Description |
---|---|
IgniteBiPredicate<K,V> |
getTestFilter() |
IgniteBiPredicate<K,V> |
getTrainFilter() |
public TrainTestSplit(IgniteBiPredicate<K,V> trainFilter, IgniteBiPredicate<K,V> testFilter)
trainFilter
- Filter that passes train subset of the dataset.testFilter
- Filter that passes test subset of the dataset.public IgniteBiPredicate<K,V> getTrainFilter()
public IgniteBiPredicate<K,V> getTestFilter()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024