Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alain Shakour
clowdflows
Commits
81b28412
Commit
81b28412
authored
Nov 06, 2014
by
Anze Vavpetic
Browse files
added learner to the output of the build subgroups widget
parent
f5f25a86
Changes
2
Hide whitespace changes
Inline
Side-by-side
workflows/subgroup_discovery/db/package_data.json
View file @
81b28412
...
...
@@ -78,7 +78,20 @@
"variable"
:
"rules"
,
"uid"
:
"81a5d62c-9725-4ec1-a352-d18ef75e0a74"
,
"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"
}
},
{
...
...
workflows/subgroup_discovery/library.py
View file @
81b28412
...
...
@@ -62,7 +62,7 @@ def build_subgroups_finished(postdata, input_dict, output_dict):
# add id's
for
i
,
rule
in
enumerate
(
rules
.
rules
):
rule
.
id
=
i
return
{
'rules'
:
rules
,
'classifier'
:
classifier
}
return
{
'rules'
:
rules
,
'classifier'
:
classifier
,
'learner'
:
learner
}
def
subgroup_bar_visualization
(
input_dict
):
return
{
'rules'
:
None
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment