Commit 81b28412 authored by Anze Vavpetic's avatar Anze Vavpetic
Browse files

added learner to the output of the build subgroups widget

parent f5f25a86
...@@ -78,7 +78,20 @@ ...@@ -78,7 +78,20 @@
"variable": "rules", "variable": "rules",
"uid": "81a5d62c-9725-4ec1-a352-d18ef75e0a74", "uid": "81a5d62c-9725-4ec1-a352-d18ef75e0a74",
"order": 1, "order": 1,
"description": "" "description": "rule set"
}
},
{
"pk": 374,
"model": "workflows.abstractoutput",
"fields": {
"widget": 211,
"name": "SD learner",
"short_name": "lrn",
"variable": "learner",
"uid": "0276e508-2822-4387-84ef-2c48243bf5c1",
"order": 1,
"description": "learner"
} }
}, },
{ {
......
...@@ -62,7 +62,7 @@ def build_subgroups_finished(postdata, input_dict, output_dict): ...@@ -62,7 +62,7 @@ def build_subgroups_finished(postdata, input_dict, output_dict):
# add id's # add id's
for i, rule in enumerate(rules.rules): for i, rule in enumerate(rules.rules):
rule.id = i rule.id = i
return {'rules' : rules, 'classifier' : classifier} return {'rules' : rules, 'classifier' : classifier, 'learner': learner}
def subgroup_bar_visualization(input_dict): def subgroup_bar_visualization(input_dict):
return {'rules' : None} return {'rules' : None}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment