-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from madgik/dev_exareme_v19
Changes to the algorithms for exareme v19
- Loading branch information
Showing
48 changed files
with
2,638 additions
and
780 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "LINEAR_REGRESSION", | ||
"desc": "", | ||
"type": "multiple_local_global", | ||
"status": "enabled", | ||
"parameters": [{ | ||
"name": "x", | ||
"desc": "The right part of the linear predictor function, that contains the indepedent variables in an equation supporting the symbols +, :, * , R notation.The independent variables are variables of the input dataset and they should be Real, Float, Integer or Text. It cannot be empty", | ||
"type": "column", | ||
"value": "adnicategory*apoe4+subjectage+minimentalstate+gender", | ||
"valueNotBlank": true, | ||
"valueMultiple": true, | ||
"valueType": "string" | ||
}, { | ||
"name": "y", | ||
"desc": "The left part of the linear predictor function, that contains the dependent variable.The dependent variable is a variable of the input dataset and it should be Real, Float or Integer. It cannot be empty", | ||
"type": "column", | ||
"value": "av45", | ||
"valueNotBlank": true, | ||
"valueMultiple": false, | ||
"valueType": "string" | ||
}, { | ||
"name": "dataset", | ||
"desc": "It contains the names of one or more datasets, in which the algorithm will be executed. It cannot be empty.", | ||
"type": "dataset", | ||
"value": "adni,ppmi", | ||
"valueNotBlank": true, | ||
"valueMultiple": true, | ||
"valueType": "string" | ||
}, { | ||
"name": "filter", | ||
"desc": "", | ||
"type": "filter", | ||
"value": "", | ||
"valueNotBlank": false, | ||
"valueMultiple": true, | ||
"valueType": "string" | ||
} | ||
] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
requirevars 'input_local_tbl'; | ||
|
||
select execprogram(null, "/root/exareme/set-local-datasets.sh"); | ||
|
||
var 'a' from select count(distinct(rid)) as sum1 from (select distinct rid from (toeav select * from %{input_local_tbl})); | ||
|
||
var 'b' from select execprogram(null,'cat','/root/exareme/etc/exareme/name'); | ||
select var('a') as sum1, val as val, var('b') as who from (select distinct val from (toeav select * from %{input_local_tbl}) where colname = 'dataset') group by val; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "LIST_DATASET", | ||
"desc": "", | ||
"type": "local_global", | ||
"status": "enabled", | ||
"parameters": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
requirevars 'input_local_tbl' ; | ||
|
||
select jdictgroup('variables', variable) as variables | ||
from ( | ||
select jgroup(variable, t) as variable | ||
from ( | ||
select distinct colname as variable, typeof(tonumber(val)) as t | ||
from (toeav select * from %{input_local_tbl}) | ||
where val is not null | ||
group by colname | ||
) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "LIST_VARIABLES", | ||
"desc": "", | ||
"type": "local", | ||
"status": "enabled", | ||
"parameters": [ | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,42 @@ | ||
{ | ||
"name" : "PIPELINE_ISOUP_MODEL_TREE_SERIALIZER", | ||
"desc" : "PIPELINE_ISOUP_MODEL_TREE_SERIALIZER", | ||
"type" : "pipeline", | ||
"status" : "disabled", | ||
"vtype" : "none", | ||
"responseContentType" : "application/visjs+javascript", | ||
"parameters" : [ {"name" : "target_attributes", "desc" : "Dependent parameters. One or more can be selected.", "value" : "subjectageyears"}, {"name" : "descriptive_attributes", "desc" : "Independent parameters. One or more can be selected.", "value" : "apoe4,av45"}, | ||
{"name" : "dataset", "desc" : "It contains the names of one or more datasets, in which the algorithm will be executed. It cannot be empty.", "value" : "adni,chuv_adni"}, | ||
{"name" : "filter", "desc" : "", "value" : ""}] | ||
"name": "PIPELINE_ISOUP_MODEL_TREE_SERIALIZER", | ||
"desc": "PIPELINE_ISOUP_MODEL_TREE_SERIALIZER", | ||
"type": "pipeline", | ||
"status": "disabled", | ||
"vtype": "none", | ||
"responseContentType": "application/visjs+javascript", | ||
"parameters": [{ | ||
"name": "target_attributes", | ||
"desc": "Dependent parameters. One or more can be selected.", | ||
"type": "column", | ||
"value": "subjectageyears", | ||
"valueNotBlank": true, | ||
"valueMultiple": true, | ||
"valueType": "string" | ||
}, { | ||
"name": "descriptive_attributes", | ||
"desc": "Independent parameters. One or more can be selected.", | ||
"type": "column", | ||
"value": "apoe4,av45", | ||
"valueNotBlank": true, | ||
"valueMultiple": true, | ||
"valueType": "string" | ||
}, { | ||
"name": "dataset", | ||
"desc": "It contains the names of one or more datasets, in which the algorithm will be executed. It cannot be empty.", | ||
"type": "dataset", | ||
"value": "adni,chuv_adni", | ||
"valueNotBlank": true, | ||
"valueMultiple": true, | ||
"valueType": "string" | ||
}, { | ||
"name": "filter", | ||
"desc": "", | ||
"type": "filter", | ||
"value": "", | ||
"valueNotBlank": false, | ||
"valueMultiple": true, | ||
"valueType": "string" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.