Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
Parameter Class Reference

Base class for parameters of the decision forest classification training algorithm. More...

Detailed Description

Member Function Documentation

◆ getFeaturesPerNode()

long getFeaturesPerNode ( )

Returns number of features tried as possible splits by the decision forest classification training algorithm If 0 then sqrt(p) is used, where p is the total number of features.

Returns
Number of features

◆ getImpurityThreshold()

double getImpurityThreshold ( )

Returns threshold value used as stopping criteria: if the impurity value in the node is smaller than the threshold then the node is not split anymore

Returns
Impurity threshold

◆ getMaxTreeDepth()

long getMaxTreeDepth ( )

Returns maximal tree depth. Default is 0 (unlimited)

Returns
Maximal tree depth

◆ getMinObservationsInLeafNode()

long getMinObservationsInLeafNode ( )

Returns minimal number of samples per node. Default is 1

Returns
Minimal number of samples

◆ getNTrees()

long getNTrees ( )

Returns number of trees to be created by the decision forest classification training algorithm

Returns
Number of trees

◆ getObservationsPerTreeFraction()

double getObservationsPerTreeFraction ( )

Returns fraction of observations used for a training of one tree, 0 to 1. Default is 1 (sampling with replacement)

Returns
Fraction of observations

◆ getResultsToCompute()

long getResultsToCompute ( )

Gets the 64 bit integer flag that indicates the results to compute

Returns
The 64 bit integer flag that indicates the results to compute

◆ getSeed()

int getSeed ( )
Deprecated:
This item will be removed in a future release.

Returns the seed for the random numbers generator used by the algorithm

Returns
Seed for the seed for the random numbers generator used by the algorithm

◆ getVariableImportanceMode()

VariableImportanceModeId getVariableImportanceMode ( )

Returns variable importance computation mode

Returns
Variable importance computation mode

◆ setEngine()

void setEngine ( com.intel.daal.algorithms.engines.BatchBase  engine)

Sets the engine to be used by the algorithm

Parameters
engineto be used by the algorithm

◆ setFeaturesPerNode()

void setFeaturesPerNode ( long  value)

Sets the number of features tried as possible splits by decision forest classification training algorithm. If 0 then sqrt(p) is used, where p is the total number of features.

Parameters
valueNumber of features

◆ setImpurityThreshold()

void setImpurityThreshold ( double  value)

Sets threshold value used as stopping criteria

Parameters
valueImpurity threshold

◆ setMaxTreeDepth()

void setMaxTreeDepth ( long  value)

Sets maximal tree depth. Default is 0 (unlimited)

Parameters
valueMaximal tree depth

◆ setMinObservationsInLeafNode()

void setMinObservationsInLeafNode ( long  value)

Sets minimal number of samples per node. Default is 1

Parameters
valueMinimal number of samples

◆ setNTrees()

void setNTrees ( long  nTrees)

Sets the number of trees to be created by the decision forest classification training algorithm

Parameters
nTreesNumber of trees

◆ setObservationsPerTreeFraction()

void setObservationsPerTreeFraction ( double  value)

Sets fraction of observations used for a training of one tree, 0 to 1

Parameters
valueFraction of observations

◆ setResultsToCompute()

void setResultsToCompute ( long  resultsToCompute)

Sets the 64 bit integer flag that indicates the results to compute

Parameters
resultsToComputeThe 64 bit integer flag that indicates the results to compute

◆ setSeed()

void setSeed ( int  seed)
Deprecated:
This item will be removed in a future release.

Sets the seed for the random numbers generator used by the algorithm

Parameters
seedSeed for the random numbers generator used by the algorithm

◆ setVariableImportanceMode()

void setVariableImportanceMode ( VariableImportanceModeId  value)

Sets the variable importance computation mode

Parameters
valueVariable importance computation mode

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

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