Skip to content

[FIX] OWFeatureStatistics: Fix scipy.stats.mode crash on sparse data#3488

Merged
janezd merged 1 commit intobiolab:masterfrom
pavlin-policar:feature-statistics-mode-fix
Dec 19, 2018
Merged

[FIX] OWFeatureStatistics: Fix scipy.stats.mode crash on sparse data#3488
janezd merged 1 commit intobiolab:masterfrom
pavlin-policar:feature-statistics-mode-fix

Conversation

@pavlin-policar
Copy link
Collaborator

Issue

As of the latest versions of scipy, scipy.stats.mode does not work on sparse data.

Description of changes

A quick fix so the tests aren't constantly failing. Will work on a more efficient solution shortly.

@janezd

Includes
  • Code changes
  • Tests
  • Documentation

@janezd
Copy link
Contributor

janezd commented Dec 19, 2018

Spearman is still failing, but it's in distances, so it's mine. This PR fixes what it's supposed to, so I'm merging.

Thanks for rapid response!

@janezd janezd merged commit e5de908 into biolab:master Dec 19, 2018
@pavlin-policar pavlin-policar deleted the feature-statistics-mode-fix branch December 19, 2018 16:11
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