Class for a data management component responsible for representation of data in the numeric format. This class implements the most general methods for data access.
More...
Constructor for a Numeric Table with predefined dictionary
- Parameters
-
[in] | ddict | Pointer to the data dictionary |
- Deprecated:
- This item will be removed in a future release.
Constructor for a Numeric Table with predefined dictionary
- Parameters
-
[in] | ddict | Pointer to the data dictionary |
NumericTable |
( |
size_t |
featnum, |
|
|
size_t |
obsnum, |
|
|
DictionaryIface::FeaturesEqual |
featuresEqual = DictionaryIface::notEqual |
|
) |
| |
|
inline |
Constructor for a Numeric Table
- Parameters
-
[in] | featnum | Number of columns in the table |
[in] | obsnum | Number of rows in the table |
[in] | featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
virtual services::Status allocateBasicStatistics |
( |
| ) |
|
|
virtual |
virtual services::Status assign |
( |
float |
value | ) |
|
|
inlinevirtual |
virtual services::Status assign |
( |
double |
value | ) |
|
|
inlinevirtual |
virtual services::Status assign |
( |
int |
value | ) |
|
|
inlinevirtual |
virtual services::Status check |
( |
const char * |
description, |
|
|
bool |
checkDataAllocation = true |
|
) |
| const |
|
inlinevirtual |
Checks the correctness of this numeric table
- Parameters
-
[in] | description | Additional information about error |
[in] | checkDataAllocation | Flag that specifies whether to check the data allocation status |
- Returns
- Check status: True if the table satisfies the requirements, false otherwise.
Implements NumericTableIface.
Reimplemented in CSRNumericTable.
DAAL_DEPRECATED_VIRTUAL void freeDataMemory |
( |
| ) |
|
|
inlinevirtual |
Returns a data layout used in the Numeric Table
- Returns
- Data layout
Implements NumericTableIface.
Returns a pointer to a data dictionary
- Returns
- Pointer to the data dictionary
- Deprecated:
- This item will be removed in a future release.
Implements NumericTableIface.
virtual NumericTableDictionaryPtr getDictionarySharedPtr |
( |
| ) |
const |
|
inlinevirtual |
Returns a shared pointer to a data dictionary
- Returns
- Shared pointer to the data dictionary
Implements NumericTableIface.
DAAL_DEPRECATED services::SharedPtr<services::KernelErrorCollection> getErrors |
( |
| ) |
|
|
inline |
Returns errors during the computation
- Returns
- Errors during the computation
- Deprecated:
- This item will be removed in a future release.
features::FeatureType getFeatureType |
( |
size_t |
feature_idx | ) |
const |
|
inlinevirtual |
Returns the type of a given feature
- Parameters
-
[in] | feature_idx | Feature index |
- Returns
- Feature type
Implements NumericTableIface.
size_t getNumberOfCategories |
( |
size_t |
feature_idx | ) |
const |
|
inlinevirtual |
Returns the number of categories for a given feature
- Parameters
-
[in] | feature_idx | Feature index |
- Returns
- Number of categories
Implements NumericTableIface.
size_t getNumberOfColumns |
( |
| ) |
const |
|
inline |
Returns the number of columns in the Numeric Table
- Returns
- Number of columns
size_t getNumberOfRows |
( |
| ) |
const |
|
inline |
Returns the number of rows in the Numeric Table
- Returns
- Number of rows
DataType getValue |
( |
size_t |
column, |
|
|
size_t |
row |
|
) |
| const |
|
inline |
Returns value by given column and row from the numeric table
- Parameters
-
[in] | column | Column |
[in] | row | Row |
- Returns
- Value from numeric table
DataType getValue |
( |
size_t |
column, |
|
|
size_t |
row, |
|
|
services::Status & |
status |
|
) |
| const |
|
inline |
Returns value by given column and row from the numeric table
- Parameters
-
[in] | column | Column |
[in] | row | Row |
[in,out] | status | Status of the operation |
- Returns
- Value from numeric table
Checks if dataset stored in the numeric table is normalized, according to the given normalization flag
- Parameters
-
[in] | flag | Normalization flag to check |
- Returns
- Check result
virtual DAAL_DEPRECATED_VIRTUAL services::Status resetDictionary |
( |
| ) |
|
|
inlinevirtual |
Resets a data dictionary for the Numeric Table
- Deprecated:
- This item will be removed in a future release.
Reimplemented from NumericTableIface.
virtual services::Status resize |
( |
size_t |
nrows | ) |
|
|
inlinevirtual |
Sets a data dictionary in the Numeric Table
- Parameters
-
[in] | ddict | Pointer to the data dictionary |
- Deprecated:
- This item will be removed in a future release.
Reimplemented from NumericTableIface.
Reimplemented in SOANumericTable.
Sets the normalization flag for dataset stored in the numeric table
- Parameters
-
[in] | flag | Normalization flag |
- Returns
- Previous value of the normalization flag
DAAL_DEPRECATED_VIRTUAL services::Status setNumberOfColumns |
( |
size_t |
ncol | ) |
|
|
inlinevirtual |
DAAL_DEPRECATED_VIRTUAL services::Status setNumberOfRows |
( |
size_t |
nrow | ) |
|
|
inlinevirtual |
NumericTableDictionaryPtr _ddict |
|
protected |
Basic statistics container
The documentation for this class was generated from the following file: