Public Member Functions | |
FFNtrainInfo (std::string fName=std::string("")) | |
Constructor. | |
virtual | ~FFNtrainInfo () |
Destructor. | |
bool | reset (std::string fName) |
reset the Neural Network classifier parameter | |
Public Attributes | |
std::string | trainFolder |
where the training data is | |
std::string | testFolder |
where the testing data is | |
uint | nOutput |
the number of output dimension | |
bool | isPCA |
has a dimension reduction step | |
std::string | evecFname |
the dimension reduction | |
uint | oriFeatSize |
the original number of features | |
uint | redFeatSize |
the reduced number of features | |
uint | h1size |
the number of hidden nodes in layer 1 | |
uint | h2size |
the number of hidden nodes in layer 2 | |
std::string | h1Name |
the weight file for hidden layer 1 | |
std::string | h2Name |
the weight file for hidden layer 2 | |
std::string | oName |
the weight file for output layer | |
float | learnRate |
the learning rate | |
std::string | trainSampleFile |
the training sample file list | |
std::string | testSampleFile |
the testing sample file list |
Definition at line 53 of file trainUtils.H.
FFNtrainInfo::FFNtrainInfo | ( | std::string | fName = std::string("") |
) |
Constructor.
Construct a FFN training params info if blank, need to call reset later on
Definition at line 48 of file trainUtils.C.
References reset().
FFNtrainInfo::~FFNtrainInfo | ( | ) | [virtual] |
Destructor.
Definition at line 55 of file trainUtils.C.
bool FFNtrainInfo::reset | ( | std::string | fName | ) |
reset the Neural Network classifier parameter
reset the training info with a new file
Definition at line 60 of file trainUtils.C.
References evecFname, h1Name, h1size, h2Name, h2size, isPCA, learnRate, nOutput, oName, oriFeatSize, redFeatSize, testFolder, testSampleFile, trainFolder, and trainSampleFile.
Referenced by FFNtrainInfo().
the weight file for hidden layer 1
Definition at line 75 of file trainUtils.H.
Referenced by reset().
the number of hidden nodes in layer 1
Definition at line 73 of file trainUtils.H.
Referenced by reset().
the weight file for hidden layer 2
Definition at line 76 of file trainUtils.H.
Referenced by reset().
the number of hidden nodes in layer 2
Definition at line 74 of file trainUtils.H.
Referenced by reset().
bool FFNtrainInfo::isPCA |
has a dimension reduction step
Definition at line 69 of file trainUtils.H.
Referenced by Environment::classifySegNum(), and reset().
float FFNtrainInfo::learnRate |