Share via


TreeEnsemble<T> Class

Definition

A list of RegressionTreeBase's derived class. To compute the output value of a TreeEnsemble<T>, we need to compute the output values of all trees in Trees, scale those values via TreeWeights, and finally sum the scaled values and Bias up.

public abstract class TreeEnsemble<T> where T : RegressionTreeBase
type TreeEnsemble<'T (requires 'T :> RegressionTreeBase)> = class
Public MustInherit Class TreeEnsemble(Of T)

Type Parameters

T
Inheritance
TreeEnsemble<T>
Derived

Properties

Bias

When doing prediction, this is a value added to the weighted sum of all Trees' outputs.

Trees

Trees[i] is the i-th RegressionTreeBase in Trees.

TreeWeights

TreeWeights[i] is the i-th RegressionTreeBase's weight in Trees.

Applies to