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

[FIX] LearnerScorer: fix for preprocessed data #3381

Merged
merged 1 commit into from
Nov 12, 2018

Conversation

markotoplak
Copy link
Member

Issue

Ranking with a Scores did not work if the data was preprocessed with PCA (or anything else). Saving and loading the data (and thus obtaining primitive features) helped.

Description of changes

Search for original attributes in score-joining function used to go all the way up to primitive features. Now it stops when it comes to a feature from the input data.

Includes
  • Code changes
  • Tests
  • Documentation

Feature scoring with learners did not work if the data was previously
preprocessed (for example with PCA).
@lanzagar lanzagar added this to the 3.18 milestone Nov 12, 2018
@codecov
Copy link

codecov bot commented Nov 12, 2018

Codecov Report

Merging #3381 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #3381   +/-   ##
=======================================
  Coverage   82.17%   82.17%           
=======================================
  Files         354      354           
  Lines       63291    63291           
=======================================
  Hits        52012    52012           
  Misses      11279    11279

@lanzagar lanzagar merged commit 0d379a8 into biolab:master Nov 12, 2018
@markotoplak markotoplak deleted the fix-rank-model branch January 15, 2019 14:42
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