org.encog.ml.data.versatile.columns
public class ColumnDefinition extends Object implements Serializable
Constructor and Description |
---|
ColumnDefinition(String theName,
ColumnType theDataType)
The column definition.
|
Modifier and Type | Method and Description |
---|---|
void |
analyze(String value)
Analyze the specified value.
|
void |
defineClass(String str)
Define a class for a catagorical value.
|
void |
defineClass(String[] str)
Define an array of classes for a catagorical value.
|
List<String> |
getClasses() |
int |
getCount() |
ColumnType |
getDataType() |
double |
getHigh() |
int |
getIndex() |
double |
getLow() |
double |
getMean() |
String |
getName() |
double |
getSd() |
void |
setCount(int count) |
void |
setDataType(ColumnType dataType) |
void |
setHigh(double high) |
void |
setIndex(int index) |
void |
setLow(double low) |
void |
setMean(double mean) |
void |
setName(String name) |
void |
setOwner(NormalizationHelper theOwner)
Set the owner of this class.
|
void |
setSd(double sd) |
String |
toString() |
public ColumnDefinition(String theName, ColumnType theDataType)
theName
- The name of the column.theDataType
- The type of the column.public String getName()
public void setName(String name)
name
- the name to setpublic ColumnType getDataType()
public void setDataType(ColumnType dataType)
dataType
- the dataType to setpublic double getLow()
public void setLow(double low)
low
- the low to setpublic double getHigh()
public void setHigh(double high)
high
- the high to setpublic double getMean()
public void setMean(double mean)
mean
- the mean to setpublic double getSd()
public void setSd(double sd)
sd
- the sd to setpublic int getCount()
public void setCount(int count)
count
- the count to setpublic void analyze(String value)
value
- The value to analyze.public void defineClass(String str)
str
- The class to add.public void defineClass(String[] str)
str
- The classes to add.public void setOwner(NormalizationHelper theOwner)
theOwner
- The owner of this class.public int getIndex()
public void setIndex(int index)
index
- the index to setCopyright © 2014. All Rights Reserved.