From 9d6d8a416f6c7706dc398247e215262b4f85dc6e Mon Sep 17 00:00:00 2001 From: Mirco Nasuti <mirco.nasuti@chuv.ch> Date: Thu, 22 Feb 2018 14:19:56 +0100 Subject: [PATCH] update list of exareme algorithms --- .../resources/data/exareme_algorithms.json | 44 +++++++++++++++++-- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/src/main/resources/data/exareme_algorithms.json b/src/main/resources/data/exareme_algorithms.json index e885b6200..f05c5079b 100644 --- a/src/main/resources/data/exareme_algorithms.json +++ b/src/main/resources/data/exareme_algorithms.json @@ -1,7 +1,9 @@ -{ +[{ "code": "glm_exareme", "label": "GLM (exareme)", - "type": ["statistics"], + "type": [ + "statistics" + ], "environment": "Exareme", "description": "Linear Regression using Exareme services", "constraints": { @@ -11,4 +13,40 @@ "polynominal": false } } -} +}, + { + "code": "K_MEANS", + "label": "K_MEANS (exareme)", + "type": ["statistics"], + "environment": "Exareme", + "description": "K_MEANS", + "parameters": [{ + "code": "k", + "label": "k", + "default_value": 5, + "type": "int", + "constraints": { + "min": 1, + "max": null + }, + "description": "The number of clusters. Typical values range from 2 to 10." + }], + "constraints": { + "variable": { + "real": true, + "integer": true, + "binominal": true, + "polynominal": true + }, + "groupings": { + "min_count": 0, + "max_count": 0 + }, + "covariables": { + "min_count": "1", + "max_count": null + }, + "mixed": false + } + } +] -- GitLab