From 1c2ed2e04d5cbd1842e646e6429bcfdc0b1372dd Mon Sep 17 00:00:00 2001 From: mguetlein Date: Tue, 24 May 2011 16:14:37 +0200 Subject: rewrite: adjust to new prediction dataset format from lazar, read confidence from ambit algorithms --- report/validation_data.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'report/validation_data.rb') diff --git a/report/validation_data.rb b/report/validation_data.rb index 0c15dd2..2479977 100755 --- a/report/validation_data.rb +++ b/report/validation_data.rb @@ -139,6 +139,11 @@ module Reports @predicted_variable = Reports.validation_access.predicted_variable(self, @subjectid) end + def predicted_confidence + return @predicted_confidence if @predicted_confidence!=nil + @predicted_confidence = Reports.validation_access.predicted_confidence(self, @subjectid) + end + # loads all crossvalidation attributes, of the corresponding cv into this object def load_cv_attributes raise "crossvalidation-id not set" unless @crossvalidation_id -- cgit v1.2.3