Parameters
SnapBoost-specific
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Total probability of the tree families, split evenly across depths |
|
|
|
Probability allocated to the optional weighted linear family |
|
|
|
Minimum |
|
|
|
Maximum |
|
|
|
Minimum samples per leaf for decision trees |
|
|
|
L2 regularization for the RFF ridge regressor |
|
|
|
L2 penalty for the optional linear family; defaults to |
|
|
|
Kernel coefficient, or sklearn’s variance-based |
|
|
|
Number of random Fourier features |
|
|
|
Standardize inputs used by the RFF learner |
|
|
|
Features considered by each tree split |
|
sequence or |
|
Optional kernel bandwidth pool |
|
sequence |
|
Any combination of |
|
sequence or |
|
Per-feature monotonic tree constraints when supported; binary and regression only |
Tip
On problems with both piecewise and smooth structure, try p_tree around 0.8–0.9. Setting p_tree=1.0 disables the ridge learner; p_tree=0.0 uses ridge only.
Label conventions
For binary and multiclass classification, original labels are accepted.
Predictions use those labels and probability columns follow classes_ order.
Binary decision_function is one-dimensional; multiclass returns one column
per class.
Fit-time data
fit(X, y, sample_weight=None, eval_set=None, *, eval_sample_weight=None)
accepts non-negative observation weights, one validation pair, and optional
validation weights. early_stopping_rounds has an effect only when
eval_set=(X_validation, y_validation) is provided. eval_metric(y, raw)
receives the original labels, not the internal {-1, +1} encoding.
eval_metric and callbacks are optional fit-time arguments.
candidate_n_jobs controls threaded candidate fitting in greedy mode only.
After fit, staged_predict (and classifier staged_predict_proba /
staged_decision_function) yield the ensemble after each round.
permutation_importance(X, y) is the recommended feature-importance API for
mixed tree and kernel learners.