# ScikitLearn: how to import experimental estimator Histogram-Based Gradient Boosting?

**URL:** <https://discourse.julialang.org/t/scikitlearn-how-to-import-experimental-estimator-histogram-based-gradient-boosting/48381>\
**Category:** New to Julia\
**Tags:** question, package, machine-learning\
**Created:** [October 14, 2020, 6:27pm UTC](https://discourse.julialang.org/t/scikitlearn-how-to-import-experimental-estimator-histogram-based-gradient-boosting/48381 "2020-10-14T18:27:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petra/32/15124_2.png) [@Petra](https://discourse.julialang.org/u/Petra)\
**Post date:** [October 14, 2020, 6:27pm UTC](https://discourse.julialang.org/t/scikitlearn-how-to-import-experimental-estimator-histogram-based-gradient-boosting/48381/1 "2020-10-14T18:27:26Z")

</div>

How can I use the ScikitLearn’s experimental estimator “Histogram-Based Gradient Boosting” in Julia?

According to the ScikitLearn Documentation, first from _experimental_ one has to import “enable\_hist\_gradient\_boosting” and then “HistGradientBoostingClassifier” from the _ensemble_ module ([1.11. Ensemble methods — scikit-learn 1.1.2 documentation](https://scikit-learn.org/stable/modules/ensemble.html#histogram-based-gradient-boosting)). This doesn’t work with Julia’s ScikitLearn “@sk\_import” command. Error Message: “KeyError … not found” for both “enable\_hist\_gradient\_boosting” and “HistGradientBoostingClassifier”

I’m using Julia 1.3.1 and ScikitLearn.jl 0.6.2, PyCall 1.92

---

<div class="post-metadata">

**Author:** ![CameronBieganek](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cameronbieganek/32/6915_2.png) [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Post date:** [October 14, 2020, 7:00pm UTC](https://discourse.julialang.org/t/scikitlearn-how-to-import-experimental-estimator-histogram-based-gradient-boosting/48381/2 "2020-10-14T19:00:10Z")

</div>

This isn’t a direct answer to your question, but there is a pure Julia implementation of histogram-based gradient boosting that you might be interested in:

[https://github.com/Evovest/EvoTrees.jl](https://github.com/Evovest/EvoTrees.jl)

---

<div class="post-metadata">

**Author:** ![cstjean](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cstjean/32/1444_2.png) [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Post date:** [October 14, 2020, 7:12pm UTC](https://discourse.julialang.org/t/scikitlearn-how-to-import-experimental-estimator-histogram-based-gradient-boosting/48381/3 "2020-10-14T19:12:31Z")

</div>

Could you post a full REPL example (i.e. what did you type, what was the output / error message?)
