Skip to content

Parameters

Both estimators take the same keyword arguments. The default is symmetric trees of depth 6 with min_data_in_leaf=1, lambda_l2=3 and m_mult=4. This was the strongest single configuration on held-out data (see Benchmarks). Three parameters default to None, which means “the default of the tree shape”: symmetric trees take the values above, and leaf-wise trees take 20, 1.0 and 2.

parameter default meaning
n_estimators 5000 maximum number of boosting iterations
learning_rate 0.05 shrinkage of every tree
early_stopping_rounds 50 stop when eval_set has not improved for this many rounds (None = off)
time_limit None stop adding trees after this many seconds
random_state 0 seed; the same seed gives the same model for any n_jobs
n_jobs -1 threads (-1 = all); the result does not depend on it
parameter default meaning
grow_policy "symmetric" "symmetric" (oblivious: one split per level, like CatBoost) or "leafwise" (best-first, like LightGBM)
num_leaves 31 leaves per tree (leaf-wise only)
max_depth -1 symmetric: depth 1–8 (-1 = 6); leaf-wise: depth limit (-1 = none)
min_data_in_leaf None minimum rows per leaf (symmetric 1, leaf-wise 20)
min_sum_hessian_in_leaf 1e-3 minimum hessian per leaf
lambda_l2 None L2 regularisation of leaf values (symmetric 3.0, leaf-wise 1.0)
min_gain_to_split 0.0 minimum gain to split
max_bin 255 axis bins per numeric feature
parameter default meaning
preset "default" "accurate" doubles the default m_mult; "fast" uses oblique splits only at depth 0–1
m_mult None oblique candidates per node = m_mult · ceil(sqrt(p)) (symmetric 4, leaf-wise 2)
k_proj 0 features per candidate (0 = random 2 or 3; above 3 predicts via miter’s own evaluator)
oblique_sample_rows 65536 symmetric trees: above this many rows, oblique directions are chosen on a strided sample of this size, and the winner’s threshold and gain are computed exactly on all rows (0 = off). About 2.5× faster training on 500k rows.
efb True symmetric trees: mutually exclusive sparse numeric features (e.g. one-hot columns) share one histogram pass; models are unchanged, training on one-hot-heavy data is ~2× faster
oblique_min_distinct 0 features with fewer distinct values stay out of oblique projections (0 = off)

See Oblique splits for how candidates are drawn and scored.

parameter default meaning
quantizer "linear" 16-bit codes: "linear" (Q16r), "quantile", or "auto" (quantile only for strongly skewed features)
parameter default meaning
max_categories 253 categories kept per feature; the rest share OTHER
min_data_per_group 100 rarer categories share OTHER
max_cat_to_onehot 4 up to this many categories: one-vs-rest splits
max_cat_threshold 32 most categories on the left side of a split
cat_smooth 10.0 smoothing of the category order G / (H + cat_smooth)
cat_l2 10.0 extra L2 for categorical splits
max_ctr_complexity 0 symmetric trees: ordered CTR splits on up to 1–3 combined features; "auto" picks from the data; 0 = off
ctr_n_permutations 1 permutations for the ordered statistics, cycled over trees
ctr_prior_weight 1.0 prior weight of the CTR smoothing
ctr_max_borders 15 thresholds tried per CTR
ctr_model_size_reg 0.5 penalty on larger combinations
cat_oblique_ts False experimental: out-of-fold target statistics of categorical features may enter oblique projections
cat_ts_smooth 10.0 smoothing of those statistics
cat_mode "k1" categorical split mode (only "k1" for now)

See Categorical features.

robust (default False) is reserved for a robust-scaling mode; True raises ValueError for now.

parameter default meaning
feature_fraction 1.0 fraction of features per tree (also the pool for oblique splits)
bagging_fraction 1.0 fraction of rows per tree, sampled without replacement
extra_trees False one random valid threshold per feature instead of the best one
  • High-cardinality categorical features: max_ctr_complexity="auto", ctr_n_permutations=4. On TabArena this helped binary classification the most.
  • Skewed numeric features: quantizer="auto".
  • Large data, where training time matters: preset="fast", or grow_policy="leafwise" (about half the training time of the default).
  • Small data (under ~1000 rows): shallower trees, max_depth=4.