Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.406 kB
require_relative "story"
false_positives = Story.where(:like => false).sort(:prediction.desc)
false_negatives = Story.where(:like => true).sort(:prediction)
puts "*** worst false positives ***"
false_positives.take(25).each do |s|
puts s.prediction
puts s.inspect
puts
end
puts "*** worst false negatives ***"
false_negatives.take(25).each do |s|
puts s.prediction
puts s.inspect
puts
end
Jump to Line
Something went wrong with that request. Please try again.