org.encog.neural.networks.structure
Class ValidateForFlat

java.lang.Object
  extended by org.encog.engine.validate.BasicMachineLearningValidate
      extended by org.encog.neural.networks.structure.ValidateForFlat
All Implemented Interfaces:
ValidateMachineLearning

public class ValidateForFlat
extends BasicMachineLearningValidate

Only certain types of networks can be converted to a flat network. This class validates this.


Constructor Summary
ValidateForFlat()
           
 
Method Summary
 String isValid(EngineMachineLearning eml)
          Determine if the specified neural network can be flat.
 
Methods inherited from class org.encog.engine.validate.BasicMachineLearningValidate
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidateForFlat

public ValidateForFlat()
Method Detail

isValid

public String isValid(EngineMachineLearning eml)
Determine if the specified neural network can be flat. If it can a null is returned, otherwise, an error is returned to show why the network cannot be flattened.

Parameters:
eml - The network to check.
Returns:
Null, if the net can not be flattened, an error message otherwise.


Copyright © 2011. All Rights Reserved.