org.encog.engine.validate
Interface ValidateMachineLearning

All Known Implementing Classes:
BasicMachineLearningValidate, ValidateForFlat, ValidateForOpenCL

public interface ValidateMachineLearning

Interface for validation. Validate if a particular network or machine learning class is suitable for a specific purpose.


Method Summary
 String isValid(EngineMachineLearning network)
          Determine if the network is valid.
 void validate(EngineMachineLearning network)
          Determine if the network is valid.
 

Method Detail

isValid

String isValid(EngineMachineLearning network)
Determine if the network is valid. Return null, if it is.

Parameters:
network - THe network to check.
Returns:
Null if valid, or a string error, if invalid.

validate

void validate(EngineMachineLearning network)
Determine if the network is valid. If invalid, throw an error.

Parameters:
network - The network to check.


Copyright © 2011. All Rights Reserved.