diff options
Diffstat (limited to 'lib/report.rb')
-rw-r--r-- | lib/report.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/report.rb b/lib/report.rb index eb77446..2cf6b83 100644 --- a/lib/report.rb +++ b/lib/report.rb @@ -140,6 +140,12 @@ get "/report/:id/?" do # Data for the dependent variable for the training set 6.4 report.change_attributes "dependent_var_availability", {:answer => "All"} + # Other information about the training set 6.5 + report.value "other_info", "#{model.source}" + + # Pre-processing of data before modelling 6.6 + report.value "preprocessing", (model.class == OpennTox::Model::LazarRegression ? "-Log 10 transformation" : "none") + # output response['Content-Type'] = "application/xml" return report.to_xml |