kgp.tree / TreeGeneratorOptions

TreeGeneratorOptions

data class TreeGeneratorOptions

Options that control tree generation by a TreeGenerator.

Constructors

<init> TreeGeneratorOptions(maxDepth: Int, numFeatures: Int, mode: TreeGenerationMode, constants: List<Double>)

Options that control tree generation by a TreeGenerator.

Properties

constants val constants: List<Double>

A set of constants available to trees generated.

maxDepth val maxDepth: Int

The maximum depth of trees generated.

mode val mode: TreeGenerationMode

The method to use for generating tress.

numFeatures val numFeatures: Int

The number of features available to trees generated.