public static class SGTFormatterFactory.SGTFormatter extends SemiLFormatterFactory.SemiLDataFormatter
instanceLabel
foldInstanceLabelMap
exportProperties, kernelUtil, labelToClassIndexMap, maxAttributeIndex, nominalAttributeMap, numericAttributeMap, outdir
ATTR_INSTANCE_ID, SCOPE, SCOPE_FOLD, SCOPE_LABEL
Constructor and Description |
---|
SGTFormatterFactory.SGTFormatter(KernelUtil kernelUtil) |
Modifier and Type | Method and Description |
---|---|
protected void |
exportData(SparseData sparseData,
java.lang.String label,
java.lang.Integer run,
java.lang.Integer fold) |
exportFold, exportLabel, fillLabelToClassIndexMap, getTrainingClassMap, initializeExport, initializeFold, initializeLabel
clearFold, exportTransductiveData
clearLabel, exportDataForInstances, exportDataForLabel, writeLibsvmLine
addNumericAttribute, exportAttributeNames, exportAttributeNames, exportSparseMatrix, exportSparseRow, getSparseLineValues, updateLabelClassMapTransductive
public SGTFormatterFactory.SGTFormatter(KernelUtil kernelUtil)
protected void exportData(SparseData sparseData, java.lang.String label, java.lang.Integer run, java.lang.Integer fold) throws java.io.IOException
exportData
in class SemiLFormatterFactory.SemiLDataFormatter
java.io.IOException