Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.ml
Interface MLEncodable

All Superinterfaces:
  MLMethod

All Known Implementing Classes:
  BasicNetwork, FreeformNetwork, RBFNetwork

    public interface MLEncodable

extends MLMethod

Defines a Machine Learning Method that can be encoded to a double array. This is very useful for certain training, such as genetic algorithms and simulated annealing.

Method Summary
`void` | `decodeFromArray(double[] encoded)` Decode an array to this object.
`int` | `encodedArrayLength()`
`void` | `encodeToArray(double[] encoded)` Encode the object to the specified array.

Method Detail

### encodedArrayLength

    int encodedArrayLength()

  Returns:
    The length of an encoded array.

### encodeToArray

    void encodeToArray(double[] encoded)

  Encode the object to the specified array.

  Parameters:
    `encoded` - The array.

### decodeFromArray

    void decodeFromArray(double[] encoded)

  Decode an array to this object.

  Parameters:
    `encoded` - The encoded array.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.