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

Update categorical transformers #231

Merged
merged 36 commits into from
Sep 28, 2021
Merged

Conversation

fealho
Copy link
Member

@fealho fealho commented Sep 20, 2021

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Sep 23, 2021

Codecov Report

Merging #231 (eb1366a) into v0.6.0-dev (3a83496) will increase coverage by 0.03%.
The diff coverage is 97.82%.

Impacted file tree graph

@@              Coverage Diff               @@
##           v0.6.0-dev     #231      +/-   ##
==============================================
+ Coverage       91.00%   91.04%   +0.03%     
==============================================
  Files               9        9              
  Lines             723      826     +103     
==============================================
+ Hits              658      752      +94     
- Misses             65       74       +9     
Impacted Files Coverage Δ
rdt/transformers/categorical.py 97.14% <97.82%> (-0.79%) ⬇️
rdt/transformers/numerical.py 94.47% <0.00%> (-1.99%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a83496...eb1366a. Read the comment docs.

@fealho fealho requested a review from csala September 24, 2021 04:20
@csala csala requested review from a team, amontanez24 and csala and removed request for a team and csala September 24, 2021 12:00
Copy link
Contributor

@amontanez24 amontanez24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lgtm!

tests/integration/test_hyper_transformer.py Show resolved Hide resolved
@fealho fealho marked this pull request as ready for review September 24, 2021 18:44
Copy link
Contributor

@csala csala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it looks good, but I left a couple of comments that may be relevant.

tests/integration/transformers/test_categorical.py Outdated Show resolved Hide resolved
rdt/transformers/categorical.py Outdated Show resolved Hide resolved
rdt/transformers/categorical.py Outdated Show resolved Hide resolved
rdt/hyper_transformer.py Outdated Show resolved Hide resolved
@fealho fealho requested a review from csala September 27, 2021 17:19
Copy link
Contributor

@csala csala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems ready to go! 🚢

@fealho fealho merged commit ed82fca into v0.6.0-dev Sep 28, 2021
@fealho fealho deleted the update-categorical-transformer branch September 28, 2021 12:57
csala added a commit that referenced this pull request Oct 13, 2021
* Updates the baseclass

* Update categorical transformers

* Addresses feedback

* Makes get_input_type a class method

* Fix documentation

* Fix one line bug

* Various improvements + some test cases

* Create _add_prefix

* Return data if columns not in data

* Multiple improvements + test cases

* Added test cases

* Fix lint

* Remove test cases.

* Fix a bunch of bugs

* Addresses feedback

* Update baseclass fixes (#242)

* Implement basic integration tests for BaseTransformer

* Fix failing tests

* Fix lint and disable some PyLint warnings

* Fix lint + general improvements

* Fix merge conflicts

* Fix lint

* Tentative updates

* Fix categorical

* Working version of categorical (only hypertransformer fails)

* Fix lint

* Fix lint

* Fix small errors

* Lint

* Fix small errors

* Fix hypertransformer

* Address feedback

* Fix lint

Co-authored-by: Carles Sala <carles@pythiac.com>
amontanez24 pushed a commit that referenced this pull request Oct 26, 2021
* Updates the baseclass

* Update categorical transformers

* Addresses feedback

* Makes get_input_type a class method

* Fix documentation

* Fix one line bug

* Various improvements + some test cases

* Create _add_prefix

* Return data if columns not in data

* Multiple improvements + test cases

* Added test cases

* Fix lint

* Remove test cases.

* Fix a bunch of bugs

* Addresses feedback

* Update baseclass fixes (#242)

* Implement basic integration tests for BaseTransformer

* Fix failing tests

* Fix lint and disable some PyLint warnings

* Fix lint + general improvements

* Fix merge conflicts

* Fix lint

* Tentative updates

* Fix categorical

* Working version of categorical (only hypertransformer fails)

* Fix lint

* Fix lint

* Fix small errors

* Lint

* Fix small errors

* Fix hypertransformer

* Address feedback

* Fix lint

Co-authored-by: Carles Sala <carles@pythiac.com>
@amontanez24 amontanez24 added this to the 0.6.0 milestone Oct 26, 2021
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.

4 participants