public class CSVSchemaColumn extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CSVSchemaColumn.ColumnType |
static class |
CSVSchemaColumn.TransformType |
| Modifier and Type | Field and Description |
|---|---|
CSVSchemaColumn.ColumnType |
columnType |
long |
invalidDataEntries |
double |
maxValue |
double |
minValue |
String |
name |
Map<String,org.apache.commons.math3.util.Pair<Integer,Integer>> |
recordLabels |
CSVSchemaColumn.TransformType |
transform |
| Constructor and Description |
|---|
CSVSchemaColumn(String colName,
CSVSchemaColumn.ColumnType colType,
CSVSchemaColumn.TransformType transformType) |
| Modifier and Type | Method and Description |
|---|---|
double |
binarize(String inputColumnValue) |
void |
computeStatistics() |
double |
copy(String inputColumnValue) |
void |
debugPrintColumns() |
void |
evaluateColumnValue(String value)
This method collects dataset statistics about the column that we'll
need later to
1.
|
Integer |
getLabelCount(String label) |
Integer |
getLabelID(String label) |
double |
label(String inputColumnValue) |
double |
normalize(String inputColumnValue) |
double |
transformColumnValue(String inputColumnValue) |
public String name
public CSVSchemaColumn.ColumnType columnType
public CSVSchemaColumn.TransformType transform
public double minValue
public double maxValue
public long invalidDataEntries
public CSVSchemaColumn(String colName, CSVSchemaColumn.ColumnType colType, CSVSchemaColumn.TransformType transformType)
public void evaluateColumnValue(String value) throws Exception
value - Exceptionpublic void computeStatistics()
public void debugPrintColumns()
public double transformColumnValue(String inputColumnValue)
public double copy(String inputColumnValue)
public double binarize(String inputColumnValue)
public double normalize(String inputColumnValue)
public double label(String inputColumnValue)
Copyright © 2016. All rights reserved.