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

Namespaces | Enumerations
daal::services Namespace Reference

Contains classes that implement service functionality, including error handling, memory allocation, and library version information.

Namespaces

 interface1
 Contains version 1.0 of Intel(R) Data Analytics Acceleration Library (Intel(R) DAAL) interface.
 

Enumerations

enum  ErrorDetailID {
  NoErrorMessageDetailFound = 0, Row = 1, Column = 2, Rank = 3,
  StatisticsName = 4, Method = 5, Iteration = 6, Component = 7,
  Minor = 8, ArgumentName = 9, ElementInCollection = 10, Dimension = 11,
  ParameterName = 12, OptionalInput = 13, OptionalResult = 14, Layer = 15,
  SerializationTag = 16, ExpectedValue = 17, ActualValue = 18
}
 
enum  ErrorID {
  ErrorMethodNotSupported = -1, ErrorIncorrectNumberOfFeatures = -3, ErrorIncorrectNumberOfObservations = -4, ErrorIncorrectSizeOfArray = -7,
  ErrorNullParameterNotSupported = -8, ErrorIncorrectNumberOfArguments = -9, ErrorIncorrectInputNumericTable = -10, ErrorEmptyInputNumericTable = -11,
  ErrorIncorrectDataRange = -12, ErrorPrecomputedStatisticsIndexOutOfRange = -13, ErrorIncorrectNumberOfInputNumericTables = -14, ErrorIncorrectNumberOfOutputNumericTables = -15,
  ErrorNullInputNumericTable = -16, ErrorNullOutputNumericTable = -17, ErrorNullModel = -18, ErrorInconsistentNumberOfRows = -19,
  ErrorIncorrectSizeOfInputNumericTable = -20, ErrorIncorrectSizeOfOutputNumericTable = -21, ErrorIncorrectNumberOfRowsInInputNumericTable = -24, ErrorIncorrectNumberOfColumnsInInputNumericTable = -25,
  ErrorIncorrectNumberOfRowsInOutputNumericTable = -26, ErrorIncorrectNumberOfColumnsInOutputNumericTable = -27, ErrorIncorrectTypeOfInputNumericTable = -28, ErrorIncorrectTypeOfOutputNumericTable = -29,
  ErrorIncorrectNumberOfElementsInInputCollection = -30, ErrorIncorrectNumberOfElementsInResultCollection = -31, ErrorNullInput = -32, ErrorNullResult = -33,
  ErrorIncorrectParameter = -34, ErrorModelNotFullInitialized = -35, ErrorInconsistentNumberOfColumns = -36, ErrorIncorrectIndex = -37,
  ErrorDataArchiveInternal = -38, ErrorNullPartialModel = -39, ErrorNullInputDataCollection = -40, ErrorNullOutputDataCollection = -41,
  ErrorNullPartialResult = -42, ErrorIncorrectNumberOfInputNumericTensors = -43, ErrorIncorrectNumberOfOutputNumericTensors = -44, ErrorNullTensor = -45,
  ErrorIncorrectNumberOfDimensionsInTensor = -46, ErrorIncorrectSizeOfDimensionInTensor = -47, ErrorNullLayerData = -48, ErrorIncorrectSizeOfLayerData = -49,
  ErrorNullNumericTable = -50, ErrorIncorrectNumberOfColumns = -51, ErrorIncorrectNumberOfRows = -52, ErrorIncorrectTypeOfNumericTable = -53,
  ErrorUnsupportedCSRIndexing = -54, ErrorSignificanceLevel = -55, ErrorAccuracyThreshold = -56, ErrorIncorrectNumberOfBetas = -57,
  ErrorIncorrectNumberOfBetasInReducedModel = -58, ErrorNumericTableIsNotSquare = -59, ErrorNullAuxiliaryAlgorithm = -60, ErrorNullInitializationProcedure = -61,
  ErrorNullAuxiliaryDataCollection = -62, ErrorEmptyAuxiliaryDataCollection = -63, ErrorIncorrectElementInCollection = -64, ErrorNullPartialResultDataCollection = -65,
  ErrorIncorrectElementInPartialResultCollection = -66, ErrorIncorrectElementInNumericTableCollection = -67, ErrorNullOptionalResult = -68, ErrorIncorrectOptionalResult = -69,
  ErrorIncorrectOptionalInput = -70, ErrorIncorrectNumberOfPartialClusters = -71, ErrorIncorrectTotalNumberOfPartialClusters = -72, ErrorIncorrectDataCollectionSize = -73,
  ErrorIncorrectValueInTheNumericTable = -74, ErrorIncorrectItemInDataCollection = -75, ErrorNullPtr = -76, ErrorUndefinedFeature = -77,
  ErrorCpuNotSupported = -2000, ErrorMemoryAllocationFailed = -2001, ErrorEmptyDataBlock = -2004, ErrorIncorrectCombinationOfComputationModeAndStep = -3002,
  ErrorDictionaryAlreadyAvailable = -3003, ErrorDictionaryNotAvailable = -3004, ErrorNumericTableNotAvailable = -3005, ErrorNumericTableAlreadyAllocated = -3006,
  ErrorNumericTableNotAllocated = -3007, ErrorPrecomputedSumNotAvailable = -3008, ErrorPrecomputedMinNotAvailable = -3009, ErrorPrecomputedMaxNotAvailable = -3010,
  ErrorServiceMicroTableInternal = -3011, ErrorEmptyCSRNumericTable = -3012, ErrorEmptyHomogenNumericTable = -3013, ErrorSourceDataNotAvailable = -3014,
  ErrorEmptyDataSource = -3015, ErrorIncorrectClassLabels = -3016, ErrorIncorrectSizeOfModel = -3017, ErrorIncorrectTypeOfModel = -3018,
  ErrorIncorrectErrorcodeFromGenerator = -3019, ErrorInputSigmaMatrixHasNonPositiveMinor = -4001, ErrorInputSigmaMatrixHasIllegalValue = -4002, ErrorIncorrectInternalFunctionParameter = -4003,
  ErrorAprioriIncorrectItemsetTableSize = -5000, ErrorAprioriIncorrectSupportTableSize = -5001, ErrorAprioriIncorrectLeftRuleTableSize = -5002, ErrorAprioriIncorrectRightRuleTableSize = -5003,
  ErrorAprioriIncorrectConfidenceTableSize = -5004, ErrorAprioriIncorrectInputData = -5005, ErrorCholeskyInternal = -5400, ErrorInputMatrixHasNonPositiveMinor = -5401,
  ErrorCovarianceInternal = -5600, ErrorEMMatrixInverse = -6001, ErrorEMIncorrectToleranceToConverge = -6002, ErrorEMIllConditionedCovarianceMatrix = -6003,
  ErrorEMIncorrectMaxNumberOfIterations = -6004, ErrorEMNegativeDefinedCovarianceMartix = -6005, ErrorEMEmptyComponent = -6006, ErrorEMCovariance = -6007,
  ErrorEMIncorrectNumberOfComponents = -6008, ErrorEMInitNoTrialConverges = -6100, ErrorEMInitIncorrectToleranceToConverge = -6101, ErrorEMInitIncorrectDepthNumberIterations = -6102,
  ErrorEMInitIncorrectNumberOfTrials = -6103, ErrorEMInitIncorrectNumberOfComponents = -6104, ErrorEMInitInconsistentNumberOfComponents = -6105, ErrorVarianceComputation = -6106,
  ErrorLinearRegressionInternal = -6600, ErrorNormEqSystemSolutionFailed = -6601, ErrorLinRegXtXInvFailed = -6602, ErrorLowOrderMomentsInternal = -7000,
  ErrorIncorrectNumberOfClasses = -7200, ErrorMultiClassNullTwoClassTraining = -7201, ErrorMultiClassFailedToTrainTwoClassClassifier = -7202, ErrorMultiClassFailedToComputeTwoClassPrediction = -7203,
  ErrorOutlierDetectionInternal = -7600, ErrorPCAFailedToComputeCorrelationEigenvalues = -7800, ErrorPCACorrelationInputDataTypeSupportsOfflineModeOnly = -7801, ErrorIncorrectCrossProductTableSize = -7802,
  ErrorCrossProductTableIsNotSquare = -7803, ErrorInputCorrelationNotSupportedInOnlineAndDistributed = -7804, ErrorQRInternal = -8000, ErrorQrIthParamIllegalValue = -8001,
  ErrorQrXBDSQRDidNotConverge = -8002, ErrorStumpIncorrectSplitFeature = -8200, ErrorStumpInvalidInputCategoricalData = -8201, ErrorSvdIthParamIllegalValue = -8300,
  ErrorSvdXBDSQRDidNotConverge = -8301, ErrorLCNinnerConvolution = -8400, ErrorSVMPredictKernerFunctionCall = -8601, ErrorCompressionNullInputStream = -9000,
  ErrorCompressionNullOutputStream = -9001, ErrorCompressionEmptyInputStream = -9002, ErrorCompressionEmptyOutputStream = -9003, ErrorZlibInternal = -9004,
  ErrorZlibDataFormat = -9005, ErrorZlibParameters = -9006, ErrorZlibMemoryAllocationFailed = -9007, ErrorZlibNeedDictionary = -9008,
  ErrorBzip2Internal = -9009, ErrorBzip2DataFormat = -9010, ErrorBzip2Parameters = -9011, ErrorBzip2MemoryAllocationFailed = -9012,
  ErrorLzoInternal = -9013, ErrorLzoOutputStreamSizeIsNotEnough = -9014, ErrorLzoDataFormat = -9015, ErrorLzoDataFormatLessThenHeader = -9016,
  ErrorLzoDataFormatNotFullBlock = -9017, ErrorRleInternal = -9018, ErrorRleOutputStreamSizeIsNotEnough = -9019, ErrorRleDataFormat = -9020,
  ErrorRleDataFormatLessThenHeader = -9021, ErrorRleDataFormatNotFullBlock = -9022, ErrorLowerBoundGreaterThanOrEqualToUpperBound = -9400, ErrorQuantileOrderValueIsInvalid = -10001,
  ErrorQuantilesInternal = -10002, ErrorALSInternal = -11000, ErrorALSInconsistentSparseDataBlocks = -11001, ErrorSorting = -12001,
  ErrorNegativeLearningRate = -13000, ErrorMeanAndStandardDeviationComputing = -14000, ErrorNullVariance = -14001, ErrorMinAndMaxComputing = -14002,
  ErrorZeroNumberOfTerms = -15000, ErrorConvolutionInternal = -16000, ErrorIncorrectKernelSise1 = -16001, ErrorIncorrectKernelSise2 = -16002,
  ErrorRidgeRegressionInternal = -17000, ErrorRidgeRegressionNormEqSystemSolutionFailed = -17001, ErrorRidgeRegressionInvertFailed = -17002, ErrorInconsistenceModelAndBatchSizeInParameter = -18000,
  ErrorNeuralNetworkLayerCall = -18001, ErrorSplitLayerBackward = -18002, ErrorPivotedQRInternal = -19000, ErrorDFBootstrapVarImportanceIncompatible = -20000,
  ErrorDFBootstrapOOBIncompatible = -20001, ErrorGbtIncorrectNumberOfTrees = -30000, ErrorGbtPredictIncorrectNumberOfIterations = -30001, ErrorUserAllocatedMemory = -80001,
  ErrorDataSourseNotAvailable = -90041, ErrorHandlesSQL = -90042, ErrorODBC = -90043, ErrorSQLstmtHandle = -90044,
  ErrorOnFileOpen = -90045, ErrorOnFileRead = -90046, ErrorKDBNoConnection = -90051, ErrorKDBWrongCredentials = -90052,
  ErrorKDBNetworkError = -90053, ErrorKDBServerError = -90054, ErrorKDBTypeUnsupported = -90055, ErrorKDBWrongTypeOfOutput = -90056,
  ErrorIncorrectEngineParameter = -90100, ErrorEmptyInputAlgorithmsCollection = -90201, ErrorObjectDoesNotSupportSerialization = -100000, ErrorCouldntAttachCurrentThreadToJavaVM = -110001,
  ErrorCouldntCreateGlobalReferenceToJavaObject = -110002, ErrorCouldntFindJavaMethod = -110003, ErrorCouldntFindClassForJavaObject = -110004, ErrorCouldntDetachCurrentThreadFromJavaVM = -110005,
  UnknownError = -1000000, NoErrorMessageFound = -1000001
}
 

Functions

DAAL_EXPORT void * daal_malloc (size_t size, size_t alignment=DAAL_MALLOC_DEFAULT_ALIGNMENT)
 
DAAL_EXPORT void daal_free (void *ptr)
 
DAAL_EXPORT void daal_memcpy_s (void *dest, size_t numberOfElements, const void *src, size_t count)
 

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