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

Classes | Functions | Variables

Specifies methods to access data. More...

Classes

class  CategoricalFeatureDictionary
 
class  DataSourceIface
 Abstract interface class that defines the interface for a data management component responsible for representation of data in the raw format. More...
 
class  CsvDataSourceOptions
 Options of CSV data source. More...
 
class  NumericTableDictionary
 Class that represents a dictionary of a data set and provides methods to work with the data dictionary. More...
 
class  DataSourceDictionary
 Class that represents a dictionary of a data set and provides methods to work with the data dictionary. More...
 
class  BlockDescriptor
 Base class that manages buffer memory for read/write operations required by numeric tables. More...
 
class  CSRBlockDescriptor
 Base class that manages buffer memory for read/write operations required by CSR numeric tables. More...
 
class  Compressor
 Implementation of the Compressor class for the bzip2 compression method. More...
 
class  Decompressor
 Specialization of Decompressor class for Bzip2 compression method. More...
 
class  HomogenNumericTable
 Class that provides methods to access data stored as a contiguous array of homogeneous feature vectors. More...
 
class  HomogenTensor
 Class that provides methods to access data stored as a contiguous array of homogeneous data in rows-major format. More...
 
class  KeyValueCollection
 Class that provides functionality of a key-value container for objects derived from the T with a key of the size_t type. More...
 
class  Matrix
 Represents a two-dimensional table of numbers of the same type. More...
 
class  SerializableKeyValueCollection
 Class that provides functionality of a key-value container for objects derived from the SerializationIface interface with a key of the size_t type. More...
 
class  SubtensorDescriptor
 Class with descriptor of the subtensor retrieved from Tensor getSubTensor function. More...
 
class  DataSourceTemplate
 Implements the abstract DataSourceIface interface. More...
 
class  CsvDataSource
 Specifies methods to access data stored in files. More...
 
class  FileDataSource
 Specifies methods to access data stored in files. More...
 
class  PackedSymmetricMatrix
 Class that provides methods to access symmetric matrices stored as a one-dimensional array. More...
 
class  PackedTriangularMatrix
 Class that provides methods to access a packed triangular matrix stored as a one-dimensional array. More...
 
class  StringDataSource
 Specifies methods to access data stored in byte arrays in the C-string format. More...
 
class  KeyValueDataCollection
 Class that provides functionality of a key-value container for objects derived from the SerializationIface interface with a key of the size_t type. More...
 
class  SQLFeatureManager
 Interprets the response of SQL data base and fill provided numeric table and dictionary. More...
 
class  ODBCDataSourceOptions
 Options of ODBC data source. More...
 

Functions

def serialize
 
def deserialize
 
def getSerializationTag
 
def getSize
 
def __init__
 
def getArray
 
def setArray
 
def __init__
 
def setInputDataBlock
 
def isOutputDataBlockFull
 
def getUsedOutputDataBlockSize
 
def run
 
def setInputDataBlock
 
def isOutputDataBlockFull
 
def getUsedOutputDataBlockSize
 
def run
 
def checkInputParams
 
def checkOutputParams
 
def __init__
 
def __lshift__
 
def getCompressedBlocksCollection
 
def getCompressedDataSize
 
def copyCompressedArray
 
def push_back
 
def __init__
 DecompressionStream constructor More...
 
def __lshift__
 
def getDecompressedBlocksCollection
 
def getDecompressedDataSize
 
def copyDecompressedArray
 
def push_back
 
def __init__
 
def __init__
 
def __init__
 
def write
 
def read
 
def getSizeOfArchive
 
def getArchiveAsString
 
def copyArchiveToArray
 
def setMajorVersion
 
def setMinorVersion
 
def setUpdateVersion
 
def getMajorVersion
 
def getMinorVersion
 
def getUpdateVersion
 
def setMajorVersion
 
def setMinorVersion
 
def setUpdateVersion
 
def getMajorVersion
 
def getMinorVersion
 
def getUpdateVersion
 
def __init__
 
def write
 
def read
 
def getSizeOfArchive
 
def getArchiveAsString
 
def copyArchiveToArray
 
def getArchiveAsArray
 
def __init__
 
def write
 
def read
 
def getSizeOfArchive
 
def getArchiveAsString
 
def copyArchiveToArray
 
def __init__
 
def write
 
def read
 
def getSizeOfArchive
 
def getArchiveAsString
 
def copyArchiveToArray
 
def __init__
 
def archiveHeader
 
def archiveFooter
 
def segmentHeader
 
def segmentFooter
 
def setSingleObj
 
def getSizeOfArchive
 
def getArchiveAsString
 
def copyArchiveToArray
 
def getDataArchive
 
def getArchiveAsArray
 
def __init__
 
def archiveHeader
 
def archiveFooter
 
def segmentHeader
 
def segmentFooter
 
def setSingleObj
 
def get
 
def getMajorVersion
 
def getMinorVersion
 
def getUpdateVersion
 
def serializationTag
 
def getSerializationTag
 
def __init__
 
def get
 
def push_back
 
def __lshift__
 
def size
 
def clear
 
def erase
 
def resize
 
def __getitem__
 
def __setitem__
 
def __init__
 
def __init__
 
def __init__
 
def getFeatureName
 
def getCategoricalDictionary
 
def setCategoricalDictionary
 
def setFeatureName
 
def getSerializationTag
 
def getIndexType
 
def setType_{Float64|Float32|Intc}
 
def setDictionary
 
def getDictionary
 
def resetDictionary
 
def getFeatureType
 
def getNumberOfCategories
 
def getDataLayout
 
def resize
 
def setNumberOfColumns
 
def setNumberOfRows
 
def allocateDataMemory
 
def freeDataMemory
 
def allocateBasicStatistics
 
def check
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def getBlockOfRowsAsDouble
 
def getBlockOfColumnValuesAsDouble
 
def getBlockOfRowsAsFloat
 
def getBlockOfColumnValuesAsFloat
 
def getBlockOfRowsAsInt
 
def getBlockOfColumnValuesAsInt
 
def setDictionary
 
def getDictionary
 
def resetDictionary
 
def resize
 
def getNumberOfColumns
 
def getNumberOfRows
 
def setNumberOfColumns
 
def setNumberOfRows
 
def allocateDataMemory
 
def freeDataMemory
 
def getDataLayout
 
def getFeatureType
 
def getNumberOfCategories
 
def getDataMemoryStatus
 
def isNormalized
 
def setNormalizationFlag
 
def allocateBasicStatistics
 
def check
 
def assign
 
def getValue_{Float64|Float32|Intc}
 
def __init__
 
def get
 
def set
 
def setDimensions
 
def allocateDataMemory
 
def freeDataMemory
 
def resize
 
def check
 
def getSampleTensor
 
def shuffleDimensions
 
def getDimensions
 
def __init__
 
def getOffsets
 
def getIndices
 
def isLayout
 
def isDefaultLayout
 
def isRawLayout
 
def shuffleDimensions
 
def sortOffsets
 
def getSerializationTag
 
def getSubtensorEx
 
def releaseSubtensor
 
def getSubtensor
 
def createDefaultSubtensorLayout
 
def createRawSubtensorLayout
 
def getDataMemoryStatus
 
def getNumberOfDimensions
 
def getDimensionSize
 
def getDimensions
 
def getSize
 
def check
 
def getLayoutPtr
 
def allocateDataMemory
 
def freeDataMemory
 
def resize
 
def __init__
 
def getSerializationTag
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def allocateDataMemory
 
def freeDataMemory
 
def serializationTag
 
def getSerializationTag
 
def __init__
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def setDictionary
 
def setArray
 
def getArray
 
def getDataSize
 
def getSparseBlock
 
def releaseSparseBlock
 
def serializationTag
 
def getSerializationTag
 
def resize
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def getSparseBlock
 
def releaseSparseBlock
 
def allocateDataMemory
 
def getCSRIndexing
 
def check
 
def getDataSize
 
def __init__
 
def setArrays
 
def getArrays
 
def serializationTag
 
def getSerializationTag
 
def __init__
 
def addNumericTable
 
def resize
 
def getDataMemoryStatus
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def allocateBasicStatistics
 
def serializationTag
 
def getSerializationTag
 
def __init__
 
def addNumericTable
 
def resize
 
def getDataMemoryStatus
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def getPackedArray
 
def releasePackedArray
 
def getDictionary
 
def setDictionary
 
def createDictionaryFromContext
 
def getStatus
 
def getNumberOfColumns
 
def getNumericTableNumberOfColumns
 
def getNumberOfAvailableRows
 
def allocateNumericTable
 
def getNumericTable
 
def freeNumericTable
 
def loadDataBlock
 
def getDictionary
 
def setDictionary
 
def createDictionaryFromContext
 
def loadDataBlock
 
def getNumericTable
 
def getNumberOfColumns
 
def status
 
def getNumericTableNumberOfColumns
 
def unite
 
def __init__
 
def getNumericTableAllocationFlag
 
def getDictionaryCreationFlag
 
def getParseHeaderFlag
 
def __init__
 
def apply
 
def contFunc
 
def catFunc
 
def nullFunc
 
def __init__
 
def apply
 
def __init__
 
def apply
 
def __init__
 
def odd
 
def even
 
def none
 
def list
 
def apply
 
def serializationTag
 
def getSerializationTag
 
def __init__
 
def create
 
def resetDictionary
 
def setAllFeatures
 
def setNumberOfFeatures
 
def getNumberOfFeatures
 
def getFeaturesEqual
 
def setFeature
 Adds a feature to a data dictionary. More...
 
def checkDictionary
 
def __getitem__
 
def __setitem__
 
def serializationTag
 
def getSerializationTag
 
def __init__
 
def create
 
def resetDictionary
 
def setAllFeatures
 
def setNumberOfFeatures
 
def getNumberOfFeatures
 
def getFeaturesEqual
 
def setFeature
 Adds a feature to a data dictionary. More...
 
def checkDictionary
 
def __getitem__
 
def __setitem__
 
def getBlockSharedPtr
 
def getNumberOfColumns
 
def getNumberOfRows
 
def reset
 
def resizeBuffer
 
def setDetails
 
def getColumnsOffset
 
def getRowsOffset
 
def getRWFlag
 
def getAdditionalBufferPtr
 
def getAdditionalBufferSharedPtr
 
def getArray
 
def getBlockValuesPtr
 
def getBlockValuesSharedPtr
 
def getNumberOfColumns
 
def getNumberOfRows
 
def getDataSize
 
def reset
 
def resizeValuesBuffer
 
def resizeRowsBuffer
 
def setDetails
 
def getRowsOffset
 
def getRWFlag
 
def getBlockColumnIndices
 
def getBlockRowIndices
 
def getBlockValues
 
def __init__
 Compressor<bzip2> constructor. More...
 
def setInputDataBlock
 
def run
 
def __init__
 Decompressor<bzip2> constructor. More...
 
def setInputDataBlock
 
def run
 
def serializationTag
 
def getSerializationTag
 
def create
 
def assign
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def __getitem__
 
def getArray
 
def serializationTag
 
def getSerializationTag
 
def create
 
def getTensorLayout
 
def createDefaultSubtensorLayout
 
def createRawSubtensorLayout
 
def setDimensions
 
def assign
 
def getSubtensorEx
 
def getSubtensor
 
def releaseSubtensor
 
def getSampleTensor
 
def getArray
 
def __init__
 
def getKeyByIndex
 
def getValueByIndex
 
def getValueByIndexConst
 
def size
 
def clear
 
def __getitem__
 
def __setitem__
 
def serializationTag
 
def getSerializationTag
 
def create
 
def serializationTag
 
def getSerializationTag
 
def __init__
 
def __init__
 
def getNumberOfDims
 
def getLayout
 
def getInplaceFlag
 
def reset
 
def resizeBuffer
 
def setDetails
 
def saveOffsetLayout
 
def saveOffsetLayoutCopy
 
def getSize
 
def getFixedDims
 
def getRangeDimIdx
 
def getRangeDimNum
 
def getRWFlag
 
def getArray
 
def getSubtensorDimSizes
 
def getFixedDimNums
 
def freeNumericTable
 
def allocateNumericTable
 
def getFeatureManager
 
def getNumericTableNumberOfColumns
 
def setDictionary
 
def loadDataBlock
 
def createDictionaryFromContext
 
def getNumberOfAvailableRows
 
def __init__
 
def createDictionaryFromContext
 
def getStatus
 
def serializationTag
 
def getSerializationTag
 
def create
 
def assign
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def getPackedArray
 
def releasePackedArray
 
def serializationTag
 
def getSerializationTag
 
def create
 
def setNumberOfColumns
 
def setNumberOfRows
 
def assign
 
def getBlockOfRows
 
def releaseBlockOfRows
 
def getBlockOfColumnValues
 
def releaseBlockOfColumnValues
 
def getPackedArray
 
def releasePackedArray
 
def __init__
 
def setData
 
def getData
 
def resetData
 
def createDictionaryFromContext
 
def getStatus
 
def serializationTag
 
def getSerializationTag
 
def __init__
 

Variables

 level = ...
 
 preHeadBytes = ...
 
 notEqual = ...
 
 equal = ...
 
 ntFeature = ...
 
 name_length = ...
 
 name = ...
 
 cat_dict = ...
 
 notAllocated = ...
 
 userAllocated = ...
 
 internallyAllocated = ...
 
 doNotAllocate = ...
 
 notAllocate = ...
 
 doAllocate = ...
 
 minimum = ...
 
 maximum = ...
 
 sum = ...
 
 sumSquares = ...
 
 counters = ...
 
 nonNormalized = ...
 
 standardScoreNormalized = ...
 
 minMaxNormalized = ...
 
 basicStatistics = ...
 
 notAllocated = ...
 
 userAllocated = ...
 
 internallyAllocated = ...
 
 doNotAllocate = ...
 
 notAllocate = ...
 
 doAllocate = ...
 
 zeroBased = ...
 
 oneBased = ...
 
 readyForLoad = ...
 
 waitingForRows = ...
 
 endOfData = ...
 
 notReady = ...
 
 notDictionaryFromContext = ...
 
 doDictionaryFromContext = ...
 
 notAllocateNumericTable = ...
 
 doAllocateNumericTable = ...
 
 idx = ...
 
 wide = ...
 
 nCats = ...
 
 dsFeat = ...
 
 ntFeat = ...
 
 buffer = ...
 
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 HomogenNumericTable_create
 
def HomogenTensor_serializationTag
 
def HomogenTensor_create
 
def Matrix_serializationTag
 
def Matrix_create
 
def SerializableKeyValueCollection_serializationTag
 
def PackedSymmetricMatrix_serializationTag
 
def PackedSymmetricMatrix_create
 
def PackedTriangularMatrix_serializationTag
 
def PackedTriangularMatrix_create
 
def KeyValueDataCollection_serializationTag
 

Detailed Description

Methods of the class to preprocess data represented in the CSV format.

Function Documentation

def __getitem__ (   self,
  i 
)

read operator []

def __getitem__ (   self,
  i 
)

read operator []

def __getitem__ (   self,
  i 
)

read operator []

def __getitem__ (   self,
  i 
)

read operator []

def __getitem__ (   self,
  i 
)

read operator []

def __init__ (   self,
  args 
)
def __init__ (   self,
  args 
)

Default constructor

Parameters
clevelCompression level, CompressionLevel
def __init__ (   self,
  args 
)

CompressionStream constructor

Parameters
comprPointer to a specific Compressor used for compression
minSizeOptional parameter, minimal size of internal data blocks
def __init__ (   self,
  args 
)
Parameters
decomprPointer to a specific Decompressor used for decompression
minSizeOptional parameter, minimal size of internal data blocks
def __init__ (   self,
  _preHeadBytes = 0,
  _postHeadBytes = 0 
)

LzoCompressionParameter constructor

Parameters
_preHeadBytesSize in bytes of section 1 of the LZO compressed block header
_postHeadBytesSize in bytes of section 4 of the LZO compressed block header
def __init__ (   self,
  _isBlockHeader = 1 
)

RleCompressionParameter constructor

Parameters
_isBlockHeaderRLE block header presence flag. True if a RLE block header is present, false otherwise
def __init__ (   self,
  args 
)

ZlibCompressionParameter constructor

Parameters
clevelOptional parameter, CompressionLevel. defaultLevel is equal to zlib compression level 6
bgzHeaderOptional flag. True if a simple GZIP header is included, false otherwise
def __init__ (   self,
  args 
)

Variant 1

Constructor of an empty data archive


Variant 2

Copy constructor of a data archive


Variant 3

Constructor of a data archive from data in a byte array

Parameters
ptrPointer to the array that represents the data
sizeSize of the data array
def __init__ (   self,
  compressor 
)

Constructor of a compressed data archive from compressor

Parameters
compressorPointer to the compressor
def __init__ (   self,
  decompressor 
)

Constructor of a decompressed data archive from decompressor

Parameters
decompressorPointer to the decompressor
def __init__ (   self,
  args 
)

Variant 1

Default constructor


Variant 2

Constructor of an input data archive from a DataArchiveIface The new InputDataArchive object will own the provided pointer and free it when it gets deleted.


Variant 3

Constructor of an input data archive to a byte array of compressed data

def __init__ (   self,
  args 
)

Variant 1

Constructor of an output data archive from an input data archive


Variant 2

Constructor of an output data archive from a DataArchiveIface The new OutputDataArchive object will own the provided pointer and free it when it gets deleted.


Variant 3

Constructor of an output data archive from a byte array


Variant 4

Constructor of an output data archive from a byte array of compressed data

def __init__ (   self,
  args 
)

Variant 1
Default constructor

Variant 2
Copy constructor

Variant 3

Constructor with a defined number of elements

Parameters
nNumber of elements
def __init__ (   self)

__init__(daal.data_management.DictionaryIface self) -> DictionaryIface

def __init__ (   self)
def __init__ (   self,
  args 
)

Variant 1

Constructor of a data feature


Variant 2

Copy constructor for a data feature

def __init__ (   self)

__init__(daal.data_management.NumericTable.BasicStatisticsDataCollection self) -> BasicStatisticsDataCollection

def __init__ (   self,
  args 
)

Variant 1

Constructor for TensorOffsetLayout with default layout

Parameters
dimsThe size of dimensions in the Tensor layout
Deprecated:
This item will be removed in a future release.

Variant 2

Constructor for TensorOffsetLayout with layout defined with offsets between adjacent elements in each dimension

Parameters
dimsThe size of dimensions in the Tensor layout
offsetsThe offsets between adjacent elements in each dimension
indicesCollection with dimensions order
Deprecated:
This item will be removed in a future release.
def __init__ (   self,
  ary 
)

Constructor for a Numeric Table with user-allocated memory

Parameters
aryThe structured array
def __init__ (   self,
  args 
)

Variant 1

Constructor for an empty Numeric Table

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
featuresEqualFlag that makes all features in the NumericTableDictionary equal
Deprecated:
This item will be removed in a future release. Use SOANumericTable.create instead.

Variant 2

Constructor for an empty Numeric Table with a predefined NumericTableDictionary

Parameters
ddictPointer to the predefined NumericTableDictionary
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
Deprecated:
This item will be removed in a future release.

Variant 3

Constructor for an empty Numeric Table with a predefined NumericTableDictionary

Parameters
ddictPointer to the predefined NumericTableDictionary
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
Deprecated:
This item will be removed in a future release.

Variant 4

Constructor for an empty Numeric Table with a predefined NumericTableDictionary

Parameters
ddictShared pointer to the predefined NumericTableDictionary
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
Deprecated:
This item will be removed in a future release. Use SOANumericTable.create instead.

Variant 5

Constructor for an empty Numeric Table with a predefined NumericTableDictionary

Parameters
ddictShared pointer to the predefined NumericTableDictionary
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
Deprecated:
This item will be removed in a future release. Use SOANumericTable.create instead.
def __init__ (   self,
  args 
)

Variant 1

Constructor for an empty CSR Numeric Table

Deprecated:
This item will be removed in a future release. Use CSRNumericTable.create instead.

Variant 2
Create a CSR Table from 3 numpy arrays
Parameters
valuesnumpy array with double values
colIndicesnumpy array with column indices (long ints)
rowOffsetsnumpy array with row offsets (long ints)

Variant 3
Create a CSR Table from 3 numpy arrays
Parameters
valuesnumpy array with float values
colIndicesnumpy array with column indices (long ints)
rowOffsetsnumpy array with row offsets (long ints)

Variant 4
Create a CSR Table from 3 numpy arrays
Parameters
valuesnumpy array with int values
colIndicesnumpy array with column indices (long ints)
rowOffsetsnumpy array with row offsets (long ints)
def __init__ (   self,
  args 
)

Variant 1

Constructor for an empty merge Numeric Table

Deprecated:
This item will be removed in a future release. Use MergedNumericTable.create instead.

Variant 2

Constructor for a merge Numeric Table consisting of one table

Parameters
tablePointer to the table
Deprecated:
This item will be removed in a future release. Use MergedNumericTable.create instead.

Variant 3

Constructor for a merge Numeric Table consisting of two tables

Parameters
firstPointer to the first table
secondPointer to the second table
Deprecated:
This item will be removed in a future release. Use MergedNumericTable.create instead.
def __init__ (   self,
  args 
)

Variant 1

Constructor for an empty merge Numeric Table

Deprecated:
This item will be removed in a future release. Use MergedNumericTable.create instead.

Variant 2

Constructor for a Row Merged Numeric Table consisting of one table

Parameters
tablePointer to the table
Deprecated:
This item will be removed in a future release. Use MergedNumericTable.create instead.
def __init__ (   self,
  args 
)

__init__(daal.data_management.CsvDataSourceOptions self, daal.data_management.CsvDataSourceOptions.Value flags) -> CsvDataSourceOptions

def __init__ (   self,
  args 
)
def __init__ (   self,
  idx 
)
def __init__ (   self,
  idx,
  nCats 
)

__init__(daal.data_management.OneHotEncoder self, size_t idx, size_t nCats) -> OneHotEncoder

def __init__ (   self)
def __init__ (   self,
  args 
)

Variant 1

Constructor of a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
Deprecated:
This item will be removed in a future release. Use Dictionary.create instead.

Variant 2

Constructor of a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
Deprecated:
This item will be removed in a future release. Use Dictionary.create instead.

Variant 3

Default constructor of a data dictionary

Deprecated:
This item will be removed in a future release. Use Dictionary.create instead.
def __init__ (   self,
  args 
)

Variant 1

Constructor of a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
Deprecated:
This item will be removed in a future release. Use Dictionary.create instead.

Variant 2

Constructor of a data dictionary

Parameters
nfeatNumber of features in the table
featuresEqualFlag specifying that all features have equal types and properties
Deprecated:
This item will be removed in a future release. Use Dictionary.create instead.

Variant 3

Default constructor of a data dictionary

Deprecated:
This item will be removed in a future release. Use Dictionary.create instead.
def __init__ (   self)
def __init__ (   self)
def __init__ (   self,
  args 
)

__init__(daal.data_management.KeyValueCollection<(daal.data_management.SerializationIface)> self) -> KeyValueCollection

def __init__ (   self,
  args 
)

__init__(daal.data_management.SerializableKeyValueCollection<(daal.data_management.SerializationIface)> self) -> SerializableKeyValueCollection

def __init__ (   self)

Constructor for an empty subtensor descriptor

def __init__ (   self,
  args 
)

Variant 1

Main constructor for a Data Source

Parameters
fileNameName of the file that stores data
doAllocateNumericTableFlag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source
doCreateDictionaryFromContextFlag that specifies whether a Data Dictionary is created from the context of the File Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 2

Main constructor for a Data Source

Parameters
fileNameName of the file that stores data
doAllocateNumericTableFlag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source
doCreateDictionaryFromContextFlag that specifies whether a Data Dictionary is created from the context of the File Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 3

Main constructor for a Data Source

Parameters
fileNameName of the file that stores data
doAllocateNumericTableFlag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source
doCreateDictionaryFromContextFlag that specifies whether a Data Dictionary is created from the context of the File Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 4

Main constructor for a Data Source

Parameters
fileNameName of the file that stores data
doAllocateNumericTableFlag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source
doCreateDictionaryFromContextFlag that specifies whether a Data Dictionary is created from the context of the File Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 5

Main constructor for a Data Source

Parameters
fileNameName of the file that stores data
optionsOptions of data source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 6

Main constructor for a Data Source

Parameters
fileNameName of the file that stores data
optionsOptions of data source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method
def __init__ (   self,
  args 
)

Variant 1

Main constructor for a Data Source

Parameters
dataByte array in the C-string format
doAllocateNumericTableFlag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source
doCreateDictionaryFromContextFlag that specifies whether a Data Dictionary is created from the context of the File Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 2

Main constructor for a Data Source

Parameters
dataByte array in the C-string format
doAllocateNumericTableFlag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source
doCreateDictionaryFromContextFlag that specifies whether a Data Dictionary is created from the context of the File Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 3

Main constructor for a Data Source

Parameters
dataByte array in the C-string format
doAllocateNumericTableFlag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source
doCreateDictionaryFromContextFlag that specifies whether a Data Dictionary is created from the context of the File Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method

Variant 4

Main constructor for a Data Source

Parameters
dataByte array in the C-string format
doAllocateNumericTableFlag that specifies whether a Numeric Table associated with a File Data Source is allocated inside the Data Source
doCreateDictionaryFromContextFlag that specifies whether a Data Dictionary is created from the context of the File Data Source
initialMaxRowsInitial value of maximum number of rows in Numeric Table allocated in loadDataBlock() method
def __init__ (   self,
  args 
)

__init__(daal.data_management.SerializableKeyValueCollection<(daal.data_management.SerializationIface)> self) -> KeyValueDataCollection

def __lshift__ (   self,
  inBlock 
)

Writes the next DataBlock to CompressionStream and compresses it

Parameters
inBlockNext DataBlock to be compressed
def __lshift__ (   self,
  inBlock 
)

Writes the next compressed DataBlock to DecompressionStream and decompresses it

Parameters
inBlockNext DataBlock to be decompressed
def __lshift__ (   self,
  x 
)

Adds an element to the end of a collection

Parameters
xElement to add
def __setitem__ (   self,
  i,
  v 
)

write operator []

def __setitem__ (   self,
  i,
  v 
)

write operator []

def __setitem__ (   self,
  i,
  v 
)

write operator []

def __setitem__ (   self,
  i,
  v 
)

write operator []

def addNumericTable (   self,
  table 
)

Adds the table to the right of the merge Numeric Table

Parameters
tablePointer to the table
def addNumericTable (   self,
  table 
)

Adds the table to the bottom of the Row Merged Numeric Table

Parameters
tablePointer to the table
def allocateBasicStatistics (   self)

Allocates Numeric Tables for basic statistics

def allocateBasicStatistics (   self)

Allocates Numeric Tables for basic statistics

def allocateBasicStatistics (   self)

allocateBasicStatistics(MergedNumericTable self) -> Status

def allocateDataMemory (   self,
  args 
)

Allocates memory for a data set

Deprecated:
This item will be removed in a future release.
def allocateDataMemory (   self,
  args 
)

allocateDataMemory(NumericTable self, daal.MemType type) -> Status

def allocateDataMemory (   self,
  args 
)

Allocates memory for a data set

Deprecated:
This item will be removed in a future release.
def allocateDataMemory (   self,
  args 
)

allocateDataMemory(Tensor self, daal.MemType type) -> Status

def allocateDataMemory (   self,
  args 
)

allocateDataMemory(AOSNumericTable self, daal.MemType type) -> Status

def allocateDataMemory (   self,
  args 
)

Allocates memory for a data set

Parameters
dataSizeNumber of non-zero values
typeMemory type
def allocateNumericTable (   self)

Allocates a Numeric Table associated with a Data Source

def allocateNumericTable (   self)

allocateNumericTable(DataSourceTemplate self) -> Status

def apply (   self,
  funcList,
  auxVect 
)

apply(ModifierIface self, daal.services.Collection< daal.data_management.functionT > & funcList, daal.services.Collection< daal.data_management.FeatureAuxData > & auxVect)

def apply (   self,
  funcList,
  auxVect 
)

apply(MakeCategorical self, daal.services.Collection< daal.data_management.functionT > & funcList, daal.services.Collection< daal.data_management.FeatureAuxData > & auxVect)

def apply (   self,
  funcList,
  auxVect 
)

apply(OneHotEncoder self, daal.services.Collection< daal.data_management.functionT > & funcList, daal.services.Collection< daal.data_management.FeatureAuxData > & auxVect)

def apply (   self,
  funcList,
  auxVect 
)

apply(ColumnFilter self, daal.services.Collection< daal.data_management.functionT > & funcList, daal.services.Collection< daal.data_management.FeatureAuxData > & auxVect)

def archiveFooter (   self)

Generates a footer for a data archive

def archiveFooter (   self)

Reads the footer from a data archive

def archiveHeader (   self)

Generates a header for a data archive

def archiveHeader (   self)

Reads the header from a data archive

def assign (   self,
  args 
)

Variant 1

Fills a numeric table with a constant

Parameters
valueConstant to initialize entries of the numeric table

Variant 2

Fills a numeric table with a constant

Parameters
valueConstant to initialize entries of the numeric table

Variant 3

Fills a numeric table with a constant

Parameters
valueConstant to initialize entries of the numeric table
def assign (   self,
  args 
)

Variant 1

Variant 2

Variant 3
def assign (   self,
  initValue 
)

Fills a tensor with a constant value

Parameters
initValueConstant value to initialize entries of the homogeneous tensor
def assign (   self,
  args 
)

Variant 1

Variant 2

Variant 3
def assign (   self,
  args 
)

Variant 1

Variant 2

Variant 3
def catFunc (   word,
  aux,
  arr 
)

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

def check (   self,
  description,
  checkDataAllocation = True 
)

Checks the correctness of this numeric table

Parameters
descriptionAdditional information about error
checkDataAllocationFlag that specifies whether to check the data allocation status
Returns
Check status: True if the table satisfies the requirements, false otherwise.
def check (   self,
  description,
  checkDataAllocation = True 
)
def check (   self,
  description 
)

Checks the correctness of this tensor

Parameters
descriptionAdditional information about error
Returns
Check status: True if the tensor satisfies the requirements, false otherwise.
def check (   self,
  description 
)

Checks the correctness of this tensor

Parameters
descriptionAdditional information about error
Returns
Check status: True if the tensor satisfies the requirements, false otherwise.
def check (   self,
  description,
  checkDataAllocation = True 
)
def checkDictionary (   self)

checkDictionary(NumericTableDictionary self) -> Status

def checkDictionary (   self)

checkDictionary(DataSourceDictionary self) -> Status

def checkInputParams (   self,
  inBlock 
)

Basic checks of input block parameters

Parameters
inBlockPointer to the input data block
sizeSize in bytes of the input data block
def checkOutputParams (   self,
  outBlock 
)

Basic checks of output block parameters

Parameters
outBlockPointer to output data block
sizeSize in bytes of the output data block
def clear (   self)

Clears a collection: removes an array, sets the size and capacity to 0

def clear (   self)

Removes all elements from a container

def contFunc (   word,
  aux,
  arr 
)

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

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 copyArchiveToArray (   self,
  ptr 
)

Copies a data archive in the byte format to user-specified memory

Parameters
ptrPointer to the byte array
maxLengthSize of the array
Returns
Actual size of the data archive in bytes
def copyArchiveToArray (   self,
  ptr 
)

copyArchiveToArray(DataArchive self, daal.byte * ptr) -> size_t

def copyArchiveToArray (   self,
  ptr 
)

copyArchiveToArray(CompressedDataArchive self, daal.byte * ptr) -> size_t

def copyArchiveToArray (   self,
  ptr 
)

copyArchiveToArray(DecompressedDataArchive self, daal.byte * ptr) -> size_t

def copyArchiveToArray (   self,
  ptr 
)

Copies a data archive in the byte format to user-specified memory

Parameters
ptrPointer to the byte array
maxLengthSize of the array
Returns
Actual size of the data archive in bytes
def copyCompressedArray (   self,
  args 
)

Variant 1

Copies compressed data stored in CompressionStream to an external array

Parameters
outPtrPointer to the array where compressed data is stored
outSizeNumber of bytes available in external memory
Returns
Size of copied data in bytes

Variant 2

Copies compressed data stored in CompressionStream to an external DataBlock

Parameters
outBlockReference to the DataBlock where compressed data is stored
Returns
Size of copied data in bytes
def copyDecompressedArray (   self,
  args 
)

Variant 1

Copies decompressed data stored in DecompressionStream to an external array

Parameters
outPtrPointer to the array where decompressed data is stored
outSizeNumber of bytes available in external memory
Returns
Size of copied data in bytes

Variant 2

Copies decompressed data stored in DecompressionStream to an external DataBlock

Parameters
outBlockReference to the DataBlock where decompressed data is stored. Size of DataBlock must be at least getDecompressedSize() bytes
def 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 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 create (   args)

Variant 1

Constructs an empty Numeric Table with a predefined NumericTableDictionary

Parameters
ddictForHomogenNumericTablePointer to the predefined NumericTableDictionary
statStatus of the numeric table construction
Returns
Empty numeric table with a predefined NumericTableDictionary

Variant 2

Constructs an empty Numeric Table with a predefined NumericTableDictionary

Parameters
ddictForHomogenNumericTablePointer to the predefined NumericTableDictionary
statStatus of the numeric table construction
Returns
Empty numeric table with a predefined NumericTableDictionary

Variant 3

Constructs an empty Numeric Table

Parameters
statStatus of the numeric table construction
Returns
Empty numeric table

Variant 4

Constructs an empty Numeric Table

Parameters
statStatus of the numeric table construction
Returns
Empty numeric table

Variant 5

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Variant 6

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Variant 7

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Variant 8

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Variant 9

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 10:*

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 11:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 12:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 13:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 14:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 15:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 16:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 17:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 18:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 19:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 20:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 21:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 22:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 23:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 24:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 25:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 26:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the numeric table construction
Returns
Numeric table

Overload 27:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the numeric table construction
Returns
Numeric table

Overload 28:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the numeric table construction
Returns
Numeric table

Overload 29:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the numeric table construction
Returns
Numeric table

Overload 30:*

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table initialized with a constant

Overload 31:*

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table initialized with a constant

Overload 32:*

Constructs a numeric table with memory allocation controlled via a flag and fills the table with a constant

Parameters
featuresEqualFlag that makes all features in the numeric table data dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table initialized with a constant

Overload 33:*

Constructs a numeric table with memory allocation controlled via a flag and fills the table with a constant

Parameters
featuresEqualFlag that makes all features in the numeric table data dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table initialized with a constant
def create (   args)

Variant 1

Constructs an empty homogeneous tensor

Parameters
statStatus of the tensor construction
Returns
Empty homogeneous tensor

Variant 2

Constructs an empty homogeneous tensor

Parameters
statStatus of the tensor construction
Returns
Empty homogeneous tensor

Variant 3

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
nDimNumber of dimensions
dimSizesArray with sizes for each dimension
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 4

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
nDimNumber of dimensions
dimSizesArray with sizes for each dimension
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 5

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
nDimNumber of dimensions
dimSizesArray with sizes for each dimension
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 6

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
nDimNumber of dimensions
dimSizesArray with sizes for each dimension
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 7

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
dimsCollection of tensor dimensions
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 8

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
dimsCollection of tensor dimensions
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 9

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
dimsCollection of tensor dimensions
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Overload 10:*

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
dimsCollection of tensor dimensions
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Overload 11:*

Constructs homogeneous tensor with a user-defined data and layout

Parameters
layoutTensor layout
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data and layout

Overload 12:*

Constructs homogeneous tensor with a user-defined data and layout

Parameters
layoutTensor layout
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data and layout

Overload 13:*

Constructs homogeneous tensor with a user-defined data and layout

Parameters
layoutTensor layout
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data and layout

Overload 14:*

Constructs homogeneous tensor with a user-defined data and layout

Parameters
layoutTensor layout
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data and layout

Overload 15:*

Constructs homogeneous tensor with a user-defined dimensions and memory allocation flag

Parameters
dimsCollection of tensor dimensions
memoryAllocationFlagFlag specifying memory allocation
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined dimensions

Overload 16:*

Constructs homogeneous tensor with a user-defined dimensions and memory allocation flag

Parameters
dimsCollection of tensor dimensions
memoryAllocationFlagFlag specifying memory allocation
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined dimensions

Overload 17:*

Constructs homogeneous tensor with a user-defined dimensions and memory allocation flag and fills it with the constant values

Parameters
dimsCollection of tensor dimensions
memoryAllocationFlagFlag specifying memory allocation
initValueConstant value
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined dimensions

Overload 18:*

Constructs homogeneous tensor with a user-defined dimensions and memory allocation flag and fills it with the constant values

Parameters
dimsCollection of tensor dimensions
memoryAllocationFlagFlag specifying memory allocation
initValueConstant value
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined dimensions
def create (   args)

Variant 1

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 2

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 3

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 4

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 5

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 6

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 7

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 8

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 9

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 10:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 11:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 12:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 13:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 14:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 15:*

Constructs a matrix with memory allocation controlled via a flag

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the matrix construction
Returns
Matrix

Overload 16:*

Constructs a matrix with memory allocation controlled via a flag

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the matrix construction
Returns
Matrix

Overload 17:*

Constructs a matrix with memory allocation controlled via a flag

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the matrix construction
Returns
Matrix

Overload 18:*

Constructs a matrix with memory allocation controlled via a flag

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the matrix construction
Returns
Matrix

Overload 19:*

Constructs a matrix and fills it with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 20:*

Constructs a matrix and fills it with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 21:*

Constructs a matrix and fills it with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 22:*

Constructs a matrix and fills it with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 23:*

Constructs a matrix and fills it with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 24:*

Constructs a matrix and fills it with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 25:*

Constructs a matrix and fills it with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 26:*

Constructs a matrix and fills it with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 27:*

Constructor for a matrix with memory allocation controlled via a flag and filling the matrix with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 28:*

Constructor for a matrix with memory allocation controlled via a flag and filling the matrix with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 29:*

Constructor for a matrix with memory allocation controlled via a flag and filling the matrix with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 30:*

Constructor for a matrix with memory allocation controlled via a flag and filling the matrix with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 31:* Create a Matrix from a numpy array.

Parameters
narraynumpy array

Overload 32:* Create a Matrix from a numpy array. Initialize with given value.

Parameters
narraynumpy array
valuevalue to fill matrix with
def create (   args)

Variant 1

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 2

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 3

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 4

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 5

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 6

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 7

Constructs a numeric table with user-allocated memory and fills the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table with user-allocated memory initialized with a constant

Variant 8

Constructs a numeric table with user-allocated memory and fills the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table with user-allocated memory initialized with a constant

Variant 9

Constructs a numeric table with user-allocated memory and fills the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table with user-allocated memory initialized with a constant

Overload 10:*

Constructs a numeric table with user-allocated memory and fills the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table with user-allocated memory initialized with a constant

Overload 11:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
nDimMatrix dimension
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the table construction
Returns
Numeric table

Overload 12:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
nDimMatrix dimension
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the table construction
Returns
Numeric table

Overload 13:*

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
nDimMatrix dimension
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table initialized with a constant

Overload 14:*

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
nDimMatrix dimension
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table initialized with a constant
def create (   args)

create(double *const ptr=None, size_t nDim=0, Status stat=None) -> daal.services.SharedPtr< daal.data_management.PackedTriangularMatrix< daal.data_management.NumericTableIface.upperPackedTriangularMatrix,double > >

def createDefaultSubtensorLayout (   self)

createDefaultSubtensorLayout(DenseTensorIface self) -> TensorOffsetLayout

def createDefaultSubtensorLayout (   self)

Creates default tensor layout

Returns
Layout
def createDictionaryFromContext (   self)

Creates a Data Dictionary by extracting information from a Data Source

def createDictionaryFromContext (   self)

createDictionaryFromContext(DataSource self) -> Status

def createDictionaryFromContext (   self)

createDictionaryFromContext(CsvDataSource self) -> Status

def createDictionaryFromContext (   self)

createDictionaryFromContext(FileDataSource self) -> Status

def createDictionaryFromContext (   self)

createDictionaryFromContext(StringDataSource self) -> Status

def createRawSubtensorLayout (   self)

createRawSubtensorLayout(DenseTensorIface self) -> TensorOffsetLayout

def createRawSubtensorLayout (   self)

Creates raw tensor layout

Returns
Layout
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 deserialize (   self,
  archive 
)

Performs deserialization

Parameters
archiveStorage for a deserialized object or data structure
def erase (   self,
  pos 
)

Erase an element from a position

Parameters
posPosition to erase
def even (   self)

even(ColumnFilter self) -> ColumnFilter

def freeDataMemory (   self)

Deallocates the memory allocated for a data set

Deprecated:
This item will be removed in a future release.
def freeDataMemory (   self)

freeDataMemory(NumericTable self)

def freeDataMemory (   self)

Deallocates the memory allocated for a data set

Deprecated:
This item will be removed in a future release.
def freeDataMemory (   self)

freeDataMemory(Tensor self) -> Status

def freeDataMemory (   self)

freeDataMemory(AOSNumericTable self)

def freeNumericTable (   self)

Returns a pointer to a Numeric Table associated with a Data Source

def freeNumericTable (   self)

freeNumericTable(DataSourceTemplate self)

def get (   self)

Performs deserialization of the objects stored in output data archive

Returns
Shared pointer for the deserialized object
def get (   self,
  args 
)

Variant 1

Element access

Parameters
indexIndex of an accessed element
Returns
Reference to the element

Variant 2

Const element access

Parameters
indexIndex of an accessed element
Returns
Reference to the element
def get (   self,
  id 
)

get(BasicStatisticsDataCollection self, daal.data_management.NumericTableIface.BasicStatisticsId id) -> daal.services.SharedPtr< daal.data_management.NumericTable >

def getAdditionalBufferPtr (   self)

Gets a pointer o the additional memory buffer

Returns
pointer
def getAdditionalBufferSharedPtr (   self)

getAdditionalBufferSharedPtr(BlockDescriptor self) -> daal.services.SharedPtr< double >

def getArchiveAsArray (   self)

Returns Archive data as numpy byte array.

Returns
Archive data as numpy byte array.
def getArchiveAsArray (   self)

Returns Archive data as numpy byte array.

Returns
Archive data as numpy byte array.
def getArchiveAsString (   self)

Returns a data archive in the STL string format

Returns
Object of the std.string type with the archive data
Deprecated:
This item will be removed in a future release.
def getArchiveAsString (   self)

getArchiveAsString(DataArchive self) -> std.string

def getArchiveAsString (   self)

getArchiveAsString(CompressedDataArchive self) -> std.string

def getArchiveAsString (   self)

getArchiveAsString(DecompressedDataArchive self) -> std.string

def getArchiveAsString (   self)

Returns a data archive in the STL string format

Returns
Object of the std.string type with the archive data
Deprecated:
This item will be removed in a future release.
def getArray (   self)

Returns block as array.

Returns
block as numpy array.
def getArray (   self,
  index 
)

Returns a pointer to a numpy array of values for a given feature

Parameters
indexFeature index
Returns
numpy array for given index
def getArray (   self)

Returns data block of this descriptor as double numpy array.

Returns
data block as double numpy array
def getArray (   self)

Returns data of entire table as double numpy array.

Returns
table data as double numpy array
def getArray (   self)

Returns data of entire tensor as double numpy array.

Returns
tensor data as double numpy array
def getArray (   self)

Returns data block of this descriptor as double numpy array.

Returns
data block as double numpy array
def getArrays (   self)

Returns numpy arrays with the data set stored in the CSR layout

Returns
3-tuple of numpy arrays (values, column-indices, row-offsets)
def getBlockColumnIndices (   self)

Returns column indices.

Returns
numpy array with coloumn indices.
def getBlockOfColumnValues (   self,
  args 
)

Variant 1

Gets a block of values for a given feature.

Parameters
feature_idxFeature index.
vector_idxIndex of the first feature vector to include into the block.
value_numNumber of feature values in the block.
rwflagFlag specifying read/write access to the block of feature values.
blockThe block of feature values.
Returns
Actual number of feature values returned by the method.

Variant 2

Gets a block of values for a given feature.

Parameters
feature_idxFeature index.
vector_idxIndex of the first feature vector to include into the block.
value_numNumber of feature values in the block.
rwflagFlag specifying read/write access to the block of feature values.
blockThe block of feature values.
Returns
Actual number of feature values returned by the method.

Variant 3

Gets a block of values for a given feature.

Parameters
feature_idxFeature index.
vector_idxIndex of the first feature vector to include into the block.
value_numNumber of feature values in the block.
rwflagFlag specifying read/write access to the block of feature values.
blockThe block of feature values.
Returns
Actual number of feature values returned by the method.
def getBlockOfColumnValues (   self,
  args 
)

getBlockOfColumnValues(AOSNumericTable self, size_t feature_idx, size_t vector_idx, size_t value_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfColumnValues (   self,
  args 
)

getBlockOfColumnValues(SOANumericTable self, size_t feature_idx, size_t vector_idx, size_t value_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfColumnValues (   self,
  args 
)

getBlockOfColumnValues(CSRNumericTable self, size_t feature_idx, size_t vector_idx, size_t value_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfColumnValues (   self,
  args 
)

getBlockOfColumnValues(MergedNumericTable self, size_t feature_idx, size_t vector_idx, size_t value_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfColumnValues (   self,
  args 
)

getBlockOfColumnValues(RowMergedNumericTable self, size_t feature_idx, size_t vector_idx, size_t value_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfColumnValues (   self,
  args 
)

getBlockOfColumnValues(HomogenNumericTable self, size_t feature_idx, size_t vector_idx, size_t value_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfColumnValues (   self,
  args 
)

getBlockOfColumnValues(PackedSymmetricMatrix self, size_t feature_idx, size_t vector_idx, size_t value_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfColumnValues (   self,
  args 
)

getBlockOfColumnValues(PackedTriangularMatrix self, size_t feature_idx, size_t vector_idx, size_t value_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfColumnValuesAsDouble (   self,
  feature_idx,
  vector_idx,
  value_num 
)

Returns and array for the given column-block specification as double

Parameters
feature_idxFeature index.
vector_idxIndex of the first feature vector to include into the block.
value_numNumber of feature values in the block.
Returns
block as double numpy array.
def getBlockOfColumnValuesAsFloat (   self,
  feature_idx,
  vector_idx,
  value_num 
)

Returns and array for the given column-block specification as float

Parameters
feature_idxFeature index.
vector_idxIndex of the first feature vector to include into the block.
value_numNumber of feature values in the block.
Returns
block as float numpy array.
def getBlockOfColumnValuesAsInt (   self,
  feature_idx,
  vector_idx,
  value_num 
)

Returns and array for the given column-block specification as int

Parameters
feature_idxFeature index.
vector_idxIndex of the first feature vector to include into the block.
value_numNumber of feature values in the block.
Returns
block as int numpy array.
def getBlockOfRows (   self,
  args 
)

Variant 1

Gets a block of rows from a table.

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
rwflagFlag specifying read/write access to the block of feature vectors.
blockThe block of feature vectors.
Returns
Actual number of feature vectors returned by the method.

Variant 2

Gets a block of rows from a table.

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
rwflagFlag specifying read/write access to the block of feature vectors.
blockThe block of feature vectors.
Returns
Actual number of feature vectors returned by the method.

Variant 3

Gets a block of rows from a table.

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
rwflagFlag specifying read/write access to the block of feature vectors.
blockThe block of feature vectors.
Returns
Actual number of feature vectors returned by the method.
def getBlockOfRows (   self,
  args 
)

getBlockOfRows(AOSNumericTable self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfRows (   self,
  args 
)

getBlockOfRows(SOANumericTable self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfRows (   self,
  args 
)

getBlockOfRows(CSRNumericTable self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfRows (   self,
  args 
)

getBlockOfRows(MergedNumericTable self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfRows (   self,
  args 
)

getBlockOfRows(RowMergedNumericTable self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfRows (   self,
  args 
)

getBlockOfRows(HomogenNumericTable self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfRows (   self,
  args 
)

getBlockOfRows(PackedSymmetricMatrix self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfRows (   self,
  args 
)

getBlockOfRows(PackedTriangularMatrix self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getBlockOfRowsAsDouble (   self,
  vector_idx,
  vector_num 
)

Returns and array for the given row-block spcification as double

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
Returns
block as double numpy array.
def getBlockOfRowsAsFloat (   self,
  vector_idx,
  vector_num 
)

Returns and array for the given row-block spcification as float

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
Returns
block as float numpy array.
def getBlockOfRowsAsInt (   self,
  vector_idx,
  vector_num 
)

Returns and array for the given row-block spcification as int

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
Returns
block as int numpy array.
def getBlockRowIndices (   self)

Returns row inidces.

Returns
numpy array with row indices.
def getBlockSharedPtr (   self)

Gets a pointer to the buffer

Returns
Pointer to the block
def getBlockValues (   self)

Returns values as double.

Returns
numpy array with double values.
def getBlockValuesPtr (   self)

Gets a pointer to the buffer

Returns
Pointer to the block
def getBlockValuesSharedPtr (   self)

Gets a pointer to the buffer

Returns
Pointer to the block
def getCategoricalDictionary (   self)

Gets a categorical features dictionary

Returns
Pointer to the categorical features dictionary
def getColumnsOffset (   self)

Gets the number of columns in the numeric table preceding the first element in the block

Returns
columns offset
def getCompressedBlocksCollection (   self)

Provides access to compressed data blocks stored in CompressionStream

Returns
Pointer to an internal DataBlockCollection
def getCompressedDataSize (   self)

Returns the size of compressed data stored in CompressionStream

Returns
Size in bytes
def getCSRIndexing (   self)

Returns the indexing scheme for access to data in the CSR layout

Returns
CSR layout indexing
def getData (   self)

Gets data source string data

Returns
Byte array in the C-string format
def getDataArchive (   self)

Returns a data archive object of the InputDataArchive type

Returns
Data archive object
def getDataLayout (   self)

Returns a data layout used in the Numeric Table

Returns
Data layout
def getDataLayout (   self)

getDataLayout(NumericTable self) -> daal.data_management.NumericTableIface.StorageLayout

def getDataMemoryStatus (   self)

Gets the status of the memory used by a data set connected with a Numeric Table

def getDataMemoryStatus (   self)

Gets the status of the memory used by a data set connected with a Tensor

def getDataMemoryStatus (   self)

getDataMemoryStatus(MergedNumericTable self) -> daal.data_management.NumericTableIface.MemoryStatus

def getDataMemoryStatus (   self)

getDataMemoryStatus(RowMergedNumericTable self) -> daal.data_management.NumericTableIface.MemoryStatus

def getDataSize (   self)

Returns number of elements in values array.

Returns
Number of elements in values array.
def getDataSize (   self)

getDataSize(CSRNumericTable self) -> size_t

def getDataSize (   self)

Returns number of elements in values array.

Returns
Number of elements in values array.
def getDecompressedBlocksCollection (   self)

Provides access to decompressed data blocks stored in DecompressionStream

Returns
Pointer to internal DataBlockCollection
def getDecompressedDataSize (   self)

Returns the size of decompressed data stored in DecompressionStream

Returns
Size in bytes
def getDictionary (   self)

Returns a pointer to a data dictionary

Returns
Pointer to the data dictionary
Deprecated:
This item will be removed in a future release.
def getDictionary (   self)

getDictionary(NumericTable self) -> NumericTableDictionary

def getDictionary (   self)

Returns a pointer to a data dictionary

Returns
Pointer to the Data Dictionary
def getDictionary (   self)

getDictionary(DataSource self) -> DataSourceDictionary

def getDictionaryCreationFlag (   self)

getDictionaryCreationFlag(CsvDataSourceOptions self) -> daal.data_management.DataSource.DictionaryCreationFlag

def getDimensions (   self)

Gets the size of dimensions in the Tensor layout

Returns
Collection with sizes for each dimension
def getDimensions (   self)

Gets the size of dimensions in the Tensor

Returns
Collection with sizes for each dimension
def getDimensionSize (   self,
  dimIdx 
)

Gets the size of the dimension in the Tensor

Parameters
dimIdxIndex of dimension
Returns
Dimension size
def getFeatureManager (   self)

Returns a feature manager associated with a File Data Source

def getFeatureName (   self)

Returns the name of the feature

def getFeaturesEqual (   self)

Returns the value of the featuresEqual flag

Returns
Value of the featuresEqual flag
def getFeaturesEqual (   self)

Returns the value of the featuresEqual flag

Returns
Value of the featuresEqual flag
def getFeatureType (   self,
  feature_idx 
)

Returns the type of a given feature

Parameters
feature_idxFeature index
Returns
Feature type
def getFeatureType (   self,
  feature_idx 
)

getFeatureType(NumericTable self, size_t feature_idx) -> daal.data_management.features.FeatureType

def getFixedDimNums (   self)

Gets values at which dimensions are fixed

Returns
An array of values
def getFixedDims (   self)

Gets the number of first dimension with fixed values

Returns
The number of first dimension with fixed values
def getIndexType (   self)

getIndexType(DataSourceFeature self) -> daal.data_management.features.IndexNumType

def getIndices (   self)

Gets the dimensions order

Returns
Collection with dimensions order
def getInplaceFlag (   self)

Returns subtensor inplace flag

Returns
Inplace flag
def getKeyByIndex (   self,
  idx 
)

Returns a reference to SharedPtr for a stored key with a given index

Parameters
idxIndex of the requested key
Returns
Reference to SharedPtr of the size_t type
def getLayout (   self)

Returns subtensor layout

Returns
Layout
def getLayoutPtr (   self)

getLayoutPtr(Tensor self) -> TensorLayout

def getMajorVersion (   self)

Returns the major version of the archive

Returns
The major version of the archive
def getMajorVersion (   self)

getMajorVersion(DataArchiveImpl self) -> int

def getMajorVersion (   self)

Returns the major version of the library used for object serialization

Returns
Version of the library
def getMinorVersion (   self)

Returns the minor version of the archive

Returns
The minor version of the archive
def getMinorVersion (   self)

getMinorVersion(DataArchiveImpl self) -> int

def getMinorVersion (   self)

Returns the minor version of the library used for object serialization

Returns
Version of the library
def getNumberOfAvailableRows (   self)

Returns the number of rows available in a Data Source

Returns
Number of rows
def getNumberOfAvailableRows (   self)

getNumberOfAvailableRows(CsvDataSource self) -> size_t

def getNumberOfCategories (   self,
  feature_idx 
)

Returns the number of categories for a given feature

Parameters
feature_idxFeature index
Returns
Number of categories
def getNumberOfCategories (   self,
  feature_idx 
)

getNumberOfCategories(NumericTable self, size_t feature_idx) -> size_t

def getNumberOfColumns (   self)

Returns the number of columns in the Numeric Table

Returns
Number of columns
def getNumberOfColumns (   self)

Returns the number of columns in a Data Source

Returns
Number of columns
def getNumberOfColumns (   self)

getNumberOfColumns(DataSource self) -> size_t

def getNumberOfColumns (   self)

Returns the number of columns in the block

Returns
Number of columns
def getNumberOfColumns (   self)

Returns the number of columns in the block

Returns
Number of columns
def getNumberOfDimensions (   self)

Gets the number of dimensions in the Tensor

Returns
Number of dimensions
def getNumberOfDims (   self)

Returns the number of dimensions of the subtensor

Returns
Number of dimensions of the subtensor
def getNumberOfFeatures (   self)

Returns the number of features

Returns
Number of features
def getNumberOfFeatures (   self)

Returns the number of features

Returns
Number of features
def getNumberOfRows (   self)

Returns the number of rows in the Numeric Table

Returns
Number of rows
def getNumberOfRows (   self)

Returns the number of rows in the block

Returns
Number of rows
def getNumberOfRows (   self)

Returns the number of rows in the block

Returns
Number of rows
def getNumericTable (   self)

Returns a pointer to a Numeric Table associated with a Data Source

Returns
Pointer to the Numeric Table
def getNumericTable (   self)

getNumericTable(DataSource self) -> daal.data_management.NumericTablePtr

def getNumericTableAllocationFlag (   self)

getNumericTableAllocationFlag(CsvDataSourceOptions self) -> daal.data_management.DataSource.NumericTableAllocationFlag

def getNumericTableNumberOfColumns (   self)

Returns the number of columns in a Numeric Table associated with a Data Source

Returns
Number of columns
def getNumericTableNumberOfColumns (   self)

getNumericTableNumberOfColumns(DataSource self) -> size_t

def getNumericTableNumberOfColumns (   self)

getNumericTableNumberOfColumns(CsvDataSource self) -> size_t

def getOffsets (   self)

Gets the offsets between adjacent elements in each dimension

Returns
Collection with offsets for each dimension
def getPackedArray (   self,
  args 
)

Variant 1

Gets the whole packed array of a requested data type

Parameters
rwflagFlag specifying read/write access to a block of feature vectors.
blockThe block of feature values.
Returns
Actual number of feature vectors returned by the method.

Variant 2

Gets the whole packed array of a requested data type

Parameters
rwflagFlag specifying read/write access to a block of feature vectors.
blockThe block of feature values.
Returns
Actual number of feature vectors returned by the method.

Variant 3

Gets the whole packed array of a requested data type

Parameters
rwflagFlag specifying read/write access to a block of feature vectors.
blockThe block of feature values.
Returns
Actual number of feature vectors returned by the method.
def getPackedArray (   self,
  args 
)

getPackedArray(PackedSymmetricMatrix self, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getPackedArray (   self,
  args 
)

getPackedArray(PackedTriangularMatrix self, daal.data_management.ReadWriteMode rwflag, BlockDescriptor block) -> Status

def getParseHeaderFlag (   self)

getParseHeaderFlag(CsvDataSourceOptions self) -> bool

def getRangeDimIdx (   self)

Gets values for the next dimension after fixed to get data from

Returns
Value of the dimension
def getRangeDimNum (   self)

Gets range for dimension values to get data from

Returns
Range for dimension values to get data from
def getRowsOffset (   self)

Gets the number of rows in the numeric table preceding the first element in the block

Returns
rows offset
def getRowsOffset (   self)

getRowsOffset(CSRBlockDescriptor self) -> size_t

def getRWFlag (   self)

Gets the flag specifying read/write access to the block

Returns
flag
def getRWFlag (   self)

getRWFlag(CSRBlockDescriptor self) -> size_t

def getRWFlag (   self)

Returns a flag specifying read/write access to the subtensor

Returns
Flag specifying read/write access to the subtensor
def getSampleTensor (   self,
  firstDimIndex 
)

Returns new tensor with first dimension limited to one point

Parameters
firstDimIndexIndex of the point in the first dimention
Deprecated:
This item will be removed in a future release.
def getSampleTensor (   self,
  firstDimIndex 
)

getSampleTensor(HomogenTensor self, size_t firstDimIndex) -> daal.services.SharedPtr< daal.data_management.Tensor >

def getSerializationTag (   self)

Returns a serialization tag, a unique identifier of this class used in serialization

Returns
Serialization tag
def getSerializationTag (   self)

getSerializationTag(DataCollection self) -> int

def getSerializationTag (   self)

getSerializationTag(DataSourceFeature self) -> int

def getSerializationTag (   self)

getSerializationTag(TensorOffsetLayout self) -> int

def getSerializationTag (   self)

getSerializationTag(AOSNumericTable self) -> int

def getSerializationTag (   self)

getSerializationTag(SOANumericTable self) -> int

def getSerializationTag (   self)

getSerializationTag(CSRNumericTable self) -> int

def getSerializationTag (   self)

getSerializationTag(MergedNumericTable self) -> int

def getSerializationTag (   self)

getSerializationTag(RowMergedNumericTable self) -> int

def getSerializationTag (   self)

getSerializationTag(NumericTableDictionary self) -> int

def getSerializationTag (   self)

getSerializationTag(DataSourceDictionary self) -> int

def getSerializationTag (   self)

getSerializationTag(HomogenNumericTable self) -> int

def getSerializationTag (   self)

getSerializationTag(HomogenTensor self) -> int

def getSerializationTag (   self)

getSerializationTag(Matrix self) -> int

def getSerializationTag (   self)

getSerializationTag(SerializableKeyValueCollection self) -> int

def getSerializationTag (   self)

getSerializationTag(PackedSymmetricMatrix self) -> int

def getSerializationTag (   self)

getSerializationTag(PackedTriangularMatrix self) -> int

def getSerializationTag (   self)

getSerializationTag(KeyValueDataCollection self) -> int

def getSize (   self)

getSize(DataBlock self) -> size_t

def getSize (   self,
  args 
)

Variant 1

Returns the full size of the tensor in number of elements

Returns
The full size of the tensor in number of elements

Variant 2

Returns the product of sizes of the range of dimensions

Parameters
startingIdxThe first dimension to include in the range
rangeSizeNumber of dimensions to include in the range
Returns
The product of sizes of the range of dimensions
def getSize (   self)

Returns the full size of the subtensor in number of elements

Returns
The full size of the subtensor in number of elements
def getSizeOfArchive (   self)

Returns the size of an archive

Returns
Size of the archive in bytes
def getSizeOfArchive (   self)

getSizeOfArchive(DataArchive self) -> size_t

def getSizeOfArchive (   self)

getSizeOfArchive(CompressedDataArchive self) -> size_t

def getSizeOfArchive (   self)

getSizeOfArchive(DecompressedDataArchive self) -> size_t

def getSizeOfArchive (   self)

Returns the size of an archive

Returns
Size of the archive in bytes
def getSparseBlock (   self,
  args 
)

Variant 1

Gets a block of feature vectors in the CSR layout.

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
rwflagFlag specifying read/write access to the block of feature vectors.
blockThe block of feature values.
Returns
Actual number of feature vectors returned by the method.

Variant 2

Gets a block of feature vectors in the CSR layout.

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
rwflagFlag specifying read/write access to the block of feature vectors.
blockThe block of feature values.
Returns
Actual number of feature vectors returned by the method.

Variant 3

Gets a block of feature vectors in the CSR layout.

Parameters
vector_idxIndex of the first row to include into the block.
vector_numNumber of rows in the block.
rwflagFlag specifying read/write access to the block of feature vectors.
blockThe block of feature values.
Returns
Actual number of feature vectors returned by the method.
def getSparseBlock (   self,
  args 
)

getSparseBlock(CSRNumericTable self, size_t vector_idx, size_t vector_num, daal.data_management.ReadWriteMode rwflag, CSRBlockDescriptor block) -> Status

def getStatus (   self)

Returns the status of a Data Source

Returns
Status of the Data Source
def getStatus (   self)

getStatus(FileDataSource self) -> daal.data_management.DataSourceIface.DataSourceStatus

def getStatus (   self)

getStatus(StringDataSource self) -> daal.data_management.DataSourceIface.DataSourceStatus

def getSubtensor (   self,
  args 
)

Variant 1

Gets subtensor from the tensor

Parameters
fixedDimsThe number of first dimension with fixed values
fixedDimNumsValues at which dimensions are fixed
rangeDimIdxValues for the next dimension after fixed to get data from
rangeDimNumRange for dimension values to get data from
rwflagFlag specifying read/write access to the subtensor
subtensorThe subtensor descriptor.

Variant 2

Gets subtensor from the tensor

Parameters
fixedDimsThe number of first dimension with fixed values
fixedDimNumsValues at which dimensions are fixed
rangeDimIdxValues for the next dimension after fixed to get data from
rangeDimNumRange for dimension values to get data from
rwflagFlag specifying read/write access to the subtensor
subtensorThe subtensor descriptor.

Variant 3

Gets subtensor from the tensor

Parameters
fixedDimsThe number of first dimension with fixed values
fixedDimNumsValues at which dimensions are fixed
rangeDimIdxValues for the next dimension after fixed to get data from
rangeDimNumRange for dimension values to get data from
rwflagFlag specifying read/write access to the subtensor
subtensorThe subtensor descriptor.
def getSubtensor (   self,
  args 
)

getSubtensor(HomogenTensor self, size_t fixedDims, size_t rangeDimIdx, size_t rangeDimNum, daal.data_management.ReadWriteMode rwflag, SubtensorDescriptor subtensor) -> Status

def getSubtensorDimSizes (   self)

Returns the array with sizes of dimensions of the subtensor

Returns
Array with sizes of the dimensions of the subtensor
def getSubtensorEx (   self,
  args 
)

Variant 1

Gets subtensor from the tensor

Parameters
fixedDimsThe number of first dimension with fixed values
fixedDimNumsValues at which dimensions are fixed
rangeDimIdxValues for the next dimension after fixed to get data from
rangeDimNumRange for dimension values to get data from
rwflagFlag specifying read/write access to the subtensor
subtensorThe subtensor descriptor.
layoutLayout of the requested subtensor

Variant 2

Gets subtensor from the tensor

Parameters
fixedDimsThe number of first dimension with fixed values
fixedDimNumsValues at which dimensions are fixed
rangeDimIdxValues for the next dimension after fixed to get data from
rangeDimNumRange for dimension values to get data from
rwflagFlag specifying read/write access to the subtensor
subtensorThe subtensor descriptor.
layoutLayout of the requested subtensor

Variant 3

Gets subtensor from the tensor

Parameters
fixedDimsThe number of first dimension with fixed values
fixedDimNumsValues at which dimensions are fixed
rangeDimIdxValues for the next dimension after fixed to get data from
rangeDimNumRange for dimension values to get data from
rwflagFlag specifying read/write access to the subtensor
subtensorThe subtensor descriptor.
layoutLayout of the requested subtensor
def getSubtensorEx (   self,
  args 
)

getSubtensorEx(HomogenTensor self, size_t fixedDims, size_t rangeDimIdx, size_t rangeDimNum, daal.data_management.ReadWriteMode rwflag, SubtensorDescriptor block, TensorOffsetLayout layout) -> Status

def getTensorLayout (   self)

Returns a homogeneous tensor offset layout

Returns
Layout
def getUpdateVersion (   self)

Returns the update version of the archive

Returns
The update version of the archive
def getUpdateVersion (   self)

getUpdateVersion(DataArchiveImpl self) -> int

def getUpdateVersion (   self)

Returns the update version of the library used for object serialization

Returns
Version of the library
def getUsedOutputDataBlockSize (   self)

Returns the number of bytes used after a call to the run() method

Returns
Number of used bytes
def getUsedOutputDataBlockSize (   self)

getUsedOutputDataBlockSize(Compression self) -> size_t

def getValue_{Float64|Float32|Intc} (   self,
  args 
)

Variant 1

Returns value by given column and row from the numeric table

Parameters
columnColumn
rowRow
Returns
Value from numeric table

Variant 2

Returns value by given column and row from the numeric table

Parameters
columnColumn
rowRow
[in,out]statusStatus of the operation
Returns
Value from numeric table
Full Names
  • getValue_Float64 is for float64
  • getValue_Float32 is for float32
  • getValue_Intc is for intc
def getValueByIndex (   self,
  idx 
)

Returns a reference to SharedPtr for a stored object with a given index

Parameters
idxIndex of the requested object
Returns
Reference to SharedPtr of the SerializationIface type
def getValueByIndexConst (   self,
  idx 
)

Returns a const SharedPtr for a stored object with a given index

Parameters
idxIndex of the requested object
Returns
Reference to SharedPtr of the SerializationIface type
def daal.data_management.HomogenNumericTable_create (   args)

Variant 1

Constructs an empty Numeric Table with a predefined NumericTableDictionary

Parameters
ddictForHomogenNumericTablePointer to the predefined NumericTableDictionary
statStatus of the numeric table construction
Returns
Empty numeric table with a predefined NumericTableDictionary

Variant 2

Constructs an empty Numeric Table with a predefined NumericTableDictionary

Parameters
ddictForHomogenNumericTablePointer to the predefined NumericTableDictionary
statStatus of the numeric table construction
Returns
Empty numeric table with a predefined NumericTableDictionary

Variant 3

Constructs an empty Numeric Table

Parameters
statStatus of the numeric table construction
Returns
Empty numeric table

Variant 4

Constructs an empty Numeric Table

Parameters
statStatus of the numeric table construction
Returns
Empty numeric table

Variant 5

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Variant 6

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Variant 7

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Variant 8

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Variant 9

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 10:*

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 11:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 12:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 13:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 14:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 15:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 16:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 17:*

Constructs a Numeric Table with user-allocated memory

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory

Overload 18:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 19:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 20:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 21:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 22:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 23:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 24:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 25:*

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
ptrPointer to and an array with a homogeneous data set
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant

Overload 26:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the numeric table construction
Returns
Numeric table

Overload 27:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the numeric table construction
Returns
Numeric table

Overload 28:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the numeric table construction
Returns
Numeric table

Overload 29:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the numeric table construction
Returns
Numeric table

Overload 30:*

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table initialized with a constant

Overload 31:*

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table initialized with a constant

Overload 32:*

Constructs a numeric table with memory allocation controlled via a flag and fills the table with a constant

Parameters
featuresEqualFlag that makes all features in the numeric table data dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table initialized with a constant

Overload 33:*

Constructs a numeric table with memory allocation controlled via a flag and fills the table with a constant

Parameters
featuresEqualFlag that makes all features in the numeric table data dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the numeric table construction
Returns
Numeric table initialized with a constant
def daal.data_management.HomogenNumericTable_serializationTag ( )
def daal.data_management.HomogenTensor_create (   args)

Variant 1

Constructs an empty homogeneous tensor

Parameters
statStatus of the tensor construction
Returns
Empty homogeneous tensor

Variant 2

Constructs an empty homogeneous tensor

Parameters
statStatus of the tensor construction
Returns
Empty homogeneous tensor

Variant 3

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
nDimNumber of dimensions
dimSizesArray with sizes for each dimension
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 4

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
nDimNumber of dimensions
dimSizesArray with sizes for each dimension
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 5

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
nDimNumber of dimensions
dimSizesArray with sizes for each dimension
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 6

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
nDimNumber of dimensions
dimSizesArray with sizes for each dimension
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 7

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
dimsCollection of tensor dimensions
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 8

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
dimsCollection of tensor dimensions
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Variant 9

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
dimsCollection of tensor dimensions
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Overload 10:*

Constructs homogeneous tensor with a user-defined data, number and sizes of dimensions

Parameters
dimsCollection of tensor dimensions
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data, number and sizes of dimensions

Overload 11:*

Constructs homogeneous tensor with a user-defined data and layout

Parameters
layoutTensor layout
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data and layout

Overload 12:*

Constructs homogeneous tensor with a user-defined data and layout

Parameters
layoutTensor layout
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data and layout

Overload 13:*

Constructs homogeneous tensor with a user-defined data and layout

Parameters
layoutTensor layout
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data and layout

Overload 14:*

Constructs homogeneous tensor with a user-defined data and layout

Parameters
layoutTensor layout
dataArray with a homogeneous data set
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined data and layout

Overload 15:*

Constructs homogeneous tensor with a user-defined dimensions and memory allocation flag

Parameters
dimsCollection of tensor dimensions
memoryAllocationFlagFlag specifying memory allocation
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined dimensions

Overload 16:*

Constructs homogeneous tensor with a user-defined dimensions and memory allocation flag

Parameters
dimsCollection of tensor dimensions
memoryAllocationFlagFlag specifying memory allocation
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined dimensions

Overload 17:*

Constructs homogeneous tensor with a user-defined dimensions and memory allocation flag and fills it with the constant values

Parameters
dimsCollection of tensor dimensions
memoryAllocationFlagFlag specifying memory allocation
initValueConstant value
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined dimensions

Overload 18:*

Constructs homogeneous tensor with a user-defined dimensions and memory allocation flag and fills it with the constant values

Parameters
dimsCollection of tensor dimensions
memoryAllocationFlagFlag specifying memory allocation
initValueConstant value
statStatus of the tensor construction
Returns
Homogeneous tensor with a user-defined dimensions
def daal.data_management.HomogenTensor_serializationTag ( )
def isDefaultLayout (   self)

isDefaultLayout(TensorOffsetLayout self) -> bool

def isLayout (   self,
  layout 
)

Checks if layout is equal to given

Parameters
layoutThe layout type to compare with
Returns
True or false
def isNormalized (   self,
  flag 
)

Checks if dataset stored in the numeric table is normalized, according to the given normalization flag

Parameters
flagNormalization flag to check
Returns
Check result
def isOutputDataBlockFull (   self)

Reports whether an output data block is full after a call to the run() method

Returns
True if an output data block is full, false otherwise
def isOutputDataBlockFull (   self)

isOutputDataBlockFull(Compression self) -> bool

def isRawLayout (   self)

isRawLayout(TensorOffsetLayout self) -> bool

def daal.data_management.KeyValueDataCollection_serializationTag ( )
def list (   self,
  valid 
)

list(ColumnFilter self, daal.services.Collection< size_t > valid) -> ColumnFilter

def loadDataBlock (   self,
  args 
)

Variant 1

Loads a data block of a specified size into an internally allocated Numeric Table

Parameters
maxRowsMaximum number of rows to load from a Data Source into the Numeric Table

Variant 2

Loads a data block of a specified size into an internally allocated Numeric Table

Parameters
maxRowsMaximum number of rows to load from a Data Source into the Numeric Table
rowOffsetWrite data starting from rowOffset row
fullRowsMaximum number of rows to allocate in the Numeric Table

Variant 3

Loads a data block of a specified size into a provided Numeric Table

Parameters
maxRowsMaximum number of rows to load from a Data Source into the Numeric Table
ntPointer to the Numeric Table

Variant 4

Loads a data block of a specified size into an internally allocated Numeric Table

Parameters
maxRowsMaximum number of rows to load from a Data Source into the Numeric Table
rowOffsetWrite data starting from rowOffset row
fullRowsMaximum number of rows to allocate in the Numeric Table
ntPointer to the Numeric Table

Variant 5

Loads a data block into an internally allocated Numeric Table


Variant 6

Loads a data block into a provided Numeric Table

Parameters
ntPointer to the Numeric Table
def loadDataBlock (   self,
  args 
)

loadDataBlock(DataSource self, size_t maxRows) -> size_t

def loadDataBlock (   self,
  args 
)

loadDataBlock(CsvDataSource self, NumericTable nt) -> size_t

def daal.data_management.Matrix_create (   args)

Variant 1

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 2

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 3

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 4

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 5

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 6

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 7

Constructs a matrix

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 8

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Variant 9

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 10:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 11:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 12:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 13:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 14:*

Constructs a matrix

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
statStatus of the matrix construction
Returns
Matrix

Overload 15:*

Constructs a matrix with memory allocation controlled via a flag

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the matrix construction
Returns
Matrix

Overload 16:*

Constructs a matrix with memory allocation controlled via a flag

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the matrix construction
Returns
Matrix

Overload 17:*

Constructs a matrix with memory allocation controlled via a flag

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the matrix construction
Returns
Matrix

Overload 18:*

Constructs a matrix with memory allocation controlled via a flag

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the matrix construction
Returns
Matrix

Overload 19:*

Constructs a matrix and fills it with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 20:*

Constructs a matrix and fills it with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 21:*

Constructs a matrix and fills it with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 22:*

Constructs a matrix and fills it with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 23:*

Constructs a matrix and fills it with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 24:*

Constructs a matrix and fills it with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 25:*

Constructs a matrix and fills it with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 26:*

Constructs a matrix and fills it with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
ptrPointer to and an array with a homogeneous data set
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 27:*

Constructor for a matrix with memory allocation controlled via a flag and filling the matrix with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 28:*

Constructor for a matrix with memory allocation controlled via a flag and filling the matrix with a constant

Parameters
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 29:*

Constructor for a matrix with memory allocation controlled via a flag and filling the matrix with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 30:*

Constructor for a matrix with memory allocation controlled via a flag and filling the matrix with a constant

Parameters
featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
nColumnsNumber of columns in the table
nRowsNumber of rows in the table
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the homogeneous numeric table
statStatus of the matrix construction
Returns
Matrix initialized with a constant

Overload 31:* Create a Matrix from a numpy array.

Parameters
narraynumpy array

Overload 32:* Create a Matrix from a numpy array. Initialize with given value.

Parameters
narraynumpy array
valuevalue to fill matrix with
def daal.data_management.Matrix_serializationTag ( )
def none (   self)

none(ColumnFilter self) -> ColumnFilter

def nullFunc (   word,
  aux,
  arr 
)

nullFunc(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 odd (   self)

odd(ColumnFilter self) -> ColumnFilter

def daal.data_management.PackedSymmetricMatrix_create (   args)

Variant 1

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 2

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 3

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 4

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 5

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 6

Constructs a Numeric Table with user-allocated memory

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
statStatus of the table construction
Returns
Numeric table with user-allocated memory

Variant 7

Constructs a numeric table with user-allocated memory and fills the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table with user-allocated memory initialized with a constant

Variant 8

Constructs a numeric table with user-allocated memory and fills the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table with user-allocated memory initialized with a constant

Variant 9

Constructs a numeric table with user-allocated memory and fills the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table with user-allocated memory initialized with a constant

Overload 10:*

Constructs a numeric table with user-allocated memory and fills the table with a constant

Parameters
ptrPointer to and an array with a homogeneous data set
nDimMatrix dimension
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table with user-allocated memory initialized with a constant

Overload 11:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
nDimMatrix dimension
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the table construction
Returns
Numeric table

Overload 12:*

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
nDimMatrix dimension
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
statStatus of the table construction
Returns
Numeric table

Overload 13:*

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
nDimMatrix dimension
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table initialized with a constant

Overload 14:*

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
nDimMatrix dimension
memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
constValueConstant to initialize entries of the packed symmetric matrix
statStatus of the table construction
Returns
Numeric table initialized with a constant
def daal.data_management.PackedSymmetricMatrix_serializationTag ( )
def daal.data_management.PackedTriangularMatrix_create (   args)

create(double *const ptr=None, size_t nDim=0, Status stat=None) -> daal.services.SharedPtr< daal.data_management.PackedTriangularMatrix< daal.data_management.NumericTableIface.upperPackedTriangularMatrix,double > >

def daal.data_management.PackedTriangularMatrix_serializationTag ( )
def push_back (   self,
  inBlock 
)

Push a data to be compressed, accepts numpy byte array.

Parameters
inBlocknumpy byte array
def push_back (   self,
  inBlock 
)

Push a data to be decompressed, accepts numpy byte array.

Parameters
inblocknumpy byte array
def push_back (   self,
  x 
)

Adds an element to the end of a collection

Parameters
xElement to add
def read (   self,
  ptr 
)

Copies the content of an archive into a byte array

Parameters
ptrPointer to the array that represents the data
sizeSize of the data array
def read (   self,
  ptr 
)

read(DataArchive self, daal.byte * ptr)

def read (   self,
  ptr 
)

read(CompressedDataArchive self, daal.byte * ptr)

def read (   self,
  ptr 
)

read(DecompressedDataArchive self, daal.byte * ptr)

def releaseBlockOfColumnValues (   self,
  args 
)

Variant 1

Releases a block of values for a given feature.

Parameters
blockThe block of feature values.

Variant 2

Releases a block of values for a given feature.

Parameters
blockThe block of feature values.

Variant 3

Releases a block of values for a given feature.

Parameters
blockThe block of feature values.
def releaseBlockOfColumnValues (   self,
  args 
)

releaseBlockOfColumnValues(AOSNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfColumnValues (   self,
  args 
)

releaseBlockOfColumnValues(SOANumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfColumnValues (   self,
  args 
)

releaseBlockOfColumnValues(CSRNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfColumnValues (   self,
  args 
)

releaseBlockOfColumnValues(MergedNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfColumnValues (   self,
  args 
)

releaseBlockOfColumnValues(RowMergedNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfColumnValues (   self,
  args 
)

releaseBlockOfColumnValues(HomogenNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfColumnValues (   self,
  args 
)

releaseBlockOfColumnValues(PackedSymmetricMatrix self, BlockDescriptor block) -> Status

def releaseBlockOfColumnValues (   self,
  args 
)

releaseBlockOfColumnValues(PackedTriangularMatrix self, BlockDescriptor block) -> Status

def releaseBlockOfRows (   self,
  args 
)

Variant 1

Releases a block of rows.

Parameters
blockThe block of rows.

Variant 2

Releases a block of rows.

Parameters
blockThe block of rows.

Variant 3

Releases a block of rows.

Parameters
blockThe block of rows.
def releaseBlockOfRows (   self,
  args 
)

releaseBlockOfRows(AOSNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfRows (   self,
  args 
)

releaseBlockOfRows(SOANumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfRows (   self,
  args 
)

releaseBlockOfRows(CSRNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfRows (   self,
  args 
)

releaseBlockOfRows(MergedNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfRows (   self,
  args 
)

releaseBlockOfRows(RowMergedNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfRows (   self,
  args 
)

releaseBlockOfRows(HomogenNumericTable self, BlockDescriptor block) -> Status

def releaseBlockOfRows (   self,
  args 
)

releaseBlockOfRows(PackedSymmetricMatrix self, BlockDescriptor block) -> Status

def releaseBlockOfRows (   self,
  args 
)

releaseBlockOfRows(PackedTriangularMatrix self, BlockDescriptor block) -> Status

def releasePackedArray (   self,
  args 
)

Variant 1

Releases a packed array

Parameters
blockThe block of feature values.

Variant 2

Releases a packed array

Parameters
blockThe block of feature values.

Variant 3

Releases a packed array

Parameters
blockThe block of feature values.
def releasePackedArray (   self,
  args 
)

releasePackedArray(PackedSymmetricMatrix self, BlockDescriptor block) -> Status

def releasePackedArray (   self,
  args 
)

releasePackedArray(PackedTriangularMatrix self, BlockDescriptor block) -> Status

def releaseSparseBlock (   self,
  args 
)

Variant 1

Releases a block of feature vectors in the CSR layout.

Parameters
blockThe block of feature values.

Variant 2

Releases a block of feature vectors in the CSR layout.

Parameters
blockThe block of feature values.

Variant 3

Releases a block of feature vectors in the CSR layout.

Parameters
blockThe block of feature values.
def releaseSparseBlock (   self,
  args 
)

releaseSparseBlock(CSRNumericTable self, CSRBlockDescriptor block) -> Status

def releaseSubtensor (   self,
  args 
)

Variant 1

Releases subtensor

Parameters
subtensorThe subtensor descriptor.

Variant 2

Releases subtensor

Parameters
subtensorThe subtensor descriptor.

Variant 3

Releases subtensor

Parameters
subtensorThe subtensor descriptor.
def releaseSubtensor (   self,
  args 
)

releaseSubtensor(HomogenTensor self, SubtensorDescriptor block) -> Status

def reset (   self)

Reset internal values and pointers to zero values

def reset (   self)

Reset internal values and pointers to zero values

def reset (   self)

Reset internal values and pointers to zero values

def resetData (   self)

Resets a data source string

def resetDictionary (   self)

Resets a data dictionary for the Numeric Table

Deprecated:
This item will be removed in a future release.
def resetDictionary (   self)

resetDictionary(NumericTable self) -> Status

def resetDictionary (   self)

Resets a dictionary and sets the number of features to 0

def resetDictionary (   self)

Resets a dictionary and sets the number of features to 0

def resize (   self,
  newCapacity 
)

Changes the size of a storage

Parameters
newCapacitySize of a new storage.
def resize (   self,
  nrows 
)

Sets the number of rows in the Numeric Table and allocates memory for a data set

def resize (   self,
  nrows 
)

resize(NumericTable self, size_t nrows) -> Status

def resize (   self,
  dimensions 
)

resize(TensorIface self, daal.services.Collection< size_t > const & dimensions) -> Status

def resize (   self,
  dimensions 
)

resize(Tensor self, daal.services.Collection< size_t > const & dimensions) -> Status

def resize (   self,
  nrows 
)

resize(CSRNumericTable self, size_t nrows) -> Status

def resize (   self,
  nrow 
)

resize(MergedNumericTable self, size_t nrow) -> Status

def resize (   self,
  nrows 
)

resize(RowMergedNumericTable self, size_t nrows) -> Status

def resizeBuffer (   self,
  nColumns,
  nRows,
  auxMemorySize = 0 
)

Variant 1

Allocates memory of (nColumns * nRows + auxMemorySize) size

Parameters
nColumnsNumber of columns
nRowsNumber of rows
auxMemorySizeMemory size
Returns
true if memory of (nColumns * nRows + auxMemorySize) size is allocated successfully

Variant 2

Allocates memory of (nColumns * nRows + auxMemorySize) size

Parameters
nColumnsNumber of columns
nRowsNumber of rows
auxMemorySizeMemory size
Returns
true if memory of (nColumns * nRows + auxMemorySize) size is allocated successfully
def resizeBuffer (   self)

Returns true if memory of (_subtensorSize) size is allocated successfully

def resizeRowsBuffer (   self,
  nRows 
)
Parameters
nRowsNumber of rows
def resizeValuesBuffer (   self,
  nValues 
)
Parameters
nValuesNumber of values
def run (   self,
  outBlock,
  offset 
)

Performs compression (or decompression) of a data block

Parameters
outBlockPointer to the data block where compression (or decompression) results are stored. Must be at least size+offset bytes
sizeNumber of bytes available in outBlock
offsetOffset in bytes, the starting position for compression (or decompression) in outBlock
def run (   self,
  outBlock,
  offset 
)

run(Compression self, daal.byte * outBlock, size_t offset)

def run (   self,
  outBlock,
  offset 
)

Performs bzip2 compression of a data block

Parameters
outBlockPointer to the data block where compression results are stored. Must be at least size+offset bytes
sizeNumber of bytes available in outBlock
offsetOffset in bytes, the starting position for compression in outBlock
def run (   self,
  outBlock,
  offset 
)

Performs bzip2 decompression of a data block

Parameters
outBlockPointer to the data block where decompression results are stored. Must be at least size+offset bytes
sizeNumber of bytes available in outBlock
offsetOffset in bytes, the starting position for decompression in outBlock
def saveOffsetLayout (   self,
  layout 
)

Saves subtensor offset layout

Parameters
layoutoffset layout
def saveOffsetLayoutCopy (   self,
  layout 
)

Saves subtensor offset layout copy

Parameters
layoutoffset layout
def segmentFooter (   self)

Generates a footer for a segment in the DataArchive object

def segmentFooter (   self)

Reads the footer for a segment from the DataArchive object

def segmentHeader (   self,
  tag = 0 
)

Generates a header for a segment in the DataArchive object

def segmentHeader (   self)

Reads the header for a segment from the DataArchive object

def daal.data_management.SerializableKeyValueCollection_serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serializationTag ( )
def serialize (   self,
  archive 
)

Performs serialization

Parameters
archiveStorage for a serialized object or data structure
def set (   self,
  id,
  value 
)

set(BasicStatisticsDataCollection self, daal.data_management.NumericTableIface.BasicStatisticsId id, daal.services.SharedPtr< daal.data_management.NumericTable > const & value)

def setAllFeatures (   self,
  defaultFeature 
)

Sets all features of a dictionary to the same type

Parameters
defaultFeatureDefault feature class to which to set all features
def setAllFeatures (   self,
  defaultFeature 
)

Sets all features of a dictionary to the same type

Parameters
defaultFeatureDefault feature class to which to set all features
def setArray (   self,
  outBlock 
)

Sets array as block.

Returns
block as numpy array.
def setArray (   self,
  ary,
  idx 
)

Sets numpy array to use.

Parameters
ary_numpy array which stores feature values
idxFeature index
def setArrays (   self,
  args 
)

Variant 1
Sets numpy arrays of a CSR data set
Parameters
valuesnumpy array of double values in the CSR layout
colIndicesnumpy array of column indices (long int) in the CSR layout
rowOffsetsnumpy array of row indices (long int) in the CSR layout

Variant 2
Sets numpy arrays of a CSR data set
Parameters
valuesnumpy array of float values in the CSR layout
colIndicesnumpy array of column indices (long int) in the CSR layout
rowOffsetsnumpy array of row indices (long int) in the CSR layout

Variant 3
Sets numpy arrays of a CSR data set
Parameters
valuesnumpy array of int values in the CSR layout
colIndicesnumpy array of column indices (long int) in the CSR layout
rowOffsetsnumpy array of row indices (long int) in the CSR layout
def setCategoricalDictionary (   self,
  dictionary 
)

setCategoricalDictionary(DataSourceFeature self, daal.data_management.CategoricalFeatureDictionaryPtr const & dictionary)

def setData (   self,
  data 
)

Sets a new string as a source for data

Parameters
dataByte array in the C-string format
def setDetails (   self,
  columnIdx,
  rowIdx,
  rwFlag 
)

Sets parameters of the block

Parameters
columnIdxIndex of the first column in the block
rowIdxIndex of the first row in the block
rwFlagFlag specifying read/write access to the block
def setDetails (   self,
  nColumns,
  rowIdx,
  rwFlag 
)

setDetails(CSRBlockDescriptor self, size_t nColumns, size_t rowIdx, int rwFlag)

def setDetails (   self,
  tensorNDims,
  tensorDimNums,
  nFixedDims,
  fixedDimNums,
  rangeDimIdx,
  rangeDimNum,
  rwFlag 
)

Sets subtensor parameters

Parameters
tensorNDimsThe number of dimensions with fixed values
tensorDimNumsValues of the tensor dmensions
nFixedDimsThe number of first dimension with fixed values
fixedDimNumsValues at which dimensions are fixed
rangeDimIdxValues for the next dimension after fixed to get data from
rangeDimNumRange for dimension values to get data from
rwFlagFlag specifying read/write access to the subtensor
Returns
Subtensor size
def setDictionary (   self,
  ddict 
)

Sets a data dictionary in the Numeric Table

Parameters
ddictPointer to the data dictionary
Deprecated:
This item will be removed in a future release.
def setDictionary (   self,
  ddict 
)

setDictionary(NumericTable self, NumericTableDictionary ddict) -> Status

def setDictionary (   self,
  ddict 
)

setDictionary(SOANumericTable self, NumericTableDictionary ddict) -> Status

def setDictionary (   self,
  dict 
)

Sets a predefined Data Dictionary

def setDictionary (   self,
  dict 
)

setDictionary(DataSource self, DataSourceDictionary dict) -> Status

def setDictionary (   self,
  dict 
)

setDictionary(CsvDataSource self, DataSourceDictionary dict) -> Status

def setDimensions (   self,
  args 
)

Variant 1

Sets the number of dimensions in the Tensor

Parameters
ndimNumber of dimensions
dimSizesArray with sizes for each dimension

Variant 2

Sets the number and size of dimensions in the Tensor

Parameters
dimensionsCollection with sizes for each dimension
def setDimensions (   self,
  args 
)

setDimensions(HomogenTensor self, size_t nDim, size_t const * dimSizes) -> Status

def setFeature (   self,
  feature,
  idx 
)
Parameters
featureData feature
idxIndex of the data feature
def setFeature (   self,
  feature,
  idx 
)
Parameters
featureData feature
idxIndex of the data feature
def setFeatureName (   self,
  featureName 
)

Specifies the name of a data feature

Parameters
featureNameName of the data feature
def setInputDataBlock (   self,
  inBlock,
  offset 
)

Associates an input data block with a compressor (or decompressor)

Parameters
inBlockPointer to the data block to compress (or decompress). Must be at least size+offset bytes
sizeNumber of bytes to compress (or decompress) in inBlock
offsetOffset in bytes, the starting position for compression (or decompression) in inBlock
def setInputDataBlock (   self,
  inBlock,
  offset 
)

setInputDataBlock(Compression self, daal.byte * inBlock, size_t offset)

def setInputDataBlock (   self,
  inBlock,
  offset 
)

Associates an input data block with a compressor

Parameters
inBlockPointer to the data block to compress. Must be at least size+offset bytes
sizeNumber of bytes to compress in inBlock
offsetOffset in bytes, the starting position for compression in inBlock
def setInputDataBlock (   self,
  inBlock,
  offset 
)

Associates an input data block with a decompressor

Parameters
inBlockPointer to the data block to decompress. Must be at least size+offset bytes
sizeNumber of bytes to decompress in inBlock
offsetOffset in bytes, the starting position for decompression in inBlock
def setMajorVersion (   self,
  majorVersion 
)

Sets the major version of the archive

Parameters
majorVersionThe major version of the archive
def setMajorVersion (   self,
  majorVersion 
)

setMajorVersion(DataArchiveImpl self, int majorVersion)

def setMinorVersion (   self,
  minorVersion 
)

Sets the minor version of the archive

Parameters
minorVersionThe minor version of the archive
def setMinorVersion (   self,
  minorVersion 
)

setMinorVersion(DataArchiveImpl self, int minorVersion)

def setNormalizationFlag (   self,
  flag 
)

Sets the normalization flag for dataset stored in the numeric table

Parameters
flagNormalization flag
Returns
Previous value of the normalization flag
def setNumberOfColumns (   self,
  ncol 
)

Sets the number of columns in the Numeric Table

Parameters
ncolNumber of columns
Deprecated:
This item will be removed in a future release.
def setNumberOfColumns (   self,
  ncol 
)

setNumberOfColumns(NumericTable self, size_t ncol) -> Status

def setNumberOfColumns (   self,
  nDim 
)

setNumberOfColumns(PackedTriangularMatrix self, size_t nDim) -> Status

def setNumberOfFeatures (   self,
  numberOfFeatures 
)

Sets the number of features

Parameters
numberOfFeaturesNumber of features
def setNumberOfFeatures (   self,
  numberOfFeatures 
)

Sets the number of features

Parameters
numberOfFeaturesNumber of features
def setNumberOfRows (   self,
  nrow 
)

Sets the number of rows in the Numeric Table

Parameters
nrowNumber of rows
Deprecated:
This item will be removed in a future release.
def setNumberOfRows (   self,
  nrow 
)

setNumberOfRows(NumericTable self, size_t nrow) -> Status

def setNumberOfRows (   self,
  nDim 
)

setNumberOfRows(PackedTriangularMatrix self, size_t nDim) -> Status

def setSingleObj (   self,
  ptr 
)

Performs data serialization creating a data segment

Parameters
ptrPointer to the serializable object
def setSingleObj (   self,
  ptr 
)

Performs data deserialization creating a data segment

Parameters
ptrPointer to the serializable object
def setType_{Float64|Float32|Intc} (   self)

Fills the class based on a specified type

Parameters
TName of the data feature
Full Names
  • setType_Float64 is for float64
  • setType_Float32 is for float32
  • setType_Intc is for intc
def setUpdateVersion (   self,
  updateVersion 
)

Sets the update version of the archive

Parameters
updateVersionThe update version of the archive
def setUpdateVersion (   self,
  updateVersion 
)

setUpdateVersion(DataArchiveImpl self, int updateVersion)

def shuffleDimensions (   self,
  dimsOrder 
)

Sets the new order of existing dimension in the Tensor

Parameters
dimsOrderCollection with the new indices for each dimension
def shuffleDimensions (   self,
  dimsOrder 
)

shuffleDimensions(TensorOffsetLayout self, daal.services.Collection< size_t > const & dimsOrder) -> Status

def size (   self)

Size of a collection

Returns
Size of the collection
def size (   self)

Returns the number of stored objects

Returns
Number of stored objects
def sortOffsets (   self)

sortOffsets(TensorOffsetLayout self) -> Status

def status (   self)

Returns errors during the computation

Returns
Errors during the computation
def unite (   lhs,
  rhs 
)

unite(daal.data_management.CsvDataSourceOptions.Value const & lhs, daal.data_management.CsvDataSourceOptions.Value const & rhs) -> daal.data_management.CsvDataSourceOptions.Value

def write (   self,
  ptr 
)

Copies data into an archive

Parameters
ptrPointer to the data represented in the byte format
sizeSize of the data array
def write (   self,
  ptr 
)

write(DataArchive self, daal.byte * ptr)

def write (   self,
  ptr 
)

write(CompressedDataArchive self, daal.byte * ptr)

def write (   self,
  ptr 
)

write(DecompressedDataArchive self, daal.byte * ptr)

Variable Documentation

basicStatistics = ...
static
buffer = ...
static
cat_dict = ...
static
counters = ...
static

Counters estimate

doAllocate = ...
static

Memory will be allocated by NumericTable when needed

doAllocate = ...
static

Memory will be allocated by Tensor when needed

doAllocateNumericTable = ...
static

Do allocate Numeric Table when needed

doDictionaryFromContext = ...
static

Do create dictionary when needed

doNotAllocate = ...
static

Memory will not be allocated by NumericTable

doNotAllocate = ...
static

Memory will not be allocated by Tensor

dsFeat = ...
static
endOfData = ...
static

No data is available

equal = ...
static

Data Dictionary contains equal features

idx = ...
static
internallyAllocated = ...
static

Memory allocated and managed by NumericTable

internallyAllocated = ...
static

Memory allocated and managed by Tensor

level = ...
static

Compression level

maximum = ...
static

Maximum estimate

minimum = ...
static

Minimum estimate

minMaxNormalized = ...
static

Min-max normalization

name = ...
static
name_length = ...
static
nCats = ...
static
nonNormalized = ...
static

Default: non-normalized

notAllocate = ...
static

Memory will not be allocated by NumericTable

Deprecated:
This item will be removed in a future release.

Use doNotAllocate instead.

notAllocate = ...
static

Memory will not be allocated by Tensor

Deprecated:
This item will be removed in a future release.
notAllocated = ...
static

No memory allocated

notAllocated = ...
static

No memory allocated

notAllocateNumericTable = ...
static

Do not allocate Numeric Table automatically

notDictionaryFromContext = ...
static

Do not create dictionary automatically

notEqual = ...
static

Data Dictionary contains different features

notReady = ...
static

DataSource not ready for loading

ntFeat = ...
static
ntFeature = ...
static
oneBased = ...
static

1-based indexing

preHeadBytes = ...
static

Size in bytes of section 1 of the LZO compressed block header

readyForLoad = ...
static

Data is ready to be loaded via loadDataBlock() function

standardScoreNormalized = ...
static

Standard score normalization (mean=0, variance=1)

sum = ...
static

Sum estimate

sumSquares = ...
static

Sum squares estimate

userAllocated = ...
static

Memory allocated on user side

userAllocated = ...
static

Memory allocated on user side

waitingForRows = ...
static

No data is available, but it may be ready in future

wide = ...
static
zeroBased = ...
static

0-based indexing

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