C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Namespaces | Classes | Functions
daal::data_management Namespace Reference

Contains classes that implement data management functionality, including NumericTables, DataSources, and Compression.

Namespaces

 data_feature_utils
 Contains service functionality that simplifies feature handling.
 
 features
 Contains service functionality that simplifies feature handling.
 
 interface1
 Contains version 1.0 of Intel(R) Data Analytics Acceleration Library (Intel(R) DAAL) interface.
 
 modifiers
 Contains modifiers components for different Data Sources.
 

Classes

struct  FeatureAuxData
 Structure for auxiliary data used for feature extraction. More...
 
class  ModifierIface
 Abstract interface class that defines the interface for a features modifier. More...
 
class  MakeCategorical
 Methods of the class to set a feature categorical. More...
 
class  OneHotEncoder
 Methods of the class to set a feature binary categorical. More...
 
class  ColumnFilter
 Methods of the class to filter out data source features from output numeric table. More...
 

Typedefs

typedef services::Collection
< services::SharedPtr
< DataBlock > > 
DataBlockCollection
 Collection of DataBlock-type elements.
 

Enumerations

enum  CompressionLevel {
  defaultLevel = -1, level0 = 0, level1, level2,
  level3, level4, level5, level6,
  level7, level8, level9
}
 Compression levels More...
 
enum  CompressionMethod { zlib, lzo, rle, bzip2 }
 Compression methods More...
 

Functions

DAAL_EXPORT services::Status checkNumericTable (const NumericTable *nt, const char *description, const int unexpectedLayouts=0, const int expectedLayouts=0, size_t nColumns=0, size_t nRows=0, bool checkDataAllocation=true)
 
template<typename DataType >
DAAL_EXPORT
daal::data_management::NumericTablePtr 
convertToHomogen (NumericTable &src, daal::MemType type=daal::dram)
 
DAAL_EXPORT services::Status checkTensor (const Tensor *tensor, const char *description, const services::Collection< size_t > *dims=NULL)
 

Function Documentation

DAAL_EXPORT services::Status daal::data_management::checkNumericTable ( const NumericTable *  nt,
const char *  description,
const int  unexpectedLayouts = 0,
const int  expectedLayouts = 0,
size_t  nColumns = 0,
size_t  nRows = 0,
bool  checkDataAllocation = true 
)

Checks the correctness of this numeric table

Parameters
[in]ntThe numeric table to check
[in]descriptionAdditional information about error
[in]unexpectedLayoutsThe bit mask of invalid layouts for this numeric table.
[in]expectedLayoutsThe bit mask of valid layouts for this numeric table.
[in]nColumnsRequired number of columns. nColumns = 0 means that required number of columns is not specified.
[in]nRowsRequired number of rows. nRows = 0 means that required number of rows is not specified.
[in]checkDataAllocationFlag that specifies whether to check the data allocation status
Returns
Check status: True if the table satisfies the requirements, false otherwise.
DAAL_EXPORT services::Status daal::data_management::checkTensor ( const Tensor *  tensor,
const char *  description,
const services::Collection< size_t > *  dims = NULL 
)

Checks the correctness of this tensor

Parameters
[in]tensorPointer to the tensor to check
[in]descriptionAdditional information about error
[in]dimsCollection with required tensor dimension sizes
Returns
Check status: True if the tensor satisfies the requirements, false otherwise.
DAAL_EXPORT daal::data_management::NumericTablePtr daal::data_management::convertToHomogen ( NumericTable &  src,
daal::MemType  type = daal::dram 
)

Converts numeric table with arbitrary storage layout to homogen numeric table of the given type

Parameters
[in]srcPointer to numeric table
[in]typeType of result numeric table memory
Returns
Pointer to homogen numeric table

For more complete information about compiler optimizations, see our Optimization Notice.