hessboost 0.2.4__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hessboost-0.2.4 → hessboost-0.3.0}/Cargo.toml +15 -3
- hessboost-0.3.0/LICENSE.txt +190 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/PKG-INFO +61 -21
- {hessboost-0.2.4 → hessboost-0.3.0}/README.md +4 -3
- {hessboost-0.2.4 → hessboost-0.3.0}/benches/training.rs +127 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/bench_compare.rs +10 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/pyproject.toml +24 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/python/Cargo.lock +385 -23
- {hessboost-0.2.4 → hessboost-0.3.0}/python/Cargo.toml +11 -2
- {hessboost-0.2.4 → hessboost-0.3.0}/python/README.md +57 -20
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_booster.py +32 -21
- hessboost-0.3.0/python/hessboost/_hessboost.py +38 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_hessboost.pyi +4 -4
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_sklearn_common.py +3 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/booster.rs +4 -3
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/gpu.rs +65 -19
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/lib.rs +7 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/params.rs +26 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_gpu.py +144 -14
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_params.py +2 -1
- hessboost-0.3.0/src/backend/cuda/abi.rs +322 -0
- hessboost-0.3.0/src/backend/cuda/categorical.rs +490 -0
- hessboost-0.3.0/src/backend/cuda/diagnostics.rs +52 -0
- hessboost-0.3.0/src/backend/cuda/driver.rs +487 -0
- hessboost-0.3.0/src/backend/cuda/kernels.rs +53 -0
- hessboost-0.3.0/src/backend/cuda/mod.rs +3903 -0
- hessboost-0.3.0/src/backend/cuda/predict.rs +776 -0
- hessboost-0.3.0/src/backend/cuda/prediction.ptx +396 -0
- hessboost-0.3.0/src/backend/cuda/training.ptx +11306 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/backend/exact_sum.rs +85 -6
- {hessboost-0.2.4 → hessboost-0.3.0}/src/backend/metal.rs +3 -2
- {hessboost-0.2.4 → hessboost-0.3.0}/src/backend/mod.rs +43 -5
- {hessboost-0.2.4 → hessboost-0.3.0}/src/backend/shared.rs +116 -11
- {hessboost-0.2.4 → hessboost-0.3.0}/src/backend/wgpu.rs +4 -31
- {hessboost-0.2.4 → hessboost-0.3.0}/src/config/params.rs +95 -24
- {hessboost-0.2.4 → hessboost-0.3.0}/src/config/xgboost/tests.rs +40 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/ghist.rs +18 -4
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/quantile.rs +8 -3
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/sketch.rs +99 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/lib.rs +10 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/mod.rs +15 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/predict.rs +12 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/src/simd/aarch64.rs +1 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/src/simd/mod.rs +34 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/simd/x86_64.rs +1 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/margins.rs +13 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/multi_output.rs +1 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/prepare.rs +40 -1
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/round.rs +136 -4
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/train.rs +1 -0
- hessboost-0.3.0/src/tree/builder/hist/device.rs +1111 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/hist/mod.rs +243 -90
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/hist/search.rs +103 -54
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/partition.rs +10 -2
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/compact.rs +39 -10
- hessboost-0.3.0/src/tree/hist/mod.rs +884 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/hist/walk.rs +51 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/sampler.rs +4 -4
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/common/gpu.rs +12 -5
- hessboost-0.3.0/tests/cuda.rs +1420 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/aft.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/aft.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/aft.json +694 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/aft.margins +7 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/categorical_splits.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/categorical_splits.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/categorical_splits.json +864 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/categorical_splits.margins +5 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dart.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dart.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dart.json +850 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dart.margins +1 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_flow_matching.hbdm +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_flow_matching.hbdm.json +2874 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_flow_matching.hbdm.probe +1 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_score.hbdm +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_score.hbdm.json +2879 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_score.hbdm.probe +1 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_treeffuser_vp.hbdm +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_treeffuser_vp.hbdm.json +2526 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/diffusion_treeffuser_vp.hbdm.probe +1 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_negbinomial.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_negbinomial.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_negbinomial.json +1173 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_negbinomial.margins +1 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_normal.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_normal.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_normal.json +1589 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_normal.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_normal_vector_leaves.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_normal_vector_leaves.json +975 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/dist_normal_vector_leaves.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/early_stopping.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/early_stopping.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/early_stopping.json +798 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/early_stopping.margins +1 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/expectiles.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/expectiles.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/expectiles.json +1384 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/expectiles.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/forest_diffusion.hbff +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/forest_diffusion.hbff.json +127628 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/forest_diffusion.hbff.probe +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/forest_flow.hbff +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/forest_flow.hbff.json +88629 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/forest_flow.hbff.probe +3 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/gblinear.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/gblinear.json +42 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/gblinear.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/linear_leaves.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/linear_leaves.json +1066 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/linear_leaves.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/multi_target.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/multi_target.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/multi_target.json +1615 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/multi_target.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/multiclass_forest.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/multiclass_forest.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/multiclass_forest.json +6028 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/multiclass_forest.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/quantiles.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/quantiles.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/quantiles.json +2358 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/quantiles.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/vector_leaves.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/vector_leaves.json +1036 -0
- hessboost-0.3.0/tests/data/saved/0.2.5/vector_leaves.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/aft.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/aft.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/aft.json +694 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/aft.margins +7 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/categorical_splits.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/categorical_splits.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/categorical_splits.json +864 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/categorical_splits.margins +5 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dart.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dart.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dart.json +850 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dart.margins +1 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_flow_matching.hbdm +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_flow_matching.hbdm.json +2874 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_flow_matching.hbdm.probe +1 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_score.hbdm +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_score.hbdm.json +2879 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_score.hbdm.probe +1 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_treeffuser_vp.hbdm +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_treeffuser_vp.hbdm.json +2526 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/diffusion_treeffuser_vp.hbdm.probe +1 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_negbinomial.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_negbinomial.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_negbinomial.json +1173 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_negbinomial.margins +1 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_normal.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_normal.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_normal.json +1589 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_normal.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_normal_vector_leaves.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_normal_vector_leaves.json +975 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/dist_normal_vector_leaves.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/early_stopping.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/early_stopping.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/early_stopping.json +798 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/early_stopping.margins +1 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/expectiles.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/expectiles.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/expectiles.json +1384 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/expectiles.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/forest_diffusion.hbff +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/forest_diffusion.hbff.json +127628 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/forest_diffusion.hbff.probe +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/forest_flow.hbff +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/forest_flow.hbff.json +88629 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/forest_flow.hbff.probe +3 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/gblinear.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/gblinear.json +42 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/gblinear.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/linear_leaves.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/linear_leaves.json +1066 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/linear_leaves.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/multi_target.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/multi_target.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/multi_target.json +1615 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/multi_target.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/multiclass_forest.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/multiclass_forest.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/multiclass_forest.json +6028 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/multiclass_forest.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/quantiles.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/quantiles.hbtd +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/quantiles.json +2358 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/quantiles.margins +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/vector_leaves.bin +0 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/vector_leaves.json +1036 -0
- hessboost-0.3.0/tests/data/saved/0.3.0/vector_leaves.margins +0 -0
- hessboost-0.2.4/src/tree/hist/mod.rs +0 -439
- {hessboost-0.2.4 → hessboost-0.3.0}/LICENSE +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/balanced_bagging.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/binary_classification.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/boulevard_inference.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/budget.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/common/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/compact_model.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/conformal.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/constraints.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/custom_objective.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/distributional.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/ebm.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/forest_flow.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/metal.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/model_io.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/multiclass.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/online_update.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/ordered_target_stats.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/pfn_boost.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/rank_xendcg.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/ranking.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/shap.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/train_regression.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/tree_diffusion.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/virtual_ensembles.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/examples/wgpu.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/__init__.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_core.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_data.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_exceptions.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_matrix.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_model_io.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_sklearn_base.pyi +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/_training.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/conformal.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/diffusion/__init__.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/diffusion/forest.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/ebm.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/folds.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/inference.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/online.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/py.typed +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/sklearn.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/hessboost/target_stats.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/codec.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/compact.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/conformal.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/data.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/diffusion.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/dist.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/ebm.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/errors.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/forest.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/inference.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/info.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/online.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/pool.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/target_stats.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/src/train.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/conftest.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_compact.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_conformal.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_data.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_diffusion.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_ebm.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_forest.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_fork.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_inference.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_model_info.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_model_io.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_online.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_polars.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_prediction.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_sklearn.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_stubs.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_target_stats.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_threads.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/python/tests/test_training.py +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/check.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/config/groups.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/config/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/config/xgboost/emit.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/config/xgboost/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/config/xgboost/parse.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/config/xgboost/schema.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/conformal.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/dmatrix.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/loaders.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/meta.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/rows.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/sort.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/data/target_stats.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/fit.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/forest/encoding.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/forest/fit.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/forest/format.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/forest/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/format.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/io.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/process.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/diffusion/sample.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/ebm/grid.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/ebm/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/error.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/inference/ebm.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/inference/kernel.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/inference/linalg.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/inference/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/inference/refit.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/inference/solver.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/inference/term_kernel.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/metric/curve.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/metric/distributional.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/metric/elementwise.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/metric/factory.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/metric/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/metric/quantile.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/metric/ranking.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/metric/survival.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/categories.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/compact/bitstream.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/compact/decode.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/compact/encode.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/compact/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/compact/tests.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/container.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/embed.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/io.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/lightgbm.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/native.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/objective.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/predictions.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/sections.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/serde.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/shap.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/shrinkage.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/slice.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/transform.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/ubjson.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/uncertainty.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/validate.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/xgboost/document.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/xgboost/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/xgboost/objective.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/xgboost/parse.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/xgboost/tests.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/model/xgboost/tree.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/absolute.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/classification.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/count.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/custom.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/distributional/count.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/distributional/dist.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/distributional/family.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/distributional/loss.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/distributional/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/distributional/special.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/distributional/tests.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/multi_target.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/multiclass.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/params.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/quantile.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/query.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/ranking.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/regression.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/spec.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/survival/aft.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/survival/cox.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/survival/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/survival/tests.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/objective/xendcg.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/rng.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/simd/aarch64/tests.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/simd/scalar.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/simd/tests.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/test_support.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/api.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/boulevard.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/budget.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/continuation.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/cv/fold.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/cv/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/dart.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/ebm/boulevard.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/ebm/classic.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/ebm/fast.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/ebm/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/eval.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/gblinear.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/online/cache.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/online/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/online/update.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/refresh.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/row_sampling.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/sampling.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/sglb.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/train/tests.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/training/validate.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/budget.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/categorical.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/exact.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/lightgbm.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/multi.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/oblivious.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/online.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/shared.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/builder/split.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/constraints.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/gain.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/hist/quantized.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/linear.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/linear_fit.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/oblivious.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/regtree.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/src/tree/reuse.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/boulevard.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/budget.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/common/bits.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/common/fixtures.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/common/mod.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/common/smooth.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/continuation.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/cv.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/lightgbm-4.7.0-binary.expected.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/lightgbm-4.7.0-binary.txt +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/lightgbm-4.7.0-linear.expected.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/lightgbm-4.7.0-linear.txt +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/aft.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/aft.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/aft.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/aft.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/categorical_splits.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/categorical_splits.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/categorical_splits.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/categorical_splits.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dart.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dart.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dart.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dart.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_negbinomial.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_negbinomial.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_negbinomial.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_negbinomial.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_normal.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_normal.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_normal.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_normal.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_normal_vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_normal_vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/dist_normal_vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/early_stopping.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/early_stopping.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/early_stopping.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/early_stopping.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/expectiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/expectiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/expectiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/expectiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/gblinear.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/gblinear.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/gblinear.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/linear_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/linear_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/linear_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/multi_target.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/multi_target.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/multi_target.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/multi_target.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/multiclass_forest.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/multiclass_forest.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/multiclass_forest.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/multiclass_forest.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/quantiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/quantiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/quantiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/quantiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.0/vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/aft.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/aft.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/aft.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/aft.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/categorical_splits.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/categorical_splits.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/categorical_splits.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/categorical_splits.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dart.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dart.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dart.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dart.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_flow_matching.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_flow_matching.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_flow_matching.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_score.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_score.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_score.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_treeffuser_vp.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_treeffuser_vp.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/diffusion_treeffuser_vp.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_negbinomial.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_negbinomial.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_negbinomial.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_negbinomial.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_normal.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_normal.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_normal.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_normal.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_normal_vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_normal_vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/dist_normal_vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/early_stopping.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/early_stopping.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/early_stopping.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/early_stopping.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/expectiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/expectiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/expectiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/expectiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/forest_diffusion.hbff +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/forest_diffusion.hbff.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/forest_diffusion.hbff.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/forest_flow.hbff +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/forest_flow.hbff.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/forest_flow.hbff.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/gblinear.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/gblinear.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/gblinear.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/linear_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/linear_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/linear_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/multi_target.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/multi_target.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/multi_target.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/multi_target.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/multiclass_forest.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/multiclass_forest.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/multiclass_forest.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/multiclass_forest.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/quantiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/quantiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/quantiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/quantiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.1/vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/aft.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/aft.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/aft.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/aft.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/categorical_splits.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/categorical_splits.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/categorical_splits.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/categorical_splits.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dart.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dart.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dart.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dart.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_flow_matching.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_flow_matching.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_flow_matching.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_score.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_score.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_score.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_treeffuser_vp.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_treeffuser_vp.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/diffusion_treeffuser_vp.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_negbinomial.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_negbinomial.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_negbinomial.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_negbinomial.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_normal.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_normal.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_normal.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_normal.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_normal_vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_normal_vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/dist_normal_vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/early_stopping.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/early_stopping.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/early_stopping.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/early_stopping.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/expectiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/expectiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/expectiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/expectiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/forest_diffusion.hbff +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/forest_diffusion.hbff.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/forest_diffusion.hbff.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/forest_flow.hbff +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/forest_flow.hbff.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/forest_flow.hbff.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/gblinear.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/gblinear.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/gblinear.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/linear_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/linear_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/linear_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/multi_target.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/multi_target.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/multi_target.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/multi_target.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/multiclass_forest.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/multiclass_forest.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/multiclass_forest.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/multiclass_forest.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/quantiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/quantiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/quantiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/quantiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.2/vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/aft.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/aft.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/aft.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/aft.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/categorical_splits.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/categorical_splits.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/categorical_splits.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/categorical_splits.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dart.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dart.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dart.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dart.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_flow_matching.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_flow_matching.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_flow_matching.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_score.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_score.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_score.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_treeffuser_vp.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_treeffuser_vp.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/diffusion_treeffuser_vp.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_negbinomial.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_negbinomial.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_negbinomial.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_negbinomial.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_normal.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_normal.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_normal.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_normal.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_normal_vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_normal_vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/dist_normal_vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/early_stopping.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/early_stopping.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/early_stopping.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/early_stopping.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/expectiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/expectiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/expectiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/expectiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/forest_diffusion.hbff +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/forest_diffusion.hbff.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/forest_diffusion.hbff.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/forest_flow.hbff +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/forest_flow.hbff.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/forest_flow.hbff.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/gblinear.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/gblinear.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/gblinear.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/linear_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/linear_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/linear_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/multi_target.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/multi_target.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/multi_target.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/multi_target.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/multiclass_forest.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/multiclass_forest.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/multiclass_forest.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/multiclass_forest.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/quantiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/quantiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/quantiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/quantiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.3/vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/aft.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/aft.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/aft.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/aft.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/categorical_splits.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/categorical_splits.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/categorical_splits.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/categorical_splits.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dart.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dart.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dart.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dart.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_flow_matching.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_flow_matching.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_flow_matching.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_score.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_score.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_score.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_treeffuser_vp.hbdm +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_treeffuser_vp.hbdm.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/diffusion_treeffuser_vp.hbdm.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_negbinomial.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_negbinomial.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_negbinomial.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_negbinomial.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_normal.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_normal.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_normal.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_normal.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_normal_vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_normal_vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/dist_normal_vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/early_stopping.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/early_stopping.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/early_stopping.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/early_stopping.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/expectiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/expectiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/expectiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/expectiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/forest_diffusion.hbff +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/forest_diffusion.hbff.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/forest_diffusion.hbff.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/forest_flow.hbff +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/forest_flow.hbff.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/forest_flow.hbff.probe +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/gblinear.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/gblinear.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/gblinear.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/linear_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/linear_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/linear_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/multi_target.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/multi_target.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/multi_target.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/multi_target.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/multiclass_forest.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/multiclass_forest.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/multiclass_forest.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/multiclass_forest.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/quantiles.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/quantiles.hbtd +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/quantiles.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/quantiles.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/vector_leaves.bin +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/vector_leaves.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/saved/0.2.4/vector_leaves.margins +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/xgboost-3.4.2-categorical.json +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/data/xgboost-3.4.2-categorical.ubj +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/diffusion.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/distributional.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/dmatrix.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/ebm.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/forest.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/lightgbm_parity.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/metal.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/model_format.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/multi_output.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/native_format.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/online.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/parity.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/properties.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/quantized.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/round_hook.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/row_prediction.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/row_prediction_alloc.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/row_prediction_pool.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/sampling.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/sglb.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/shap_accumulation.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/target_stats.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/tree_options.rs +0 -0
- {hessboost-0.2.4 → hessboost-0.3.0}/tests/wgpu.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "hessboost"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
rust-version = "1.93"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -24,8 +24,9 @@ include = [
|
|
|
24
24
|
readme = "README.md"
|
|
25
25
|
|
|
26
26
|
# docs.rs builds on Linux, where the `wgpu` backend compiles (its drivers
|
|
27
|
-
# load at run time) and `metal`
|
|
28
|
-
#
|
|
27
|
+
# load at run time) and neither `metal` (no Apple SDK) nor `cuda` (no CUDA
|
|
28
|
+
# toolkit headers for `cuda-bindings`) does, so wgpu's real docs render
|
|
29
|
+
# there and the Metal and CUDA modules' stand-ins do.
|
|
29
30
|
[package.metadata.docs.rs]
|
|
30
31
|
features = ["wgpu"]
|
|
31
32
|
|
|
@@ -63,6 +64,17 @@ metal = ["dep:objc2", "dep:objc2-metal", "dep:objc2-foundation"]
|
|
|
63
64
|
# histogram training (`device = wgpu`) and prediction
|
|
64
65
|
# (`BoostedModel::to_wgpu`). Opt-in and off by default; see `src/backend/`.
|
|
65
66
|
wgpu = ["dep:wgpu", "dep:bytemuck", "dep:parking_lot"]
|
|
67
|
+
# NVIDIA CUDA acceleration for histogram training and prediction on Linux.
|
|
68
|
+
# Opt-in and off by default. The kernels are embedded PTX (Rust compiled by
|
|
69
|
+
# cuda-oxide, `cuda-kernels/`); the host side is cuda-oxide's `cuda-core`,
|
|
70
|
+
# which loads `libcuda` (the driver, CUDA 12.8 or later) at run time.
|
|
71
|
+
# Building it needs the CUDA 13 toolkit's `cuda.h` and `curand.h` and
|
|
72
|
+
# libclang (`cuda-bindings` generates its bindings from them); see AGENTS.md
|
|
73
|
+
# and `src/backend/`.
|
|
74
|
+
cuda = ["dep:cuda-core", "dep:parking_lot"]
|
|
75
|
+
|
|
76
|
+
[target.'cfg(target_os = "linux")'.dependencies]
|
|
77
|
+
cuda-core = { version = "0.4", optional = true }
|
|
66
78
|
|
|
67
79
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
68
80
|
objc2 = { version = "0.6", default-features = false, features = ["std"], optional = true }
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
95
|
+
Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works.
|
|
111
|
+
|
|
112
|
+
You may add Your own copyright statement to Your modifications and
|
|
113
|
+
may provide additional or different license terms and conditions
|
|
114
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
115
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
116
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
117
|
+
the conditions stated in this License.
|
|
118
|
+
|
|
119
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
120
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
121
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
122
|
+
this License, without any additional terms or conditions.
|
|
123
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
124
|
+
the terms of any separate license agreement you may have executed
|
|
125
|
+
with Licensor regarding such Contributions.
|
|
126
|
+
|
|
127
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
128
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
129
|
+
except as required for reasonable and customary use in describing the
|
|
130
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
131
|
+
|
|
132
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
133
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
134
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
135
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
136
|
+
implied, including, without limitation, any warranties or conditions
|
|
137
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
138
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
139
|
+
appropriateness of using or redistributing the Work and assume any
|
|
140
|
+
risks associated with Your exercise of permissions under this License.
|
|
141
|
+
|
|
142
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
143
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
144
|
+
unless required by applicable law (such as deliberate and grossly
|
|
145
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
146
|
+
liable to You for damages, including any direct, indirect, special,
|
|
147
|
+
incidental, or consequential damages of any character arising as a
|
|
148
|
+
result of this License or out of the use or inability to use the
|
|
149
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
150
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
151
|
+
other commercial damages or losses), even if such Contributor
|
|
152
|
+
has been advised of the possibility of such damages.
|
|
153
|
+
|
|
154
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
155
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
156
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
157
|
+
or other liability obligations and/or rights consistent with this
|
|
158
|
+
License. However, in accepting such obligations, You may act only
|
|
159
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
160
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
161
|
+
defend, and hold each Contributor harmless for any liability
|
|
162
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
163
|
+
of your accepting any such warranty or additional liability.
|
|
164
|
+
|
|
165
|
+
END OF TERMS AND CONDITIONS
|
|
166
|
+
|
|
167
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
168
|
+
|
|
169
|
+
To apply the Apache License to your work, attach the following
|
|
170
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
171
|
+
replaced with your own identifying information. (Don't include
|
|
172
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
173
|
+
comment syntax for the file format. We also recommend that a
|
|
174
|
+
file or class name and description of purpose be included on the
|
|
175
|
+
same "printed page" as the copyright notice for easier
|
|
176
|
+
identification within third-party archives.
|
|
177
|
+
|
|
178
|
+
Copyright [yyyy] [name of copyright owner]
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hessboost
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: Intended Audience :: Science/Research
|
|
@@ -19,12 +19,15 @@ Classifier: Programming Language :: Rust
|
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
20
|
Classifier: Typing :: Typed
|
|
21
21
|
Requires-Dist: numpy>=2
|
|
22
|
+
Requires-Dist: hessboost-runtime-cuda==0.3.0 ; sys_platform == 'linux' and extra == 'cuda'
|
|
22
23
|
Requires-Dist: pandas>=2.2 ; extra == 'pandas'
|
|
23
24
|
Requires-Dist: polars>=1.0 ; extra == 'polars'
|
|
24
25
|
Requires-Dist: scikit-learn>=1.6 ; extra == 'scikit-learn'
|
|
26
|
+
Provides-Extra: cuda
|
|
25
27
|
Provides-Extra: pandas
|
|
26
28
|
Provides-Extra: polars
|
|
27
29
|
Provides-Extra: scikit-learn
|
|
30
|
+
License-File: LICENSE.txt
|
|
28
31
|
Summary: Fast, deterministic gradient boosting in Rust: conformal intervals, explainable boosting machines, distributional boosting, and tree-based diffusion
|
|
29
32
|
Keywords: xgboost,gradient-boosting,gbdt,machine-learning,decision-trees,rust
|
|
30
33
|
Author-email: Brenden Matthews <brenden@brndn.io>
|
|
@@ -65,17 +68,19 @@ UBJSON.
|
|
|
65
68
|
uv add hessboost # or: pip install hessboost
|
|
66
69
|
```
|
|
67
70
|
|
|
68
|
-
Extras: `hessboost[pandas]`, `hessboost[polars]`,
|
|
69
|
-
`hessboost[
|
|
71
|
+
Extras: `hessboost[pandas]`, `hessboost[polars]`, `hessboost[scikit-learn]`,
|
|
72
|
+
and `hessboost[cuda]` for NVIDIA GPUs on Linux (see
|
|
73
|
+
[GPU training and prediction](#gpu-training-and-prediction)). numpy is the
|
|
74
|
+
only required dependency.
|
|
70
75
|
|
|
71
76
|
Prebuilt wheels are published for Linux x86_64 and aarch64 (glibc
|
|
72
77
|
manylinux and musl/Alpine musllinux), macOS arm64, and Windows x86_64: one
|
|
73
78
|
`abi3` wheel per platform for CPython 3.11 and newer, plus a wheel for
|
|
74
79
|
free-threaded CPython 3.14t. Every wheel trains and predicts on a GPU
|
|
75
80
|
through wgpu (Vulkan, Metal, DirectX 12), and the macOS wheels also through
|
|
76
|
-
native Metal
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
native Metal; CUDA comes only with the `cuda` extra. Elsewhere the
|
|
82
|
+
installer builds from the source distribution, which needs Rust 1.93 or
|
|
83
|
+
newer and a C compiler (for libzstd).
|
|
79
84
|
|
|
80
85
|
## Quick start
|
|
81
86
|
|
|
@@ -511,13 +516,18 @@ models save and load like `DiffusionModel`s.
|
|
|
511
516
|
|
|
512
517
|
### GPU training and prediction
|
|
513
518
|
|
|
514
|
-
|
|
515
|
-
(`"metal"`, macOS)
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
`to_gpu(
|
|
519
|
-
|
|
520
|
-
`
|
|
519
|
+
Three GPU backends reproduce the CPU's results bit for bit: native Metal
|
|
520
|
+
(`"metal"`, macOS), wgpu (`"wgpu"`: Vulkan on Linux and Windows, Metal on
|
|
521
|
+
macOS, DirectX 12 on Windows), and NVIDIA CUDA (`"cuda"` or
|
|
522
|
+
`"cuda:<ordinal>"`, Linux, with `hessboost[cuda]`; see below).
|
|
523
|
+
`Booster.to_gpu()` lays a model out for batch
|
|
524
|
+
prediction (on Metal on macOS and on wgpu elsewhere; `to_gpu("wgpu")` asks
|
|
525
|
+
for wgpu, `to_gpu("cuda:1")` for the second NVIDIA GPU): the forest
|
|
526
|
+
uploads once, and each call predicts bit-identically to `Booster.predict`
|
|
527
|
+
(values or raw margins). Objective transforms run on the CPU; models
|
|
528
|
+
trained with model shrinkage predict on the CPU. `gblinear` and
|
|
529
|
+
linear-leaf models are refused. `GpuModel.available()` says whether the
|
|
530
|
+
device can predict here:
|
|
521
531
|
|
|
522
532
|
```python
|
|
523
533
|
from hessboost import GpuModel
|
|
@@ -527,8 +537,8 @@ if GpuModel.available():
|
|
|
527
537
|
probabilities = gpu.predict(X_test)
|
|
528
538
|
```
|
|
529
539
|
|
|
530
|
-
Training with `device="metal"` or `device="
|
|
531
|
-
histograms on the GPU and gives the CPU's model bit for bit:
|
|
540
|
+
Training with `device="metal"`, `device="wgpu"` or `device="cuda"` builds
|
|
541
|
+
histograms on the selected GPU and gives the CPU's model bit for bit:
|
|
532
542
|
|
|
533
543
|
```python
|
|
534
544
|
booster = hessboost.train({"device": "wgpu", "max_depth": 6}, dtrain, 100)
|
|
@@ -542,6 +552,31 @@ as Mesa's lavapipe (correct, but slower than the CPU) only when there is no
|
|
|
542
552
|
other; `GpuModel.device_name("wgpu")` names the adapter it picked, and the
|
|
543
553
|
`WGPU_ADAPTER_NAME` environment variable picks one by name.
|
|
544
554
|
|
|
555
|
+
The plain package needs no CUDA; CUDA support is the `cuda` extra:
|
|
556
|
+
|
|
557
|
+
```sh
|
|
558
|
+
uv add 'hessboost[cuda]' # or: pip install 'hessboost[cuda]'
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
It installs `hessboost-runtime-cuda`, hessboost's extension built with CUDA
|
|
562
|
+
kernels (Rust compiled to PTX by cuda-oxide), which `import hessboost` loads
|
|
563
|
+
in place of its own. Its wheels cover x86_64 and aarch64 glibc Linux; on
|
|
564
|
+
other Linux platforms the installer builds it from source, which also needs
|
|
565
|
+
CUDA 13's driver and cuRAND headers and libclang. Both packages must come
|
|
566
|
+
from the same release: `import hessboost` refuses to load beside a
|
|
567
|
+
`hessboost-runtime-cuda` of another release. Running needs no CUDA toolkit,
|
|
568
|
+
only an NVIDIA GPU of compute capability 7.5 (Turing) or newer and a driver
|
|
569
|
+
supporting CUDA 12.8 or newer, which compiles the kernels for the GPU on
|
|
570
|
+
first use and caches them. A missing driver or device, or an installation
|
|
571
|
+
without the CUDA runtime, returns an error rather than silently predicting
|
|
572
|
+
on the CPU.
|
|
573
|
+
|
|
574
|
+
```python
|
|
575
|
+
if GpuModel.available("cuda"):
|
|
576
|
+
gpu = booster.to_gpu("cuda")
|
|
577
|
+
probabilities = gpu.predict(X_test)
|
|
578
|
+
```
|
|
579
|
+
|
|
545
580
|
### Compact models
|
|
546
581
|
|
|
547
582
|
`Booster.to_compact()` packs the trees default prediction uses into
|
|
@@ -643,17 +678,18 @@ LightGBM's `rank_xendcg` stream.
|
|
|
643
678
|
scikit-learn behavior); pass `iteration_range=(0, 0)` for all. SHAP and
|
|
644
679
|
leaf ranges start at iteration 0; `pred_leaf` defaults to every iteration
|
|
645
680
|
instead, and returns `int32`.
|
|
646
|
-
- GPUs:
|
|
647
|
-
`device="
|
|
648
|
-
|
|
649
|
-
|
|
681
|
+
- GPUs: besides XGBoost's `device="cuda"`/`"cuda:<ordinal>"` (NVIDIA on
|
|
682
|
+
Linux, with `hessboost[cuda]`), `device="metal"` (macOS) and
|
|
683
|
+
`device="wgpu"` train on a GPU.
|
|
684
|
+
Prediction does not follow the training device: `Booster.to_gpu(device)`
|
|
685
|
+
lays the model out for GPU batch prediction (`GpuModel.predict`,
|
|
686
|
+
bit-identical to `Booster.predict`), taking the same GPU `device` strings.
|
|
650
687
|
- Model files do not store feature names or categories (pickles do).
|
|
651
688
|
- Not available: `DMatrix` from files or `QuantileDMatrix`, `inplace_predict`
|
|
652
689
|
(`predict` takes arrays directly, and `predict_row` single rows),
|
|
653
690
|
`Booster.get_dump`/`trees_to_dataframe`/`dump_model` (`model_info()`
|
|
654
691
|
returns the trees as arrays), attributes (`set_attr`), plotting,
|
|
655
|
-
distributed (Dask/Spark)
|
|
656
|
-
`strict_shape`.
|
|
692
|
+
distributed (Dask/Spark), `approx_contribs`, and `strict_shape`.
|
|
657
693
|
|
|
658
694
|
## Development
|
|
659
695
|
|
|
@@ -666,6 +702,10 @@ uv run --locked pytest
|
|
|
666
702
|
uv run --locked pyright --verifytypes hessboost --ignoreexternal
|
|
667
703
|
```
|
|
668
704
|
|
|
705
|
+
On Linux, with CUDA 13's headers in `CUDA_HOME` and libclang,
|
|
706
|
+
`uv sync --locked --extra cuda` also builds the CUDA runtime from
|
|
707
|
+
`runtime-cuda/`, and `uv run --locked --extra cuda pytest` tests against it.
|
|
708
|
+
|
|
669
709
|
Lint, format, and type-check all of the repository's Python from its root
|
|
670
710
|
(configuration: `ruff.toml`, `ty.toml`):
|
|
671
711
|
|
|
@@ -41,7 +41,7 @@ cargo add hessboost
|
|
|
41
41
|
For users pinning a release series in a Cargo manifest:
|
|
42
42
|
|
|
43
43
|
```toml
|
|
44
|
-
hessboost = "0.
|
|
44
|
+
hessboost = "0.3"
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
Needs Rust 1.93 or newer and a C compiler (to build libzstd).
|
|
@@ -139,7 +139,8 @@ LazyFrames, with labels taken from the frame's columns by name) categorical
|
|
|
139
139
|
input, and the conformal, distributional, tree-diffusion, ForestFlow,
|
|
140
140
|
in-place update, ordered target statistics, budget training, and compact
|
|
141
141
|
model extras, with GPU training and batch prediction (`device="wgpu"` on
|
|
142
|
-
every platform, `device="metal"` on macOS
|
|
142
|
+
every platform, `device="metal"` on macOS, and `device="cuda"` on Linux with
|
|
143
|
+
`pip install 'hessboost[cuda]'`; `Booster.to_gpu()`):
|
|
143
144
|
|
|
144
145
|
```python
|
|
145
146
|
import hessboost
|
|
@@ -179,6 +180,7 @@ See [`python/README.md`](python/README.md).
|
|
|
179
180
|
- [Budget training](https://docs.rs/hessboost/latest/hessboost/training/budget/): Training controlled by one budget value, based on PerpetualBooster.
|
|
180
181
|
- [Metal GPU](https://docs.rs/hessboost/latest/hessboost/backend/metal/): Apple Silicon GPU prediction and training (`--features metal`).
|
|
181
182
|
- [wgpu GPU](https://docs.rs/hessboost/latest/hessboost/backend/wgpu/): Vulkan, Metal, and DirectX 12 GPU prediction and training through wgpu (`--features wgpu`), bit-identical to the CPU.
|
|
183
|
+
- [CUDA GPU](https://docs.rs/hessboost/latest/hessboost/backend/cuda/): NVIDIA GPU prediction and training on Linux (`--features cuda`; building it needs CUDA 13's headers and libclang), bit-identical to the CPU.
|
|
182
184
|
|
|
183
185
|
## Caveats
|
|
184
186
|
|
|
@@ -189,7 +191,6 @@ See [`python/README.md`](python/README.md).
|
|
|
189
191
|
|
|
190
192
|
- Distributed and external-memory training.
|
|
191
193
|
- CLI and C bindings.
|
|
192
|
-
- CUDA. GPU training runs through Metal (macOS) or wgpu (Vulkan, Metal, DirectX 12).
|
|
193
194
|
- A few XGBoost options exist at one setting only, and a few metrics are
|
|
194
195
|
missing; the [API docs](https://docs.rs/hessboost/latest/hessboost/#not-implemented)
|
|
195
196
|
list them.
|
|
@@ -1378,6 +1378,131 @@ fn bench_wgpu(c: &mut Criterion) {
|
|
|
1378
1378
|
#[cfg(not(feature = "wgpu"))]
|
|
1379
1379
|
fn bench_wgpu(_c: &mut Criterion) {}
|
|
1380
1380
|
|
|
1381
|
+
/// CUDA GPU benches (`cargo bench --features cuda` on Linux with an NVIDIA
|
|
1382
|
+
/// GPU): histogram construction and end-to-end training, each against its
|
|
1383
|
+
/// CPU counterpart on identical data. The GPU results are bit-identical to
|
|
1384
|
+
/// the CPU's, so the benches compare speed only; the per-node strategy
|
|
1385
|
+
/// counts are printed so a run shows how much of the work reached the GPU.
|
|
1386
|
+
#[cfg(all(target_os = "linux", feature = "cuda"))]
|
|
1387
|
+
fn bench_cuda(c: &mut Criterion) {
|
|
1388
|
+
use hessboost::backend::cuda;
|
|
1389
|
+
use hessboost::backend::cuda::CudaHistBackend;
|
|
1390
|
+
use hessboost::config::Device;
|
|
1391
|
+
|
|
1392
|
+
if let Some(reason) = cuda::unavailable_reason(0) {
|
|
1393
|
+
eprintln!("skipping cuda benches: {reason}");
|
|
1394
|
+
return;
|
|
1395
|
+
}
|
|
1396
|
+
eprintln!("cuda device: {}", cuda::device_name(0).unwrap_or_default());
|
|
1397
|
+
{
|
|
1398
|
+
let mut group = c.benchmark_group("cuda_histogram_build");
|
|
1399
|
+
group.sample_size(10);
|
|
1400
|
+
for &n in &[1_000_000usize, 10_000_000] {
|
|
1401
|
+
let (ghist, gpair, rows) = histogram_case(&make_data(n, 30));
|
|
1402
|
+
let gpu = CudaHistBackend::new(&ghist, 0).unwrap();
|
|
1403
|
+
gpu.prepare(&ghist, &gpair);
|
|
1404
|
+
let mut cpu_out = zeroed(ghist.total_bins());
|
|
1405
|
+
let mut gpu_out = zeroed(ghist.total_bins());
|
|
1406
|
+
group.throughput(Throughput::Elements(n as u64));
|
|
1407
|
+
group.bench_with_input(BenchmarkId::new("cpu", n), &n, |b, _| {
|
|
1408
|
+
b.iter(|| CpuBackend.build(&ghist, &rows, &gpair, &mut cpu_out));
|
|
1409
|
+
});
|
|
1410
|
+
group.bench_with_input(BenchmarkId::new("cuda", n), &n, |b, _| {
|
|
1411
|
+
b.iter(|| gpu.build(&ghist, &rows, &gpair, &mut gpu_out));
|
|
1412
|
+
});
|
|
1413
|
+
assert!(
|
|
1414
|
+
cuda::available(0),
|
|
1415
|
+
"CUDA benchmark fell back: {:?}",
|
|
1416
|
+
cuda::unavailable_reason(0)
|
|
1417
|
+
);
|
|
1418
|
+
eprintln!("cuda_histogram_build/{n}: {:?}", gpu.node_counts());
|
|
1419
|
+
}
|
|
1420
|
+
group.finish();
|
|
1421
|
+
}
|
|
1422
|
+
{
|
|
1423
|
+
let data = make_data(1_000_000, 30);
|
|
1424
|
+
let mut group = c.benchmark_group("cuda_train_1m_x30_20rounds_depth8");
|
|
1425
|
+
group.sample_size(10);
|
|
1426
|
+
for (name, device) in [("cpu", Device::Cpu), ("cuda", Device::Cuda { ordinal: 0 })] {
|
|
1427
|
+
let params = TrainingParams::builder()
|
|
1428
|
+
.objective(Objective::SquaredError(RegLoss::default()))
|
|
1429
|
+
.tree_method(TreeMethod::Hist)
|
|
1430
|
+
.max_depth(8)
|
|
1431
|
+
.eta(0.1)
|
|
1432
|
+
.device(device)
|
|
1433
|
+
.build()
|
|
1434
|
+
.unwrap();
|
|
1435
|
+
group.bench_function(name, |b| {
|
|
1436
|
+
b.iter(|| black_box(train(¶ms, &data, 20).unwrap()));
|
|
1437
|
+
});
|
|
1438
|
+
if matches!(device, Device::Cuda { .. }) {
|
|
1439
|
+
assert!(
|
|
1440
|
+
cuda::available(0),
|
|
1441
|
+
"CUDA benchmark fell back: {:?}",
|
|
1442
|
+
cuda::unavailable_reason(0)
|
|
1443
|
+
);
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
group.finish();
|
|
1447
|
+
}
|
|
1448
|
+
{
|
|
1449
|
+
let mut group = c.benchmark_group("cuda_train_variants_200k_x30_20rounds_depth6");
|
|
1450
|
+
group.sample_size(10);
|
|
1451
|
+
for (case, data, policy) in [
|
|
1452
|
+
(
|
|
1453
|
+
"categorical",
|
|
1454
|
+
make_categorical_data(200_000, 30),
|
|
1455
|
+
GrowPolicy::DepthWise,
|
|
1456
|
+
),
|
|
1457
|
+
("lossguide", make_data(200_000, 30), GrowPolicy::LossGuide),
|
|
1458
|
+
("csr", make_csr_data(200_000, 30), GrowPolicy::DepthWise),
|
|
1459
|
+
] {
|
|
1460
|
+
for (engine, device) in [("cpu", Device::Cpu), ("cuda", Device::Cuda { ordinal: 0 })] {
|
|
1461
|
+
let params = base_hist_params()
|
|
1462
|
+
.grow_policy(policy)
|
|
1463
|
+
.max_leaves(64)
|
|
1464
|
+
.device(device)
|
|
1465
|
+
.build()
|
|
1466
|
+
.unwrap();
|
|
1467
|
+
group.bench_function(format!("{case}/{engine}"), |b| {
|
|
1468
|
+
b.iter(|| black_box(train(¶ms, &data, 20).unwrap()));
|
|
1469
|
+
});
|
|
1470
|
+
if matches!(device, Device::Cuda { .. }) {
|
|
1471
|
+
assert!(
|
|
1472
|
+
cuda::available(0),
|
|
1473
|
+
"CUDA benchmark fell back: {:?}",
|
|
1474
|
+
cuda::unavailable_reason(0)
|
|
1475
|
+
);
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
group.finish();
|
|
1480
|
+
}
|
|
1481
|
+
{
|
|
1482
|
+
let model_data = make_data(100_000, 30);
|
|
1483
|
+
let model = trained_model(&model_data, 100);
|
|
1484
|
+
let gpu = model.to_cuda(0).unwrap();
|
|
1485
|
+
let data = make_data(500_000, 30);
|
|
1486
|
+
// Warm both paths outside timing; CUDA context/forest upload stays
|
|
1487
|
+
// separate from reused-predictor timings, input transfers stay inside.
|
|
1488
|
+
model.predict_margin(&data, ..).unwrap();
|
|
1489
|
+
gpu.predict_margin(&data, ..).unwrap();
|
|
1490
|
+
let mut group = c.benchmark_group("cuda_predict_500k_x30_100trees_depth6");
|
|
1491
|
+
group.sample_size(10);
|
|
1492
|
+
group.throughput(Throughput::Elements(data.n_rows() as u64));
|
|
1493
|
+
group.bench_function("cpu", |b| {
|
|
1494
|
+
b.iter(|| model.predict_margin(black_box(&data), ..).unwrap());
|
|
1495
|
+
});
|
|
1496
|
+
group.bench_function("cuda", |b| {
|
|
1497
|
+
b.iter(|| gpu.predict_margin(black_box(&data), ..).unwrap());
|
|
1498
|
+
});
|
|
1499
|
+
group.finish();
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
#[cfg(not(all(target_os = "linux", feature = "cuda")))]
|
|
1504
|
+
fn bench_cuda(_c: &mut Criterion) {}
|
|
1505
|
+
|
|
1381
1506
|
criterion_group!(
|
|
1382
1507
|
benches,
|
|
1383
1508
|
bench_histogram_build,
|
|
@@ -1399,6 +1524,7 @@ criterion_group!(
|
|
|
1399
1524
|
bench_data_prep,
|
|
1400
1525
|
bench_ebm_fast,
|
|
1401
1526
|
bench_metal,
|
|
1402
|
-
bench_wgpu
|
|
1527
|
+
bench_wgpu,
|
|
1528
|
+
bench_cuda
|
|
1403
1529
|
);
|
|
1404
1530
|
criterion_main!(benches);
|
|
@@ -20,8 +20,11 @@ fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
|
|
|
20
20
|
let x_test = read_f32(&dir.join("X_test.bin"))?;
|
|
21
21
|
let y_test = read_f32(&dir.join("y_test.bin"))?;
|
|
22
22
|
let dtest = DMatrix::from_dense(&x_test, meta.n_test, meta.n_cols)?.with_labels(&y_test)?;
|
|
23
|
-
// The XGBoost parameter dict `scripts/bench_xgb.py` trains XGBoost with
|
|
23
|
+
// The XGBoost parameter dict `scripts/bench_xgb.py` trains XGBoost with;
|
|
24
|
+
// `BENCH_DEVICE` is its `--device` (`cpu` unless set).
|
|
25
|
+
let device = std::env::var("BENCH_DEVICE").unwrap_or_else(|_| "cpu".to_owned());
|
|
24
26
|
let mut xgboost = vec![
|
|
27
|
+
("device", json!(device)),
|
|
25
28
|
("objective", json!(meta.objective)),
|
|
26
29
|
("tree_method", json!("hist")),
|
|
27
30
|
("grow_policy", json!("depthwise")),
|
|
@@ -52,6 +55,12 @@ fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
|
|
|
52
55
|
let dtrain = DMatrix::from_dense(&x, meta.n_rows, meta.n_cols)?.with_labels(&y)?;
|
|
53
56
|
let model = train(¶ms, &dtrain, meta.num_round)?;
|
|
54
57
|
let elapsed = start.elapsed().as_secs_f64();
|
|
58
|
+
#[cfg(all(target_os = "linux", feature = "cuda"))]
|
|
59
|
+
if let hessboost::config::Device::Cuda { ordinal } = params.device
|
|
60
|
+
&& let Some(reason) = hessboost::backend::cuda::unavailable_reason(ordinal)
|
|
61
|
+
{
|
|
62
|
+
return Err(format!("CUDA timing is invalid after fallback: {reason}").into());
|
|
63
|
+
}
|
|
55
64
|
if run > 0 {
|
|
56
65
|
samples.push(elapsed);
|
|
57
66
|
}
|
|
@@ -9,6 +9,10 @@ description = "Fast, deterministic gradient boosting in Rust: conformal interval
|
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
11
11
|
license = "Apache-2.0"
|
|
12
|
+
# A copy of the repository's LICENSE: `license-files` cannot reach `..`, and
|
|
13
|
+
# the sdist already holds the root crate's `LICENSE`. publish.yml checks
|
|
14
|
+
# that every distribution carries it.
|
|
15
|
+
license-files = ["LICENSE.txt"]
|
|
12
16
|
authors = [{ name = "Brenden Matthews", email = "brenden@brndn.io" }]
|
|
13
17
|
keywords = ["xgboost", "gradient-boosting", "gbdt", "machine-learning", "decision-trees", "rust"]
|
|
14
18
|
classifiers = [
|
|
@@ -33,6 +37,10 @@ classifiers = [
|
|
|
33
37
|
dependencies = ["numpy>=2"]
|
|
34
38
|
|
|
35
39
|
[project.optional-dependencies]
|
|
40
|
+
# The CUDA runtime: the extension built with CUDA, which the package then
|
|
41
|
+
# loads in place of its own (`hessboost/_hessboost.py`). Linux only, and
|
|
42
|
+
# always this release (release.py bumps the pin with the version).
|
|
43
|
+
cuda = ["hessboost-runtime-cuda==0.3.0; sys_platform == 'linux'"]
|
|
36
44
|
pandas = ["pandas>=2.2"]
|
|
37
45
|
# 1.x and 2.x: uv.lock tests the latest, CI also the oldest and latest 1.x.
|
|
38
46
|
polars = ["polars>=1.0"]
|
|
@@ -73,7 +81,7 @@ dev = [{ include-group = "lint" }, "maturin>=1.15,<2"]
|
|
|
73
81
|
# Every build (maturin CLI, `uv sync`/`uv run`, pip from the sdist) uses the
|
|
74
82
|
# committed Cargo.lock and fails instead of updating it.
|
|
75
83
|
locked = true
|
|
76
|
-
module-name = "hessboost.
|
|
84
|
+
module-name = "hessboost._native"
|
|
77
85
|
manifest-path = "python/Cargo.toml"
|
|
78
86
|
python-source = "python"
|
|
79
87
|
|
|
@@ -92,4 +100,19 @@ cache-keys = [
|
|
|
92
100
|
{ file = "src/**/*.rs" },
|
|
93
101
|
{ file = "../Cargo.toml" },
|
|
94
102
|
{ file = "../src/**/*.rs" },
|
|
103
|
+
{ file = "../src/**/*.ptx" },
|
|
104
|
+
{ env = "MATURIN_PEP517_ARGS" },
|
|
95
105
|
]
|
|
106
|
+
|
|
107
|
+
[tool.uv.sources]
|
|
108
|
+
# `uv sync --extra cuda` builds the CUDA runtime from `runtime-cuda/` (which
|
|
109
|
+
# needs the CUDA headers and libclang, see AGENTS.md) rather than fetching a
|
|
110
|
+
# published wheel. uv ignores this table when hessboost is a dependency.
|
|
111
|
+
hessboost-runtime-cuda = { path = "runtime-cuda" }
|
|
112
|
+
|
|
113
|
+
# uv builds the CUDA runtime concurrently with `hessboost` from the same
|
|
114
|
+
# crate, and maturin stages both extensions at one path in the Cargo target
|
|
115
|
+
# directory; a separate `runtime-cuda/target` keeps each wheel from packaging
|
|
116
|
+
# the other's extension.
|
|
117
|
+
[tool.uv.extra-build-variables]
|
|
118
|
+
hessboost-runtime-cuda = { CARGO_TARGET_DIR = "target" }
|