Skip to content

[FIX] LearnerScorer: fix for preprocessed data#3381

Merged
lanzagar merged 1 commit intobiolab:masterfrom
markotoplak:fix-rank-model
Nov 12, 2018
Merged

[FIX] LearnerScorer: fix for preprocessed data#3381
lanzagar merged 1 commit intobiolab:masterfrom
markotoplak:fix-rank-model

Conversation

@markotoplak
Copy link
Copy Markdown
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
Copy Markdown

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