Python* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 1

Modules | Classes
Data Compression

Contains classes for data compression and decompression. More...

Modules

 Data Dictionaries
 Contains classes that represent a dictionary of a data set and provide methods to work with the data dictionary.
 

Classes

class  LzoCompressionParameter
 Parameter for LZO compression and decompression. More...
 
class  RleCompressionParameter
 Parameter for run-length encoding and decoding. More...
 
class  ZlibCompressionParameter
 Parameter for zlib compression and decompression. More...
 
class  DataArchiveIface
 Abstract interface class that defines methods to access and modify a serialized object. More...
 
class  DataArchiveImpl
 Abstract interface class that defines methods to access and modify a serialized object. More...
 
class  DataArchive
 Implements the abstract DataArchiveIface interface. More...
 
class  CompressedDataArchive
 Abstract interface class that defines methods to access and modify a serialized object. More...
 
class  DecompressedDataArchive
 Abstract interface class that defines methods to access and modify a serialized object. More...
 
class  InputDataArchive
 Provides methods to create an archive data object (serialized) and access this object. More...
 
class  OutputDataArchive
 Provides methods to restore an object from its serialized counterpart and access the restored object. More...
 
class  DataCollection
 Class that provides functionality of Collection container for objects derived from SerializationIface interface and implements SerializationIface itself. More...
 
def DataCollection_serializationTag
 
def checkNumericTable
 
def checkTensor
 
def SOANumericTable_serializationTag
 
def CSRNumericTable_serializationTag
 
def MergedNumericTable_serializationTag
 
def RowMergedNumericTable_serializationTag
 
def ModifierIface_contFunc
 
def ModifierIface_catFunc
 
def convertToHomogen_Float64
 
def convertToHomogen_Float32
 
def convertToHomogen_Intc
 
def NumericTableDictionary_serializationTag
 
def NumericTableDictionary_create
 
def DataSourceDictionary_serializationTag
 
def DataSourceDictionary_create
 
def HomogenNumericTable_serializationTag
 
def HomogenTensor_serializationTag
 
def Matrix_serializationTag
 
def SerializableKeyValueCollection_serializationTag
 
def PackedSymmetricMatrix_serializationTag
 
def PackedTriangularMatrix_serializationTag
 
def KeyValueDataCollection_serializationTag
 

Detailed Description

Parameter for bzip2 compression and decompression

Enumerations
  • CompressionLevel - Compression level

Function Documentation

def daal.data_management.checkNumericTable (   nt,
  description,
  unexpectedLayouts = 0,
  expectedLayouts = 0,
  nColumns = 0,
  nRows = 0,
  checkDataAllocation = True 
)

Checks the correctness of this numeric table

Parameters
ntThe numeric table to check
descriptionAdditional information about error
unexpectedLayoutsThe bit mask of invalid layouts for this numeric table.
expectedLayoutsThe bit mask of valid layouts for this numeric table.
nColumnsRequired number of columns. nColumns = 0 means that required number of columns is not specified.
nRowsRequired number of rows. nRows = 0 means that required number of rows is not specified.
checkDataAllocationFlag that specifies whether to check the data allocation status
Returns
Check status: True if the table satisfies the requirements, false otherwise.
def daal.data_management.checkTensor (   tensor,
  description,
  dims = None 
)

Checks the correctness of this tensor

Parameters
tensorPointer to the tensor to check
descriptionAdditional information about error
dimsCollection with required tensor dimension sizes
Returns
Check status: True if the tensor satisfies the requirements, false otherwise.
def daal.data_management.convertToHomogen_Float32 (   args)

Variant 1

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

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

Variant 2

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

Parameters
srcPointer to numeric table
typeType of result numeric table memory
Returns
Pointer to homogen numeric table
def daal.data_management.convertToHomogen_Float64 (   args)

Variant 1

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

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

Variant 2

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

Parameters
srcPointer to numeric table
typeType of result numeric table memory
Returns
Pointer to homogen numeric table
def daal.data_management.convertToHomogen_Intc (   args)

Variant 1

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

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

Variant 2

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

Parameters
srcPointer to numeric table
typeType of result numeric table memory
Returns
Pointer to homogen numeric table
def daal.data_management.CSRNumericTable_serializationTag ( )
def daal.data_management.DataCollection_serializationTag ( )
def daal.data_management.DataSourceDictionary_create (   args)

Variant 1

Constructs a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
statStatus of the dictionary construction
Returns
data dictionary

Variant 2

Constructs a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
statStatus of the dictionary construction
Returns
data dictionary

Variant 3

Constructs a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
statStatus of the dictionary construction
Returns
data dictionary

Variant 4

Constructs a default data dictionary

Parameters
statStatus of the dictionary construction
Returns
data dictionary

Variant 5

Constructs a default data dictionary

Parameters
statStatus of the dictionary construction
Returns
data dictionary
def daal.data_management.DataSourceDictionary_serializationTag ( )
def daal.data_management.HomogenNumericTable_serializationTag ( )
def daal.data_management.HomogenTensor_serializationTag ( )
def daal.data_management.KeyValueDataCollection_serializationTag ( )
def daal.data_management.Matrix_serializationTag ( )
def daal.data_management.MergedNumericTable_serializationTag ( )
def daal.data_management.ModifierIface_catFunc (   word,
  aux,
  arr 
)

ModifierIface_catFunc(char const * word, FeatureAuxData aux, double * arr)

def daal.data_management.ModifierIface_contFunc (   word,
  aux,
  arr 
)

ModifierIface_contFunc(char const * word, FeatureAuxData aux, double * arr)

def daal.data_management.NumericTableDictionary_create (   args)

Variant 1

Constructs a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
statStatus of the dictionary construction
Returns
data dictionary

Variant 2

Constructs a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
statStatus of the dictionary construction
Returns
data dictionary

Variant 3

Constructs a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
statStatus of the dictionary construction
Returns
data dictionary

Variant 4

Constructs a default data dictionary

Parameters
statStatus of the dictionary construction
Returns
data dictionary

Variant 5

Constructs a default data dictionary

Parameters
statStatus of the dictionary construction
Returns
data dictionary
def daal.data_management.NumericTableDictionary_serializationTag ( )
def daal.data_management.PackedSymmetricMatrix_serializationTag ( )
def daal.data_management.PackedTriangularMatrix_serializationTag ( )
def daal.data_management.RowMergedNumericTable_serializationTag ( )
def daal.data_management.SerializableKeyValueCollection_serializationTag ( )
def daal.data_management.SOANumericTable_serializationTag ( )

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