MLEncodable
org.encog.ml

Interface MLEncodable

  • All Superinterfaces:
    MLMethod
    All Known Implementing Classes:
    BasicNetwork


    public interface MLEncodableextends 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

      Methods 
      Modifier and TypeMethod and Description
      voiddecodeFromArray(double[] encoded)
      Decode an array to this object.
      intencodedArrayLength() 
      voidencodeToArray(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.

SCaVis 2.2 © jWork.ORG