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...
◆ NumericTable() [1/3]
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.
◆ NumericTable() [2/3]
Constructor for a Numeric Table with predefined dictionary
- Parameters
-
[in] | ddict | Pointer to the data dictionary |
◆ NumericTable() [3/3]
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 |
◆ allocateBasicStatistics()
◆ allocateDataMemory()
◆ assign() [1/3]
◆ assign() [2/3]
◆ assign() [3/3]
◆ check()
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.
◆ freeDataMemory()
DAAL_DEPRECATED_VIRTUAL void freeDataMemory |
( |
| ) |
|
|
inlinevirtual |
◆ getDataLayout()
Returns a data layout used in the Numeric Table
- Returns
- Data layout
Implements NumericTableIface.
◆ getDataMemoryStatus()
◆ getDictionary()
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.
◆ getDictionarySharedPtr()
Returns a shared pointer to a data dictionary
- Returns
- Shared pointer to the data dictionary
Implements NumericTableIface.
◆ getErrors()
Returns errors during the computation
- Returns
- Errors during the computation
- Deprecated:
- This item will be removed in a future release.
◆ getFeatureType()
data_feature_utils::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.
◆ getNumberOfCategories()
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.
◆ getNumberOfColumns()
size_t getNumberOfColumns |
( |
| ) |
const |
|
inline |
Returns the number of columns in the Numeric Table
- Returns
- Number of columns
◆ getNumberOfRows()
size_t getNumberOfRows |
( |
| ) |
const |
|
inline |
Returns the number of rows in the Numeric Table
- Returns
- Number of rows
◆ getValue() [1/2]
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
◆ getValue() [2/2]
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
◆ isNormalized()
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
◆ resetDictionary()
Resets a data dictionary for the Numeric Table
- Deprecated:
- This item will be removed in a future release.
Reimplemented from NumericTableIface.
◆ resize()
◆ setDictionary()
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.
◆ setNormalizationFlag()
Sets the normalization flag for dataset stored in the numeric table
- Parameters
-
[in] | flag | Normalization flag |
- Returns
- Previous value of the normalization flag
◆ setNumberOfColumns()
◆ setNumberOfRows()
◆ _ddict
Basic statistics container
The documentation for this class was generated from the following file: