public class Splitter extends Object implements Serializable
Constructor and Description |
---|
Splitter(SplitFunction sfn)
Construct a split function producer
|
Modifier and Type | Method and Description |
---|---|
SplitFunction |
getSplitFunction(Instances data,
ArrayList<Integer> indices)
Calculate split function based on the input data
|
public Splitter(SplitFunction sfn)
sfn
- split function templatepublic SplitFunction getSplitFunction(Instances data, ArrayList<Integer> indices)
data
- original dataindices
- indices of the samples to useCopyright © 2015–2021 Fiji. All rights reserved.