class Util::UntrainedError
Public Class Methods
new(modelType, method = "train")
click to toggle source
Calls superclass method
# File lib/util/Util.rb, line 3 def initialize(modelType, method = "train") super("Model must be trained (hint: Call the `" + method + "` method of your " + modelType + " instance)") end