3 types derived from OptionsBase
Microsoft.ML.LightGbm (3)
LightGbmArguments.cs (3)
216
public sealed class Options :
OptionsBase
246
public sealed class Options :
OptionsBase
322
public sealed class Options :
OptionsBase
17 references to OptionsBase
Microsoft.ML.LightGbm (17)
LightGbmArguments.cs (15)
39
{nameof(
OptionsBase
.MinimumSplitGain), "min_split_gain" },
40
{nameof(
OptionsBase
.MaximumTreeDepth), "max_depth"},
41
{nameof(
OptionsBase
.MinimumChildWeight), "min_child_weight"},
42
{nameof(
OptionsBase
.SubsampleFraction), "subsample"},
43
{nameof(
OptionsBase
.SubsampleFrequency), "subsample_freq"},
44
{nameof(
OptionsBase
.L1Regularization), "reg_alpha"},
45
{nameof(
OptionsBase
.L2Regularization), "reg_lambda"},
47
public BoosterParameterBase(
OptionsBase
options)
49
Contracts.CheckUserArg(options.MinimumSplitGain >= 0, nameof(
OptionsBase
.MinimumSplitGain), "must be >= 0.");
50
Contracts.CheckUserArg(options.MinimumChildWeight >= 0, nameof(
OptionsBase
.MinimumChildWeight), "must be >= 0.");
51
Contracts.CheckUserArg(options.SubsampleFraction > 0 && options.SubsampleFraction <= 1, nameof(
OptionsBase
.SubsampleFraction), "must be in (0,1].");
52
Contracts.CheckUserArg(options.FeatureFraction > 0 && options.FeatureFraction <= 1, nameof(
OptionsBase
.FeatureFraction), "must be in (0,1].");
53
Contracts.CheckUserArg(options.L2Regularization >= 0, nameof(
OptionsBase
.L2Regularization), "must be >= 0.");
54
Contracts.CheckUserArg(options.L1Regularization >= 0, nameof(
OptionsBase
.L1Regularization), "must be >= 0.");
198
private protected
OptionsBase
BoosterOptions;
LightGbmTrainerBase.cs (2)
242
private BoosterParameterBase.
OptionsBase
_boosterParameter;
249
public BoosterParameterBase.
OptionsBase
Booster