MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The RawValueData class is used to hold the data values for an ItemID. More...
Public Member Functions | |
RawValueSet (int nSrcID, int nItemID) | |
The constructor. More... | |
void | Add (RawValue val) |
Add a raw value to the set. More... | |
Tuple< float[], float[]> | GetStaticValues () |
Return the static values. More... | |
Tuple< float[], float[], DateTime[]> | GetObservedValues (int nIdx, int nCount) |
Returns the observed values. More... | |
Tuple< float[], DateTime[]> | GetObservedNumValues (int nIdx, int nCount, int nValIdx) |
Returns the observed values. More... | |
Tuple< float[], float[], DateTime[]> | GetKnownValues (int nIdx, int nCount) |
Returns the observed values. More... | |
DateTime[] | GetTimeSyncValues (int nIdx, int nCount) |
Returns the time sync values. More... | |
Static Public Member Functions | |
static RawValueSet | FromData (int nSrcID, int nItemID, List< RawValue > rg) |
Creates a RawValueSet from a list of RawValues. More... | |
Properties | |
int | ColCount [get] |
Returns the row count of observed and known items. More... | |
DateTime | StartTime [get] |
Returns the start time of the data values. More... | |
DateTime | EndTime [get] |
Returns the end time of the data values. More... | |
int | SourceID [get] |
Returns the source ID. More... | |
int | ItemID [get] |
Returns the item ID. More... | |
The RawValueData class is used to hold the data values for an ItemID.
Definition at line 597 of file DatabaseTemporal.cs.
MyCaffe.db.temporal.RawValueSet.RawValueSet | ( | int | nSrcID, |
int | nItemID | ||
) |
The constructor.
nSrcID | Specifies the source ID. |
nItemID | Specifies the item ID. |
Definition at line 610 of file DatabaseTemporal.cs.
void MyCaffe.db.temporal.RawValueSet.Add | ( | RawValue | val | ) |
Add a raw value to the set.
val | Specifies the raw value loaded from the dataset. |
Exception | An exception is thrown if more than one |
Definition at line 640 of file DatabaseTemporal.cs.
|
static |
Creates a RawValueSet from a list of RawValues.
nSrcID | Specifies the source ID |
nItemID | Specifies the item ID. |
rg | Specifies the raw values. |
Definition at line 623 of file DatabaseTemporal.cs.
Tuple< float[], float[], DateTime[]> MyCaffe.db.temporal.RawValueSet.GetKnownValues | ( | int | nIdx, |
int | nCount | ||
) |
Returns the observed values.
nIdx | Specifies the start index. |
nCount | Specifies the number of items to collect. |
Definition at line 815 of file DatabaseTemporal.cs.
Tuple< float[], DateTime[]> MyCaffe.db.temporal.RawValueSet.GetObservedNumValues | ( | int | nIdx, |
int | nCount, | ||
int | nValIdx | ||
) |
Returns the observed values.
nIdx | Specifies the start index. |
nCount | Specifies the number of items to collect. |
nValIdx | Specifies the index of the target value. |
Definition at line 780 of file DatabaseTemporal.cs.
Tuple< float[], float[], DateTime[]> MyCaffe.db.temporal.RawValueSet.GetObservedValues | ( | int | nIdx, |
int | nCount | ||
) |
Returns the observed values.
nIdx | Specifies the start index. |
nCount | Specifies the number of items to collect. |
Definition at line 739 of file DatabaseTemporal.cs.
Tuple< float[], float[]> MyCaffe.db.temporal.RawValueSet.GetStaticValues | ( | ) |
Return the static values.
Definition at line 717 of file DatabaseTemporal.cs.
DateTime[] MyCaffe.db.temporal.RawValueSet.GetTimeSyncValues | ( | int | nIdx, |
int | nCount | ||
) |
Returns the time sync values.
nIdx | Specifies the start index. |
nCount | Specifies the number of items to collect. |
Definition at line 858 of file DatabaseTemporal.cs.
|
get |
Returns the row count of observed and known items.
Definition at line 658 of file DatabaseTemporal.cs.
|
get |
Returns the end time of the data values.
Definition at line 686 of file DatabaseTemporal.cs.
|
get |
Returns the item ID.
Definition at line 708 of file DatabaseTemporal.cs.
|
get |
Returns the source ID.
Definition at line 700 of file DatabaseTemporal.cs.
|
get |
Returns the start time of the data values.
Definition at line 672 of file DatabaseTemporal.cs.