Dela via


BoosterParameterBase.OptionsBase.FeatureFraction Field

Definition

The fraction of features used when creating trees.

public double FeatureFraction;
val mutable FeatureFraction : double
Public FeatureFraction As Double 

Field Value

If FeatureFraction is smaller than 1.0, LightGBM will randomly select fraction of features to train each tree. For example, if you set it to 0.8, LightGBM will select 80% of features before training each tree. This can be used to speed up training and to reduce over-fitting. Valid range is (0,1].

Applies to