Enum fann::FannErrorType
[−]
[src]
pub enum FannErrorType { CantOpenConfigR, CantOpenConfigW, WrongConfigVersion, CantReadConfig, CantReadNeuron, CantReadConnections, WrongNumConnections, CantOpenTdW, CantOpenTdR, CantReadTd, CantAllocateMem, CantTrainActivation, CantUseActivation, TrainDataMismatch, CantUseTrainAlg, TrainDataSubset, IndexOutOfBound, ScaleNotPresent, CantSaveFile, ErrorCodeReturned, }
Variants
CantOpenConfigR
Unable to open configuration file for reading
CantOpenConfigW
Unable to open configuration file for writing
WrongConfigVersion
Wrong version of configuration file
CantReadConfig
Error reading info from configuration file
CantReadNeuron
Error reading neuron info from configuration file
CantReadConnections
Error reading connections from configuration file
WrongNumConnections
Number of connections not equal to the number expected
CantOpenTdW
Unable to open train data file for writing
CantOpenTdR
Unable to open train data file for reading
CantReadTd
Error reading training data from file
CantAllocateMem
Unable to allocate memory
CantTrainActivation
Unable to train with the selected activation function
CantUseActivation
Unable to use the selected activation function
TrainDataMismatch
Irreconcilable differences between two fann_train_data
structures
CantUseTrainAlg
Unable to use the selected training algorithm
TrainDataSubset
Trying to take subset which is not within the training set
IndexOutOfBound
Index is out of bound
ScaleNotPresent
Scaling parameters not present
CantSaveFile
Failed to save file
ErrorCodeReturned
C function returned an error code, i. e. not 0, but did not specify error
Trait Implementations
impl Copy for FannErrorType
[src]
impl Clone for FannErrorType
[src]
fn clone(&self) -> FannErrorType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for FannErrorType
[src]
impl Eq for FannErrorType
[src]
impl PartialEq for FannErrorType
[src]
fn eq(&self, __arg_0: &FannErrorType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.