MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The StateBase is the base class for the state of each observation - this is defined by actual trainer that overrides the MyCaffeCustomTrainer. More...
Public Member Functions | |
StateBase (int nActionCount) | |
The constructor. More... | |
virtual StateBase | Clone () |
Copy the state base information. More... | |
override string | ToString () |
Return the string representation of the state. More... | |
Properties | |
double | TestingPercent [getset] |
Get/set the percentage of the data to reserve for testing. More... | |
bool | IsValid [getset] |
Get/set whether or not the state is valid. More... | |
double | Reward [getset] |
Get/set the reward of the state. More... | |
bool | Done [getset] |
Get/set whether the state is done or not. More... | |
List< DataPoint > | History [getset] |
Get/set the data history (if any exists). More... | |
int | ActionCount [get] |
Returns the number of actions. More... | |
SimpleDatum | Data [getset] |
Returns other data associated with the state. More... | |
double[] | RawState [getset] |
Get/set the raw state data. More... | |
SimpleDatum | Clip [getset] |
Returns the clip data assoicated with the state. More... | |
double[] | RawClip [getset] |
Get/set the raw clip data. More... | |
SimpleDatum | Label [getset] |
Get/set the label data associated with the state. This field is optional. More... | |
Image | RawImage [getset] |
Get/set the image (if any exists) More... | |
The StateBase is the base class for the state of each observation - this is defined by actual trainer that overrides the MyCaffeCustomTrainer.
Definition at line 15 of file StateBase.cs.
MyCaffe.trainers.StateBase.StateBase | ( | int | nActionCount | ) |
The constructor.
Definition at line 33 of file StateBase.cs.
|
virtual |
Copy the state base information.
Definition at line 152 of file StateBase.cs.
override string MyCaffe.trainers.StateBase.ToString | ( | ) |
Return the string representation of the state.
Definition at line 174 of file StateBase.cs.
|
get |
Returns the number of actions.
Definition at line 89 of file StateBase.cs.
|
getset |
Returns the clip data assoicated with the state.
Definition at line 115 of file StateBase.cs.
|
getset |
Returns other data associated with the state.
Definition at line 97 of file StateBase.cs.
|
getset |
Get/set whether the state is done or not.
Definition at line 71 of file StateBase.cs.
|
getset |
Get/set the data history (if any exists).
Definition at line 80 of file StateBase.cs.
|
getset |
Get/set whether or not the state is valid.
Definition at line 53 of file StateBase.cs.
|
getset |
Get/set the label data associated with the state. This field is optional.
Definition at line 133 of file StateBase.cs.
|
getset |
Get/set the raw clip data.
Definition at line 124 of file StateBase.cs.
|
getset |
Get/set the image (if any exists)
Definition at line 142 of file StateBase.cs.
|
getset |
Get/set the raw state data.
Definition at line 106 of file StateBase.cs.
|
getset |
Get/set the reward of the state.
Definition at line 62 of file StateBase.cs.
|
getset |
Get/set the percentage of the data to reserve for testing.
When set to 0, the same data is used for both testing and training (not recommended).
Definition at line 44 of file StateBase.cs.