Skip to content

Commit

Permalink
Cleanup(#40)
Browse files Browse the repository at this point in the history
* cleanup

* rename workflows
  • Loading branch information
bcebere authored Apr 4, 2023
1 parent 728d373 commit e9506c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_full.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Tests Full

on:
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Tests Fast

on:
push:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[![Test In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1zGm4VeXsJ-0x6A5_icnknE7mbJ0knUig?usp=sharing)
[![Tests PR](https://github.com/vanderschaarlab/hyperimpute/actions/workflows/test_pr.yml/badge.svg)](https://github.com/vanderschaarlab/hyperimpute/actions/workflows/test_pr.yml)
[![Tests Full](https://github.com/vanderschaarlab/hyperimpute/actions/workflows/test_full.yml/badge.svg)](https://github.com/vanderschaarlab/hyperimpute/actions/workflows/test_full.yml)
[![Tutorials](https://github.com/vanderschaarlab/hyperimpute/actions/workflows/test_tutorials.yml/badge.svg)](https://github.com/vanderschaarlab/hyperimpute/actions/workflows/test_tutorials.yml)
[![Documentation Status](https://readthedocs.org/projects/hyperimpute/badge/?version=latest)](https://hyperimpute.readthedocs.io/en/latest/?badge=latest)

Expand Down
2 changes: 1 addition & 1 deletion src/hyperimpute/plugins/imputers/_hyperimpute_internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ def _setup(self, X: pd.DataFrame) -> pd.DataFrame:
)

if X[col].dtype == "object" or self._is_categorical(X, col):
# TODOD: One hot encoding for smaller cnt
# TODO: One hot encoding for smaller size features

existing_vals = X[col][X[col].notnull()]

Expand Down

0 comments on commit e9506c7

Please sign in to comment.