Class: Ossert::Classifiers::Growing::Classifier::ThresholdToRange::Reversed

Inherits:
Base
  • Object
show all
Defined in:
lib/ossert/classifiers/growing/classifier.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #range

Constructor Details

This class inherits a constructor from Ossert::Classifiers::Growing::Classifier::ThresholdToRange::Base

Instance Method Details

#end_valueObject



150
151
152
# File 'lib/ossert/classifiers/growing/classifier.rb', line 150

def end_value
  @value
end

#last_gradeObject



142
143
144
# File 'lib/ossert/classifiers/growing/classifier.rb', line 142

def last_grade
  GRADES.first
end

#start_valueObject



146
147
148
# File 'lib/ossert/classifiers/growing/classifier.rb', line 146

def start_value
  -Float::INFINITY
end