# Machine Learning python Lib in Ironpython

**URL:** <https://discourse.mcneel.com/t/machine-learning-python-lib-in-ironpython/47966>\
**Category:** Scripting\
**Tags:** grasshopper, ironpython\
**Created:** [October 4, 2017, 4:53pm UTC](https://discourse.mcneel.com/t/machine-learning-python-lib-in-ironpython/47966 "2017-10-04T16:53:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbarazi](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fbarazi/32/110742_2.png) [@fbarazi](https://discourse.mcneel.com/u/fbarazi)\
**Post date:** [October 4, 2017, 4:53pm UTC](https://discourse.mcneel.com/t/machine-learning-python-lib-in-ironpython/47966/1 "2017-10-04T16:53:53Z")

</div>

Hi All,  
Is there away to use Sklearn, Pandas and Scipy in python for Rhino?  
Not sure if these are supported in IronPython or there are other alternatives (the limitation of the .net…).

I know that raw data can be streamed out of the GH environment and used to create a learning model, but then it might be more efficient to have it directly in the GH /Rhino python environment.

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/685184_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [October 5, 2017, 5:27pm UTC](https://discourse.mcneel.com/t/machine-learning-python-lib-in-ironpython/47966/2 "2017-10-05T17:27:52Z")

</div>

Hi @fbarazi,

Here is what I’ve found on Sklearn and Pandas:

[https://stackoverflow.com/questions/16171923/can-scikit-be-used-from-ironpython](https://stackoverflow.com/questions/16171923/can-scikit-be-used-from-ironpython)

[https://stackoverflow.com/questions/14432059/can-we-load-pandas-dataframe-in-net-ironpython](https://stackoverflow.com/questions/14432059/can-we-load-pandas-dataframe-in-net-ironpython)

[NumPy / SciPy support in Rhino 6](https://discourse.mcneel.com/t/numpy-scipy-support-in-rhino-6/44207)

So, it doesn’t look good - sorry.

– Dale

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [October 5, 2017, 5:32pm UTC](https://discourse.mcneel.com/t/machine-learning-python-lib-in-ironpython/47966/3 "2017-10-05T17:32:43Z")

</div>

You may want to look at LunchBoxML

> **[Machine Learning with LunchBoxML](https://provingground.io/2017/08/01/machine-learning-with-lunchboxml/)**
>
> machine learning for building design

They are using Accord which would be accessible to IronPython

---

<div class="post-metadata">

**Author:** ![fbarazi](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fbarazi/32/110742_2.png) [@fbarazi](https://discourse.mcneel.com/u/fbarazi)\
**Post date:** [November 20, 2017, 9:47pm UTC](https://discourse.mcneel.com/t/machine-learning-python-lib-in-ironpython/47966/4 "2017-11-20T21:47:54Z")

</div>

Very late reply, but big thanks Steve!
