Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FFNtrainInfo Class Reference

Collaboration diagram for FFNtrainInfo:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 51 of file trainUtils.H.

Public Member Functions

 FFNtrainInfo (std::string fName=std::string(""))
 Constructor.
virtual ~FFNtrainInfo ()
 Destructor.
void 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


Constructor & Destructor Documentation

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 46 of file trainUtils.C.

References reset().

FFNtrainInfo::~FFNtrainInfo  )  [virtual]
 

Destructor.

Definition at line 53 of file trainUtils.C.


Member Function Documentation

void FFNtrainInfo::reset std::string  fName  ) 
 

reset the Neural Network classifier parameter

Definition at line 58 of file trainUtils.C.

References evecFname, h1Name, h1size, h2Name, h2size, isPCA, learnRate, LFATAL, LINFO, nOutput, oName, oriFeatSize, redFeatSize, temp, testFolder, testSampleFile, trainFolder, and trainSampleFile.

Referenced by FFNtrainInfo().


Member Data Documentation

std::string FFNtrainInfo::evecFname
 

the dimension reduction

Definition at line 68 of file trainUtils.H.

Referenced by main(), and reset().

std::string FFNtrainInfo::h1Name
 

the weight file for hidden layer 1

Definition at line 73 of file trainUtils.H.

Referenced by main(), and reset().

uint FFNtrainInfo::h1size
 

the number of hidden nodes in layer 1

Definition at line 71 of file trainUtils.H.

Referenced by main(), and reset().

std::string FFNtrainInfo::h2Name
 

the weight file for hidden layer 2

Definition at line 74 of file trainUtils.H.

Referenced by main(), and reset().

uint FFNtrainInfo::h2size
 

the number of hidden nodes in layer 2

Definition at line 72 of file trainUtils.H.

Referenced by main(), and reset().

bool FFNtrainInfo::isPCA
 

has a dimension reduction step

Definition at line 67 of file trainUtils.H.

Referenced by Environment::classifySegNum(), main(), and reset().

float FFNtrainInfo::learnRate
 

the learning rate

Definition at line 76 of file trainUtils.H.

Referenced by reset().

uint FFNtrainInfo::nOutput
 

the number of output dimension

Definition at line 66 of file trainUtils.H.

Referenced by main(), and reset().

std::string FFNtrainInfo::oName
 

the weight file for output layer

Definition at line 75 of file trainUtils.H.

Referenced by main(), and reset().

uint FFNtrainInfo::oriFeatSize
 

the original number of features

Definition at line 69 of file trainUtils.H.

Referenced by main(), and reset().

uint FFNtrainInfo::redFeatSize
 

the reduced number of features

Definition at line 70 of file trainUtils.H.

Referenced by main(), and reset().

std::string FFNtrainInfo::testFolder
 

where the testing data is

Definition at line 65 of file trainUtils.H.

Referenced by reset().

std::string FFNtrainInfo::testSampleFile
 

the testing sample file list

Definition at line 78 of file trainUtils.H.

Referenced by reset().

std::string FFNtrainInfo::trainFolder
 

where the training data is

Definition at line 64 of file trainUtils.H.

Referenced by main(), and reset().

std::string FFNtrainInfo::trainSampleFile
 

the training sample file list

Definition at line 77 of file trainUtils.H.

Referenced by reset().


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 15:50:15 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4