Skip to content

Commit

Permalink
Preserve more features w.r.t. abundance
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrukwa committed Dec 10, 2019
1 parent 3713e30 commit 7a9405c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
env:
MAJOR: ${{ 2 }}
MINOR: ${{ 3 }}
FIXUP: ${{ 0 }}
FIXUP: ${{ 1 }}
PACKAGE_INIT_FILE: ${{ 'divik/__init__.py' }}
DOCKER_REPO: ${{ 'gmrukwa/divik' }}
IS_ALPHA: ${{ github.event_name == 'pull_request' }}
Expand Down
2 changes: 1 addition & 1 deletion divik/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '2.3.0'
__version__ = '2.3.1'

from ._seeding import seeded
from ._sklearn import DiviK
Expand Down
2 changes: 1 addition & 1 deletion divik/_feature_selection/_specialized.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def fit(self, X, y=None):
stat='mean', use_log=self.use_log,
keep_outliers=self.keep_outliers,
min_features_rate=self.min_features_rate,
p=self.p).fit(X)
p=1.0 - self.p).fit(X)
filtered = self.abundance_selector_.transform(X)
self.selected_ = self.abundance_selector_.selected_.copy()

Expand Down

0 comments on commit 7a9405c

Please sign in to comment.