mguetlein / opentox-validation

OpenTox validation webservice
http://www.opentox.org
GNU General Public License v3.0
2 stars 0 forks source link

Task fails (http://toxcreate2.in-silico.ch/task/4333) #13

Open alphaville opened 13 years ago

alphaville commented 13 years ago

Task http://toxcreate2.in-silico.ch/task/4333 failed with message: "more predicted than test compounds test:7 < prediction:8". Here is the error report:

http://www.opentox.org/api/1.1#errorReport: !ruby/object:OpenTox::ErrorReport actor: http://toxcreate2.in-silico.ch/validation/crossvalidation errorCause: errorType: RuntimeError http_code: 500 message: more predicted than test compounds test:7 < prediction:8 rest_params: backtrace: |- ./lib/ot_predictions.rb:125:in initialize' ./lib/ot_predictions.rb:43:intimes' ./lib/ot_predictions.rb:43:in initialize' ./validation/validation_service.rb:238:innew' ./validation/validation_service.rb:238:in compute_validation_stats' ./validation/validation_service.rb:222:incompute_validation_stats_with_model' ./validation/validation_service.rb:208:in validate_model' ./validation/validation_service.rb:155:invalidate_algorithm' ./validation/validation_service.rb:321:in perform_cv_validations' ./validation/validation_service.rb:318:ineach' ./validation/validation_service.rb:318:in perform_cv_validations' ./validation/validation_service.rb:278:inperform_cv' ./validation/validation_application.rb:42:in POST /crossvalidation/?' /home/opentox/opentox-ruby/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/opentox-ruby-2.0.0/lib/task.rb:63:increate' /home/opentox/opentox-ruby/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/opentox-ruby-2.0.0/lib/spork.rb:53:in spork' /home/opentox/opentox-ruby/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/opentox-ruby-2.0.0/lib/spork.rb:41:infork' /home/opentox/opentox-ruby/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/opentox-ruby-2.0.0/lib/spork.rb:41:in spork' /home/opentox/opentox-ruby/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/opentox-ruby-2.0.0/lib/task.rb:60:increate' ./validation/validation_application.rb:29:in `POST /crossvalidation/?'

mguetlein commented 13 years ago

and have your checked the prediction dataset your model returns? are there too many predictions?

alphaville commented 13 years ago

Is it too many predictions or less than needed? In case the model receives a compound with a missing value, it doesn't return a prediction, otherwise it's absurd! Could you change the message to print the URI of the model and the dataset that cause the problem; would be useful for troubleshooting.

mguetlein commented 13 years ago

well the message says: more predicted than test compounds test:7 < prediction:8 I guess that means that there are more predicted than test compounds ;-)

I will extend the error message to print the dataset uris.

mguetlein commented 13 years ago

okay, the error msg is more verbose now, could you retry? by the way, the munich guys had this problem a few days ago as well, I am not sure, but I think it was a problem with ambits dataset service