diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-04-12 10:12:56 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-04-12 10:12:56 +0200 |
commit | 1f4094b712d24c1d7e19c4c39ad68df8fec48531 (patch) | |
tree | a4e7ac71937099ee959a7e20b230e1e16f175cb8 | |
parent | 1cb92344731ca71ff375babd151f6440db83306a (diff) |
Fixed params to feature_type
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -238,7 +238,7 @@ post '/lazar/?' do lazar.metadata[OT.dependentVariables] = prediction_feature.uri lazar.metadata[OT.trainingDataset] = dataset_uri lazar.metadata[OT.featureDataset] = feature_dataset_uri - case prediction_feature.feature_type(@subjectid) + case prediction_feature.feature_type when "classification" lazar.metadata[RDF.type] = [OT.Model, OTA.ClassificationLazySingleTarget] when "regression" |