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

List of all members
Parameter Struct Reference

Decision tree algorithm parameters. More...

Class Declaration

struct DAAL_EXPORT Parameter : public daal::algorithms::classifier::Parameter
{
Parameter(size_t nClasses = 2) : daal::algorithms::classifier::Parameter(nClasses),
pruning(reducedErrorPruning), maxTreeDepth(0), minObservationsInLeafNodes(1),
nBins(1),
splitCriterion(infoGain) {}
services::Status check() const DAAL_C11_OVERRIDE;
SplitCriterion splitCriterion;
Pruning pruning;
size_t maxTreeDepth;
size_t minObservationsInLeafNodes;
size_t nBins;
};

Constructor & Destructor Documentation

Parameter ( size_t  nClasses = 2)
inline

Main constructor

Parameters
[in]nClassesNumber of classes

Member Function Documentation

services::Status check ( ) const

Checks a parameter of the Decision tree algorithm

Member Data Documentation

size_t maxTreeDepth

Maximum tree depth. 0 means unlimited depth.

size_t minObservationsInLeafNodes

Minimum number of observations in the leaf node. Can be any positive number.

size_t nBins

The number of bins used to compute probabilities of the observations belonging to the class. The only supported value for current version of the library is 1.

Pruning pruning

Pruning method for Decision tree

SplitCriterion splitCriterion

Split criterion for Decision tree classification


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

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