org.encog.ml.data.versatile.columns

## Class ColumnDefinition

- java.lang.Object
- - org.encog.ml.data.versatile.columns.ColumnDefinition

- All Implemented Interfaces:
    Serializable

      public class ColumnDefinition
      extends Object
      implements Serializable

  Defines a column definition.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ColumnDefinition(String theName, ColumnType theDataType)` The column definition.

  - ### Method Summary

    Methods
    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()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ColumnDefinition

          public ColumnDefinition(String theName,
                          ColumnType theDataType)

      The column definition.
      Parameters:
        `theName` - The name of the column.
        `theDataType` - The type of the column.

  - ### Method Detail

    - #### getName

          public String getName()

      Returns:
        the name

    - #### setName

          public void setName(String name)

      Parameters:
        `name` - the name to set

    - #### getDataType

          public ColumnType getDataType()

      Returns:
        the dataType

    - #### setDataType

          public void setDataType(ColumnType dataType)

      Parameters:
        `dataType` - the dataType to set

    - #### getLow

          public double getLow()

      Returns:
        the low

    - #### setLow

          public void setLow(double low)

      Parameters:
        `low` - the low to set

    - #### getHigh

          public double getHigh()

      Returns:
        the high

    - #### setHigh

          public void setHigh(double high)

      Parameters:
        `high` - the high to set

    - #### getMean

          public double getMean()

      Returns:
        the mean

    - #### setMean

          public void setMean(double mean)

      Parameters:
        `mean` - the mean to set

    - #### getSd

          public double getSd()

      Returns:
        the sd

    - #### setSd

          public void setSd(double sd)

      Parameters:
        `sd` - the sd to set

    - #### getCount

          public int getCount()

      Returns:
        the count

    - #### setCount

          public void setCount(int count)

      Parameters:
        `count` - the count to set

    - #### analyze

          public void analyze(String value)

      Analyze the specified value.
      Parameters:
        `value` - The value to analyze.

    - #### getClasses

          public List<String> getClasses()

      Returns:
        the classes

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### defineClass

          public void defineClass(String str)

      Define a class for a catagorical value.
      Parameters:
        `str` - The class to add.

    - #### defineClass

          public void defineClass(String[] str)

      Define an array of classes for a catagorical value.
      Parameters:
        `str` - The classes to add.

    - #### setOwner

          public void setOwner(NormalizationHelper theOwner)

      Set the owner of this class.
      Parameters:
        `theOwner` - The owner of this class.

    - #### getIndex

          public int getIndex()

      Returns:
        the index

    - #### setIndex

          public void setIndex(int index)

      Parameters:
        `index` - the index to set

Copyright © 2014. All Rights Reserved.