diff --git a/meteos_ui/api/client.py b/meteos_ui/api/client.py index 131516d..db84519 100644 --- a/meteos_ui/api/client.py +++ b/meteos_ui/api/client.py @@ -28,7 +28,8 @@ EXPERIMENT_CREATE_ATTRS = ['display_name', 'display_description', 'key_name', 'neutron_management_network', 'template_id'] DATASET_CREATE_ATTRS = ['method', 'source_dataset_url', 'display_name', 'display_description', 'experiment_id', 'params', - 'swift_tenant', 'swift_username', 'swift_password'] + 'percent_train', 'percent_test', 'swift_tenant', + 'swift_username', 'swift_password'] MODEL_CREATE_ATTRS = ['source_dataset_url', 'display_name', 'display_description', 'experiment_id', 'model_type', 'model_params', 'dataset_format', diff --git a/meteos_ui/static/dashboard/machine_learning/datasets/create/dataset-model.js b/meteos_ui/static/dashboard/machine_learning/datasets/create/dataset-model.js index 068f90f..964c17c 100644 --- a/meteos_ui/static/dashboard/machine_learning/datasets/create/dataset-model.js +++ b/meteos_ui/static/dashboard/machine_learning/datasets/create/dataset-model.js @@ -41,6 +41,8 @@ source_dataset_url: null, experiment_id: null, params: null, + percent_train: null, + percent_test: null, swift_tenant: null, swift_username: null, swift_password: null diff --git a/meteos_ui/static/dashboard/machine_learning/datasets/create/spec/spec.html b/meteos_ui/static/dashboard/machine_learning/datasets/create/spec/spec.html index 657aef3..145929c 100644 --- a/meteos_ui/static/dashboard/machine_learning/datasets/create/spec/spec.html +++ b/meteos_ui/static/dashboard/machine_learning/datasets/create/spec/spec.html @@ -16,7 +16,29 @@ -