# ruby for machine learning

**URL:** <https://rubytalk.org/t/ruby-for-machine-learning/75655>\
**Category:** ruby-talk\
**Created:** [12 November 2021 01:19 UTC](https://rubytalk.org/t/ruby-for-machine-learning/75655 "2021-11-12T01:19:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hoffman\_S](https://avatars.discourse-cdn.com/v4/letter/h/e495f1/32.png) [@Hoffman\_S](https://rubytalk.org/u/Hoffman_S)\
**Post date:** [12 November 2021 01:19 UTC](https://rubytalk.org/t/ruby-for-machine-learning/75655/1 "2021-11-12T01:19:18Z")

</div>

dear community

I searched ruby for machine learning and got the resources:

> **[GitHub - arbox/machine-learning-with-ruby: Curated list: Resources for...](https://github.com/arbox/machine-learning-with-ruby)**
>
> Curated list: Resources for machine learning in Ruby - GitHub - arbox/machine-learning-with-ruby: Curated list: Resources for machine learning in Ruby

Do you know what's the popular framework/platform for using ruby as a  
machine learning language?

Thanks.

---

<div class="post-metadata">

**Author:** ![Frank\_J\_Cameron](https://avatars.discourse-cdn.com/v4/letter/f/dc4da7/32.png) [@Frank\_J\_Cameron](https://rubytalk.org/u/Frank_J_Cameron)\
**Post date:** [12 November 2021 02:15 UTC](https://rubytalk.org/t/ruby-for-machine-learning/75655/2 "2021-11-12T02:15:35Z")

</div>

I don't know what's popular. But, the last time I was working with ML the  
team was already working with TensorFlow. So, I worked with TensorFlow  
in Ruby using PyCall.

> <https://gitlab.com/fjc/ruby-tensorflow.py/-/blob/master/spec/tensorflow_spec.rb#L57>

> **[GitHub - mrkn/pycall.rb: Calling Python functions from the Ruby language](https://github.com/mrkn/pycall.rb)**
>
> Calling Python functions from the Ruby language. Contribute to mrkn/pycall.rb development by creating an account on GitHub.

> **···**
>
> On 11/11/21, Hoffman S \<hoff@tsolr.com\> wrote:
> 
> > I searched ruby for machine learning and got the resources:  
> > [GitHub - arbox/machine-learning-with-ruby: Curated list: Resources for machine learning in Ruby](https://github.com/arbox/machine-learning-with-ruby)
> > 
> > Do you know what's the popular framework/platform for using ruby as a  
> > machine learning language?

---

<div class="post-metadata">

**Author:** ![Benson\_Muite](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@Benson\_Muite](https://rubytalk.org/u/Benson_Muite)\
**Post date:** [12 November 2021 05:54 UTC](https://rubytalk.org/t/ruby-for-machine-learning/75655/3 "2021-11-12T05:54:46Z")

</div>

Possibly also helpful:

> **[Machine Learning with Ruby](https://dev.to/daviducolo/machinelearning-with-ruby-3m75)**
>
> A list of gems for Machine Learning, there is not only the Python :). Numo Numo::NArray i...

There are many machine learning algorithms, so determining which one you want to use to solve your problem will likely be the determining factor on choice of Gem. Rumale is quite user friendly.

> **···**
>
> On 11/12/21 5:15 AM, Frank J. Cameron wrote:
> 
> > On 11/11/21, Hoffman S \<hoff@tsolr.com\> wrote:
> > 
> > > I searched ruby for machine learning and got the resources:  
> > > [GitHub - arbox/machine-learning-with-ruby: Curated list: Resources for machine learning in Ruby](https://github.com/arbox/machine-learning-with-ruby)
> > > 
> > > Do you know what's the popular framework/platform for using ruby as a  
> > > machine learning language?
> > 
> > I don't know what's popular. But, the last time I was working with ML the  
> > team was already working with TensorFlow. So, I worked with TensorFlow  
> > in Ruby using PyCall.
> > 
> > [spec/tensorflow\_spec.rb · master · Frank J. Cameron / ruby-tensorflow.py · GitLab](https://gitlab.com/fjc/ruby-tensorflow.py/-/blob/master/spec/tensorflow_spec.rb#L57)  
> > [GitHub - mrkn/pycall.rb: Calling Python functions from the Ruby language](https://github.com/mrkn/pycall.rb)
