News for hackers. Stuff that matters.
Re:Ruby 3.2.0 Released by revskill on Sunday December 25, 2022 @04:47AM (#34125742)
Wish one day Ruby will have strong ML library support. Then i could just use Ruby for all the things.
Re:Ruby 3.2.0 Released by pointlessone on Sunday December 25, 2022 @05:28AM (#34125944)
I'm not an ML expert so can't tell how good any of these are but there seem to be enough ML-related stuff for Ruby.

There are a few tensorflow bindings for Ruby. There's torch.rb. There's numo, kinda like numpy. SciRuby lists a bunch of AI-related/numeric gems.

What I'm trying to say is there's no reason to expect Python parity because there's Python and no reason to divert the effort but ML is not quite non-existent in Ruby. Start using it and be the change you want to see in the world.

Re:Ruby 3.2.0 Released by revskill on Sunday December 25, 2022 @05:35AM (#34125981)
I don't want to touch Python, and that's the problem. So it's just a wish.

But even if i love Python, the point is still: Make stronger ML support for Ruby.

Re:Ruby 3.2.0 Released by MegaSec on Sunday December 25, 2022 @10:09AM (#34127836)
Maybe you should try Julia? That might still be too much like Python. https://julialang.org/
Re:Ruby 3.2.0 Released by marckohlbrugge on Sunday December 25, 2022 @06:30AM (#34126309)
There are more than you might realize. Some good ones listed here:

https://ankane.org/new-ml-gems https://ankane.org/more-ml-gems

Re:Ruby 3.2.0 Released by yebyen on Sunday December 25, 2022 @08:21AM (#34127013)
Did you find these here on HN? This is the gem of the day for me

I hadn't seen either of these, and I didn't think I was interested in ML, until I got to the Natural Language Processing section, this is a great article!

Happy Ruby Upgrade Day!

Re:Ruby 3.2.0 Released by marckohlbrugge on Sunday December 25, 2022 @10:22PM (#34134215)
I follow Ankane’s blog. He has some great posts and gems himself.
Re:Ruby 3.2.0 Released by yebyen on Monday December 26, 2022 @10:02AM (#34138111)
His name was familiar to me but I wasn't sure where. Turns out I'm using chartkick – definitely hadn't seen the blog before! Bookmarked!
Re:Ruby 3.2.0 Released by Lio on Sunday December 25, 2022 @11:40AM (#34128613)
One useful option is PostresML[1]. If it supports what you need it’s an easy solution for ruby users.

1. https://postgresml.org/