a few additions to the ruby examples & some other stuff... #304
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
here are a few more examples done... converting them one-by-one is a pain but i'm learning a lot about shogun in the process. i'm also taking notes so i can make things more 'ruby-ish' (but definitely not by tuesday!!) i've added a 'modshogun.rb' file that should be copied into the ruby dir where 'modshogun.so' is going to be copied also (yes, copy both, and the *.rb file will include the *.so file) in that file is where i will add the helper files & make things nicer.
so far the ones that work (on my machine) are:
classifier_averaged_perceptron_modular.rb OK
classifier_gaussiannaivebayes_modular.rb OK
classifier_gmnpsvm_modular.rb OK
classifier_libsvm_minimal_modular.rb OK
features_string_char_modular.rb OK
kernel_anova_modular.rb OK
kernel_cauchy_modular.rb OK
kernel_chi2_modular.rb OK
kernel_circular_modular.rb OK
kernel_gaussian_modular.rb OK
MatrixTest.rb OK
minimal_test.rb OK
VectorTest.rb OK
(yes i've got a bajillion to go!)
@sploving i've encountered errors with the following files: kernel_auc_modular.rb; kernel_combined_custom_poly_modular.rb; kernel_combined_modular.rb. i'm pretty sure it has something to do with the wrapper, if not, let me know and i'll stop being lazy and figure it out!!
lets see if i can get >50% done by tuesday!! :P
hex