org.encog.ml.data.versatile.missing

## Class MeanMissingHandler

- java.lang.Object
- - org.encog.ml.data.versatile.missing.MeanMissingHandler

- All Implemented Interfaces:
    Serializable, MissingHandler

      public class MeanMissingHandler
      extends Object
      implements MissingHandler, Serializable

  Handle missing data by using the mean value of that column.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MeanMissingHandler()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `init(NormalizationHelper normalizationHelper)` Called by the normalizer to setup this handler.
    `double` | `processDouble(ColumnDefinition colDef)`
    `String` | `processString(ColumnDefinition colDef)` Process a column's missing data.

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

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

- - ### Constructor Detail

    - #### MeanMissingHandler

          public MeanMissingHandler()

  - ### Method Detail

    - #### init

          public void init(NormalizationHelper normalizationHelper)

      Called by the normalizer to setup this handler.
      Specified by:
        `init` in interface `MissingHandler`
      Parameters:
        `normalizationHelper` - The normalizer that is being used.

    - #### processString

          public String processString(ColumnDefinition colDef)

      Process a column's missing data.
      Specified by:
        `processString` in interface `MissingHandler`
      Parameters:
        `colDef` - The column that is missing.
      Returns:
        The value to use.

    - #### processDouble

          public double processDouble(ColumnDefinition colDef)

      Specified by:
        `processDouble` in interface `MissingHandler`

Copyright © 2014. All Rights Reserved.