public abstract class DatasetHelper extends Dataset
AttributeName, Entries, Expanders, Generators
Constructor and Description |
---|
DatasetHelper() |
Modifier and Type | Method and Description |
---|---|
static Dataset |
split(Dataset D,
org.apache.commons.collections.Predicate P)
Split a dataset given a predicate (see Apache Common's Collections)
Predicate returns a boolean about whether an entry should be moved
|
about, addAttribueExpander, addAttribueGenerator, addAttribute, addAttributes, addEntries, addEntries, addEntry, addEntry, calculateAttributes, clearAttributeExpanders, clearAttributeGenerators, clearAttributes, clearData, clone, combine, combine, combine, containsEntry, deleteMeasuredClasses, emptyClone, finalizeGeneration, generateAttributes, getAttributeArray, getAttributeExpanders, getAttributeGenerators, getAttributeIndex, getAttributeName, getAttributeNames, getCitations, getClassName, getClassNames, getClassProbabilityArray, getDistribution, getDistributionCount, getEntries, getEntriesWriteAccess, getEntry, getEntryArray, getMeasuredClassArray, getPredictedClassArray, getRandomSubset, getRandomSubset, getSingleAttributeArray, getSubset, getTrainingExamples, importText, loadState, matchEntries, NAttributes, NClasses, NEntries, partition, partition, printAttributeDescription, printCommand, printDescription, printDistribution, printEntries, printEntryDescription, printUsage, randomSplit, randomSplit, removeDuplicates, restoreAttributes, runAttributeCommand, runAttributeExpanders, runAttributeExpansionCommand, runAttributeGeneratorCommand, runAttributeGenerators, runCommand, saveCommand, saveState, setAttributeNames, setClassNames, setClassProbabilities, setMeasuredClasses, setOptions, setPredictedClasses, splitForThreading, splitIntoFolds, subtract, toString, transferToWeka
public static Dataset split(Dataset D, org.apache.commons.collections.Predicate P)
D
- Dataset to be operated onP
- Predicate capable on operating on each entry