|
|
|
|
|
by y14
3551 days ago
|
|
As a ruby developer who had to move to python for its data science support, it’s very nice to see that people help Ruby to evolve into this direction. Ruby is a beautiful language that should be expanded beyond web development and these kind of libraries will make it happen. But, as encouraging as it is, if your’e thinking about developing a real, production-ready, data science project in ruby - don’t. At least not yet. The libraries around machine learning, neural networks etc are old, unmaintained and usually don’t even work. |
|
My approach thus far has been to write a simple wrapper script around the library (in it's native language) and then do a standard output of the result set in JSON.
Then within Ruby, I just do a `shell`, capture the result and do a JSON parse on the response. It's crude, but works reliably well, I don't have to worry about any bridge libraries supporting the latest language version.