diff options
author | rautenberg <rautenberg@in-silico.ch> | 2016-09-20 17:37:55 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2016-09-20 17:37:55 +0200 |
commit | 6d905465fda8fcc18b9dace0b3855c05a3431b36 (patch) | |
tree | 3fe3b6d20ddb35904e63ab970916754547706198 | |
parent | 134d68d8ab50384e2b02a3e9ab104025928b1047 (diff) |
check if repeated_crossvalidation is nil
-rw-r--r-- | lib/report.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/report.rb b/lib/report.rb index 62d80c6..abdc49e 100644 --- a/lib/report.rb +++ b/lib/report.rb @@ -148,7 +148,7 @@ get "/report/:id/?" do report.value "preprocessing", (model.class == OpenTox::Model::LazarRegression ? "-log10 transformation" : "none") # Robustness - Statistics obtained by leave-many-out cross-validation 6.9 - if prediction_model.crossvalidations + if prediction_model.repeated_crossvalidation crossvalidations = prediction_model.crossvalidations out = haml File.read(validation_template), :layout=> false, :locals => {:model => prediction_model} report.value "lmo", out |