Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MDR utilities module and improve MDR model code #17

Merged
merged 16 commits into from
Jan 6, 2017
Merged

Conversation

rhiever
Copy link
Contributor

@rhiever rhiever commented Jan 6, 2017

No description provided.

Was not accessing the dictionary values correctly.
Wasn’t using the correctly class labels variable.
Since predict and transform essentially do the same thing in MDR but
return the data in a different shape, transform now calls predict and
reshapes the data resulting from predict. This change reduces repeated
code.
Because we reworked the default states of the MDR internal variables,
this change needs to be reflected in the unit tests.
These unit tests ensure that MDR works as a feature transformer within
sklearn pipelines, as well as with sklearn’s `cross_val_score` function.
@rhiever rhiever self-assigned this Jan 6, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-17.3%) to 71.296% when pulling 0581674 on development into e0a8200 on master.

@rhiever rhiever merged commit 045c211 into master Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants