lib/jrb-libsvm/model.rb
# Save model to given filename.
# Raises IOError on any error.
Save model to given filename.
Raises IOError on any error.
Save model to given filename . Raises IOError on any error .
def save filename
      Svm.svm_save_model(filename, self)
    rescue e = java.io.IOException
      raise IOError.new "Error in saving SVM model to file: #{e}"
    end
def save filename Svm . svm_save_model ( filename , self ) rescue e = java . io . IOException raise IOError . new "Error in saving SVM model to file: #{e}" end
Save model to given filename.
Save model to given filename .
filename
<not_specific>