org.encog.util.normalize.segregate

## Interface Segregator

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    IndexRangeSegregator, IndexSampleSegregator, IndexSegregator, IntegerBalanceSegregator, RangeSegregator

      public interface Segregator
      extends Serializable

  Segregators are used to exclude certain rows. You may want to exclude rows to create training and validation sets. You may also simply wish to exclude some rows because they do not apply to what you are currently training for.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataNormalization` | `getNormalization()`
    `void` | `init(DataNormalization normalization)` Setup this object to use the specified normalization object.
    `void` | `passInit()` Init for a pass.
    `boolean` | `shouldInclude()` Should this row be included, according to this segregator.

- - ### Method Detail

    - #### getNormalization

          DataNormalization getNormalization()

      Returns:
        The normalization object that is being used with this segregator.

    - #### init

          void init(DataNormalization normalization)

      Setup this object to use the specified normalization object.
      Parameters:
        `normalization` - THe normalization object to use.

    - #### shouldInclude

          boolean shouldInclude()

      Should this row be included, according to this segregator.
      Returns:
        True if this row should be included.

    - #### passInit

          void passInit()

      Init for a pass.

Copyright © 2014. All Rights Reserved.