public class WekaAttributeEvaluatorImpl.WekaAttributeEvaluatorFormatter extends WekaFormatterFactory.WekaFormatter
CLASS, INSTANCE_ID
exportProperties, kernelUtil, labelToClassIndexMap, maxAttributeIndex, nominalAttributeMap, numericAttributeMap, outdir
ATTR_INSTANCE_ID, SCOPE, SCOPE_FOLD, SCOPE_LABEL
Constructor and Description |
---|
WekaAttributeEvaluatorFormatter(String corpusName,
String featureSetName,
String splitName) |
Modifier and Type | Method and Description |
---|---|
void |
exportFold(SparseData sparseData,
SortedMap<Long,String> instanceClasses,
boolean train,
String label,
Integer run,
Integer fold)
export the fold train/test set.
|
clearFold, clearLabel, initializeAttributes, initializeExport, initializeFold, initializeInstances, initializeLabel
addNumericAttribute, exportAttributeNames, exportAttributeNames, exportSparseMatrix, exportSparseRow, getSparseLineValues, updateLabelClassMapTransductive
public void exportFold(SparseData sparseData, SortedMap<Long,String> instanceClasses, boolean train, String label, Integer run, Integer fold) throws IOException
SparseDataFormatter
exportFold
in interface SparseDataFormatter
exportFold
in class WekaFormatterFactory.WekaFormatter
IOException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.