-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discussion] Let's colaborate with SciRuby for Ruby wrapper #4814
Comments
@Shekharrajak we are planning to apply for GSoC 2020! indeed we wanted for a time to switch from nmatrix (or whatever the library we use at the moment) for ruby type maps to something more modern, as that project seems to be abandoned, or not that well maintained anymore. if you are interested working on this project, plz outline your idea and you can already start sending in some preliminary PRs |
i guess a gem would be nice to have of the shogun ruby interface for starters :) |
Thanks @vigsterkr for the response. Can you please share some links or discussion about Ruby wrapper, so that I can understand the current status of the project and any plans you have in mind. it will be helpful. |
@Shekharrajak basically you can just build manually the ruby wrapper like this:
this should actually build all the example for ruby. although now that i'm talking about this there's a bug currently against ruby interface: needs to be checked whether there's an easy workaround for this. |
in order to reproduce the error you should enable this: https://github.com/shogun-toolbox/shogun/blob/develop/tests/meta/CMakeLists.txt#L60 |
and comment out this one https://github.com/shogun-toolbox/shogun/blob/develop/examples/meta/CMakeLists.txt#L136 you'll see currently these tests are failing:
|
We use swig to generate interfaces between the C++ core of Shogun and Ruby (along with other languages). |
Okay! So currently Ruby wrapper is not functional. I will check! |
well to be honest it mostly is, there are couple of function calls that will fail, but most of the library is usable from ruby |
Okay! So can anyone please make a TODO list to make it usable again? |
i've just written you above what needs to be done |
here you go a project https://github.com/shogun-toolbox/shogun/projects/13 |
Thanks @vigsterkr ! Should we add idea in SciRuby Idea page also and let's see if we find good student who can work on this? What do you think? |
@Shekharrajak sure thing... i mean imo since SciRuby is using nmatrix as far as i can understand, shogun should be usable without any trouble. |
fyi: i'll add somewhere a gist with a simple ruby based jupyter notebook just to test it out. |
@Shekharrajak i've managed to export a |
Thanks, @vigsterkr ! SciRuby team is working on NumRuby project: https://github.com/SciRuby/numruby . If you find numo-narray useful then it should be compatible as well. |
@vigsterkr, You can have your gist or wiki page where this idea will be added for the GSoC 2020, I have added the idea at SciRuby idea page for this GSoC: https://github.com/SciRuby/sciruby/wiki/Google-Summer-of-Code-2020-Ideas#shogun, feel free to edit/update it and add yourself as mentor. Thanks! |
@Shekharrajak here's a working example shogunML with SciRuby stack: https://gist.github.com/vigsterkr/48a5f0523528bbab85bec04464ca2b6c |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
bump |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi Guys, We are adding this idea in GSoC 2021 for SciRUby : https://github.com/SciRuby/sciruby/wiki/Google-Summer-of-Code-2021-Ideas Interested people can reach out to SciRuby mailing list: sciruby-dev |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
Thanks for the amazing library for machine learning. I think it is one of best machine learning tool which provide Ruby wrapper.
Since GSoC Org application has been opened and deadline is close. I hope Shogun will be participating in GSoC 2020 and have project idea list ready.
Please let me know the Ruby wrapper ideas and enhancement plan. Also let me know if Shogun community can collaborate with SciRuby for any Ruby wrapper related projects. SciRuby already working on best Data Science related Ruby gems which is used worldwide. So it will be great if SciRuby gems (like daru- Data Analysis and Visualization in Ruby, nmatrix and other visualization and statistics related gems ): https://github.com/sciruby API work smoothly with shogun API.
It will surely make Shogun more useful in Ruby community.
What do you think? @vigsterkr , @iglesias
The text was updated successfully, but these errors were encountered: