org.encog.neural.networks.structure
Class ValidateForFlat
java.lang.Object
org.encog.engine.validate.BasicMachineLearningValidate
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidateForFlat
public ValidateForFlat()
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.