Skip to content

runs.run_task now works if the target feature the attribute name 'class' is capitalized.#121

Merged
mfeurer merged 1 commit intodevelopfrom
hotfix/class-label
Apr 1, 2016
Merged

runs.run_task now works if the target feature the attribute name 'class' is capitalized.#121
mfeurer merged 1 commit intodevelopfrom
hotfix/class-label

Conversation

@PGijsbers
Copy link
Copy Markdown
Collaborator

The python example did work with task 10, which had target 'class', but not with task 14951 which had target 'Class'.

This is a quick fix which makes it work, but there still probably should eventually be a way which does not involve re-opening the arff file to read the data and/or a way to mark the attribute as class without needing for exact string matching.

…ould probably reload it so reloading the ARFF file a second time isnt necessary, but this is a quick fix to make the code work for a course currently given at TUe.
@mfeurer mfeurer merged commit 26686b0 into develop Apr 1, 2016
@mfeurer mfeurer deleted the hotfix/class-label branch April 1, 2016 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants