diff --git a/meteos_ui/static/dashboard/machine_learning/models/create/model-model.js b/meteos_ui/static/dashboard/machine_learning/models/create/model-model.js index 84e0528..fb98e04 100644 --- a/meteos_ui/static/dashboard/machine_learning/models/create/model-model.js +++ b/meteos_ui/static/dashboard/machine_learning/models/create/model-model.js @@ -62,6 +62,7 @@ model.newParamsSpec = { numIterations: null, + lambda: null, numClasses: null, runs: null, mode: null, diff --git a/meteos_ui/static/dashboard/machine_learning/models/create/spec/spec.html b/meteos_ui/static/dashboard/machine_learning/models/create/spec/spec.html index d38000b..cd974be 100644 --- a/meteos_ui/static/dashboard/machine_learning/models/create/spec/spec.html +++ b/meteos_ui/static/dashboard/machine_learning/models/create/spec/spec.html @@ -13,7 +13,7 @@
+ ng-if="model.newModelSpec.model_type != 'DecisionTreeRegression' && model.newModelSpec.model_type != 'NaiveBayes'">
+
+
+ + +
+
diff --git a/meteos_ui/static/dashboard/machine_learning/models/create/spec/template.spec.controller.js b/meteos_ui/static/dashboard/machine_learning/models/create/spec/template.spec.controller.js index cdced37..43583ca 100644 --- a/meteos_ui/static/dashboard/machine_learning/models/create/spec/template.spec.controller.js +++ b/meteos_ui/static/dashboard/machine_learning/models/create/spec/template.spec.controller.js @@ -36,6 +36,7 @@ ctrl.modelTypeOptions = [ 'LogisticRegression', + 'NaiveBayes', 'DecisionTreeRegression', 'LinearRegression', 'KMeans',