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()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019