MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.gym.IXMyCaffeGymRange Interface Reference

The IXMyCaffeGymRange interface is used to query the data range for the vocabulary. More...

Inheritance diagram for MyCaffe.gym.IXMyCaffeGymRange:
MyCaffe.gym.IXMyCaffeGym

Public Member Functions

Tuple< double, double > GetDataRange ()
 Returns the data range of the gym which is used to build the vocabulary. More...
 
- Public Member Functions inherited from MyCaffe.gym.IXMyCaffeGym
void Initialize (Log log, PropertySet properties)
 Initialize the gym using the properties in the PropertySet. More...
 
void Close ()
 Close a previously initialized gym. More...
 
IXMyCaffeGym Clone (PropertySet properties=null)
 Copy a gym creating a new one. More...
 
Tuple< State, double, bool > Reset (bool bGetLabel=false, PropertySet props=null)
 Resets the state of they gym. More...
 
Tuple< State, double, bool > Step (int nAction, bool bGetLabel=false, PropertySet extraProp=null)
 Run an action on the gym. More...
 
Tuple< Bitmap, SimpleDatumRender (bool bShowUi, int nWidth, int nHeight, bool bGetAction)
 Render the gym on a bitmap. More...
 
Tuple< Bitmap, SimpleDatumRender (bool bShowUi, int nWidth, int nHeight, double[] rgData, bool bGetAction)
 Render the gym on a bitmap. More...
 
Dictionary< string, int > GetActionSpace ()
 Returns a dictionary containing the action space where each entry contains the action name and action value. More...
 
DatasetDescriptor GetDataset (DATA_TYPE dt, Log log=null)
 Returns the dataset of the gym. More...
 

Properties

bool UseFixedVocabulary [get]
 Returns true to use the fixed bucket collection based on the GetDataRange values, otherwise the bucket collection is created from the data. More...
 
int VocabularySize [get]
 Returns the vocabulary size to use (e.g. the number of buckets). More...
 
bool UsePreLoadData [get]
 Specifies whether or not to use the pre-load data. More...
 
- Properties inherited from MyCaffe.gym.IXMyCaffeGym
string Name [get]
 Returns the name of the gym. More...
 
int UiDelay [get]
 Returns the user-interface delay to use (if any). More...
 
DATA_TYPE SelectedDataType [get]
 Returns the selected data-type. More...
 
DATA_TYPE[] SupportedDataType [get]
 Returns an array of data types supported by the gym. More...
 
bool RequiresDisplayImage [get]
 Returns whether or not the gym requires the display image. More...
 
double TestingPercent [get]
 Returns the percentage of the data to use for testing, or -1 which then uses the default of 0.2. More...
 

Detailed Description

The IXMyCaffeGymRange interface is used to query the data range for the vocabulary.

Definition at line 211 of file Interfaces.cs.

Member Function Documentation

◆ GetDataRange()

Tuple< double, double > MyCaffe.gym.IXMyCaffeGymRange.GetDataRange ( )

Returns the data range of the gym which is used to build the vocabulary.

Returns

Property Documentation

◆ UseFixedVocabulary

bool MyCaffe.gym.IXMyCaffeGymRange.UseFixedVocabulary
get

Returns true to use the fixed bucket collection based on the GetDataRange values, otherwise the bucket collection is created from the data.

Definition at line 221 of file Interfaces.cs.

◆ UsePreLoadData

bool MyCaffe.gym.IXMyCaffeGymRange.UsePreLoadData
get

Specifies whether or not to use the pre-load data.

Definition at line 229 of file Interfaces.cs.

◆ VocabularySize

int MyCaffe.gym.IXMyCaffeGymRange.VocabularySize
get

Returns the vocabulary size to use (e.g. the number of buckets).

Definition at line 225 of file Interfaces.cs.


The documentation for this interface was generated from the following file: