MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The DataSet class loads the training and testing data. More...
Public Member Functions | |
DataSet (DatasetDescriptor ds, Log log) | |
The constructor. More... | |
void | CleanUp () |
Remove all data for the dataset from memory. More... | |
TemporalSet | GetTemporalSetByPhase (Phase phase) |
Returns the temporal set for the specified phase. More... | |
TemporalSet | GetTemporalSetBySourceID (int nSourceID) |
Returns the temporal set for the specified source ID. More... | |
double | GetLoadPercent (out double dfTraining, out double dfTesting) |
Return the load percentage for the dataset. More... | |
bool | Load (DB_LOAD_METHOD loadMethod, int nLoadLimit, double dfReplacementPct, int nRefreshUpdateMs, bool bNormalizedData, int nHistoricalSteps, int nFutureSteps, int nChunks, EventWaitHandle evtCancel) |
Load the training and testing data. More... | |
bool | WaitForLoadingToComplete (AutoResetEvent evtCancel) |
Wait for the loading to complete. More... | |
Properties | |
DatasetDescriptor | Dataset [get] |
Return the dataset descriptor. More... | |
The DataSet class loads the training and testing data.
Definition at line 16 of file DataSet.cs.
MyCaffe.db.temporal.DataSet.DataSet | ( | DatasetDescriptor | ds, |
Log | log | ||
) |
The constructor.
ds | Specifies the dataset descriptor. |
log | Specifies the output log. |
Definition at line 30 of file DataSet.cs.
void MyCaffe.db.temporal.DataSet.CleanUp | ( | ) |
Remove all data for the dataset from memory.
Definition at line 39 of file DataSet.cs.
double MyCaffe.db.temporal.DataSet.GetLoadPercent | ( | out double | dfTraining, |
out double | dfTesting | ||
) |
Return the load percentage for the dataset.
dfTraining | Specifies the training percent loaded. |
dfTesting | Specifies the testing percent loaded. |
Definition at line 91 of file DataSet.cs.
TemporalSet MyCaffe.db.temporal.DataSet.GetTemporalSetByPhase | ( | Phase | phase | ) |
Returns the temporal set for the specified phase.
phase | Specifies the phase. |
Definition at line 64 of file DataSet.cs.
TemporalSet MyCaffe.db.temporal.DataSet.GetTemporalSetBySourceID | ( | int | nSourceID | ) |
Returns the temporal set for the specified source ID.
nSourceID | Specifies the source ID associated with the temporal set. |
Definition at line 77 of file DataSet.cs.
bool MyCaffe.db.temporal.DataSet.Load | ( | DB_LOAD_METHOD | loadMethod, |
int | nLoadLimit, | ||
double | dfReplacementPct, | ||
int | nRefreshUpdateMs, | ||
bool | bNormalizedData, | ||
int | nHistoricalSteps, | ||
int | nFutureSteps, | ||
int | nChunks, | ||
EventWaitHandle | evtCancel | ||
) |
Load the training and testing data.
loadMethod | Specifies the loading method. |
nLoadLimit | Specifies the load limit (or 0 to ignore) |
dfReplacementPct | Specifies the percent of replacement on a load limit event. |
nRefreshUpdateMs | Specifies the refresh update perod in milliseconds. |
bNormalizedData | Specifies to load the normalized data. |
nHistoricalSteps | Specifies the number of sequential historical steps in each block. |
nFutureSteps | Specifies the number of sequential future steps in each block. |
nChunks | Specifies the number of blocks to load at a time. |
evtCancel | Specifies the event used to cancel the initialization process. |
Definition at line 118 of file DataSet.cs.
bool MyCaffe.db.temporal.DataSet.WaitForLoadingToComplete | ( | AutoResetEvent | evtCancel | ) |
Wait for the loading to complete.
evtCancel | Specifies an auto reset event used to abort waiting. |
Definition at line 152 of file DataSet.cs.
|
get |
Return the dataset descriptor.
Definition at line 54 of file DataSet.cs.