MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
Specifies the parameters for the DataTemporalLayer (used in TFT models).
More...
Public Types | |
enum | SOURCE_TYPE { PATH_NPY_FILE , SQL_DB } |
Defines the type of source data. More... | |
Public Types inherited from MyCaffe.param.LayerParameterBase | |
enum | LABEL_TYPE { NONE , SINGLE , MULTIPLE , ONLY_ONE } |
Defines the label type. More... | |
Public Member Functions | |
DataTemporalParameter () | |
Constructor for the parameter. More... | |
override object | Load (System.IO.BinaryReader br, bool bNewInstance=true) |
Load the parameter from a binary reader. More... | |
override void | Copy (LayerParameterBase src) |
Copy on parameter to another. More... | |
override LayerParameterBase | Clone () |
Creates a new copy of this instance of the parameter. More... | |
override RawProto | ToProto (string strName) |
Convert the parameter into a RawProto. More... | |
Public Member Functions inherited from MyCaffe.param.LayerParameterBase | |
LayerParameterBase () | |
Constructor for the parameter. More... | |
virtual string | PrepareRunModelInputs () |
This method gives derivative classes a chance specify model inputs required by the run model. More... | |
virtual void | PrepareRunModel (LayerParameter p) |
This method gives derivative classes a chance to prepare the layer for a run-model. More... | |
void | Save (BinaryWriter bw) |
Save this parameter to a binary writer. More... | |
abstract object | Load (BinaryReader br, bool bNewInstance=true) |
Load the parameter from a binary reader. More... | |
Public Member Functions inherited from MyCaffe.basecode.BaseParameter | |
BaseParameter () | |
Constructor for the parameter. More... | |
virtual bool | Compare (BaseParameter p) |
Compare this parameter to another parameter. More... | |
Static Public Member Functions | |
static DataTemporalParameter | FromProto (RawProto rp) |
Parses the parameter from a RawProto. More... | |
Static Public Member Functions inherited from MyCaffe.basecode.BaseParameter | |
static double | ParseDouble (string strVal) |
Parse double values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
static bool | TryParse (string strVal, out double df) |
Parse double values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
static float | ParseFloat (string strVal) |
Parse float values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
static bool | TryParse (string strVal, out float f) |
Parse doufloatble values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
Properties | |
bool | enable_debug_output [getset] |
Optionally, specifies to output debug information (slower) on each pass. More... | |
string | debug_output_path [getset] |
Specifies the debug output path where debug images are placed when enable_debug_output = true. More... | |
bool | output_target_historical [getset] |
Optionally, specifies to output a top containing the target historical data. More... | |
Phase? | forced_phase [getset] |
Optionally, specifies the phase to use when loading data. More... | |
bool | shuffle_data [getset] |
Specifies to randomly select from the data (default = true). More... | |
uint | chunk_count [getset] |
Specifies the number of items to load per cycle when background loading (default = 1024). More... | |
uint? | seed [getset] |
Specifies the random seed used to shuffle the data. When not specified, the default seed is used. More... | |
double | max_load_percent [getset] |
Specifies the maximum percent of data rows to load (default = 1.0 = 100%). More... | |
int | drip_refresh_rate_in_sec [getset] |
Specifies rate the drip refresh occurs in seconds (default = 0, disabled). More... | |
SOURCE_TYPE | source_type [getset] |
Specifies the type of source data. More... | |
string | source [getset] |
Specifies the data source. More... | |
virtual uint | batch_size [getset] |
Specifies the batch size of the data. More... | |
uint | num_historical_steps [getset] |
Specifies the number of historical steps More... | |
uint | num_future_steps [getset] |
Specifies the number of future steps More... | |
Specifies the parameters for the DataTemporalLayer (used in TFT models).
Definition at line 19 of file DataTemporalParameter.cs.
Defines the type of source data.
Definition at line 39 of file DataTemporalParameter.cs.
MyCaffe.param.tft.DataTemporalParameter.DataTemporalParameter | ( | ) |
Constructor for the parameter.
Definition at line 68 of file DataTemporalParameter.cs.
|
virtual |
Creates a new copy of this instance of the parameter.
Implements MyCaffe.param.LayerParameterBase.
Definition at line 256 of file DataTemporalParameter.cs.
|
virtual |
Copy on parameter to another.
src | Specifies the parameter to copy. |
Implements MyCaffe.param.LayerParameterBase.
Definition at line 232 of file DataTemporalParameter.cs.
|
static |
Parses the parameter from a RawProto.
rp | Specifies the RawProto to parse. |
Definition at line 302 of file DataTemporalParameter.cs.
override object MyCaffe.param.tft.DataTemporalParameter.Load | ( | System.IO.BinaryReader | br, |
bool | bNewInstance = true |
||
) |
Load the parameter from a binary reader.
br | Specifies the binary reader. |
bNewInstance | When true a new instance is created (the default), otherwise the existing instance is loaded from the binary reader. |
Definition at line 220 of file DataTemporalParameter.cs.
|
virtual |
Convert the parameter into a RawProto.
strName | Specifies the name to associate with the RawProto. |
Implements MyCaffe.basecode.BaseParameter.
Definition at line 268 of file DataTemporalParameter.cs.
|
getset |
Specifies the batch size of the data.
Definition at line 193 of file DataTemporalParameter.cs.
|
getset |
Specifies the number of items to load per cycle when background loading (default = 1024).
Note the chunk count must be larger than the batch size.
Definition at line 130 of file DataTemporalParameter.cs.
|
getset |
Specifies the debug output path where debug images are placed when enable_debug_output = true.
Definition at line 87 of file DataTemporalParameter.cs.
|
getset |
Specifies rate the drip refresh occurs in seconds (default = 0, disabled).
Definition at line 160 of file DataTemporalParameter.cs.
|
getset |
Optionally, specifies to output debug information (slower) on each pass.
When true, the 'debug_output_path' must be specified.
Definition at line 78 of file DataTemporalParameter.cs.
|
getset |
Optionally, specifies the phase to use when loading data.
Definition at line 107 of file DataTemporalParameter.cs.
|
getset |
Specifies the maximum percent of data rows to load (default = 1.0 = 100%).
Definition at line 150 of file DataTemporalParameter.cs.
|
getset |
Specifies the number of future steps
Definition at line 213 of file DataTemporalParameter.cs.
|
getset |
Specifies the number of historical steps
Definition at line 203 of file DataTemporalParameter.cs.
|
getset |
Optionally, specifies to output a top containing the target historical data.
Definition at line 97 of file DataTemporalParameter.cs.
|
getset |
Specifies the random seed used to shuffle the data. When not specified, the default seed is used.
Definition at line 140 of file DataTemporalParameter.cs.
|
getset |
Specifies to randomly select from the data (default = true).
Definition at line 117 of file DataTemporalParameter.cs.
|
getset |
Specifies the data source.
When the source type is equal to PATH_NPY_FILE, the 'source' value is a path pointing the data *.npy data files.
Definition at line 183 of file DataTemporalParameter.cs.
|
getset |
Specifies the type of source data.
Definition at line 170 of file DataTemporalParameter.cs.