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

List of all members
Parameter Struct Reference

AdaBoost algorithm parameters. More...

Class Declaration

struct DAAL_EXPORT Parameter : public classifier::Parameter
{
Parameter(size_t nClasses = 2);
Parameter(services::SharedPtr<classifier::training::Batch> wlTrainForParameter,
services::SharedPtr<classifier::prediction::Batch> wlPredictForParameter,
double acc = 0.0, size_t maxIter = 10, double learnRate = 1.0, DAAL_UINT64 resToCompute = computeWeakLearnersErrors, size_t nCl = 2);
services::SharedPtr<classifier::training::Batch> weakLearnerTraining;
services::SharedPtr<classifier::prediction::Batch> weakLearnerPrediction;
size_t maxIterations;
double learningRate;
DAAL_UINT64 resultsToCompute;
services::Status check() const DAAL_C11_OVERRIDE;
};

Constructor & Destructor Documentation

Parameter ( size_t  nClasses = 2)

Default contructor

Parameters
nClassesThe number of classes
Parameter ( services::SharedPtr< classifier::training::Batch >  wlTrainForParameter,
services::SharedPtr< classifier::prediction::Batch >  wlPredictForParameter,
double  acc = 0.0,
size_t  maxIter = 10,
double  learnRate = 1.0,
DAAL_UINT64  resToCompute = computeWeakLearnersErrors,
size_t  nCl = 2 
)

Constructs the AdaBoost parameter structure

Parameters
[in]wlTrainForParameterPointer to the training algorithm of the weak learner
[in]wlPredictForParameterPointer to the prediction algorithm of the weak learner
[in]accAccuracy of the AdaBoost training algorithm
[in]maxIterMaximal number of iterations of the AdaBoost training algorithm
[in]learnRateMultiplier for each classifier to shrink its contribution
[in]resToComputeThe 64-bit integer flag that specifies which extra characteristics of the AdaBoost compute from ResultToComputeId
[in]nClNumber of classes

Member Data Documentation

double accuracyThreshold

Accuracy of the AdaBoost training algorithm

double learningRate

Multiplier for each classifier to shrink its contribution

size_t maxIterations

Maximal number of iterations of the AdaBoost training algorithm

DAAL_UINT64 resultsToCompute

64 bit integer flag that indicates the results to compute

services::SharedPtr<classifier::prediction::Batch> weakLearnerPrediction

The algorithm for prediction based on a weak learner model

services::SharedPtr<classifier::training::Batch> weakLearnerTraining

The algorithm for weak learner model training


The documentation for this struct was generated from the following file:

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