feat: Add methods that tell which columns would be affected by a transformer#304
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Codecov Report
@@ Coverage Diff @@
## main #304 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 43 43
Lines 1786 1836 +50
=========================================
+ Hits 1786 1836 +50
|
Co-authored-by: sibre28 <86068340+sibre28@users.noreply.github.com>
Co-authored-by: sibre28 <86068340+sibre28@users.noreply.github.com>
Co-authored-by: sibre28 <86068340+sibre28@users.noreply.github.com>
tests/safeds/data/tabular/transformation/test_one_hot_encoder.py
Outdated
Show resolved
Hide resolved
Marsmaennchen221
left a comment
There was a problem hiding this comment.
Please add docstrings in imputer, label_encoder and one_hot_encoder for the raised Exceptions.
Please test that the exceptions are being raised
Co-authored-by: sibre28 <86068340+sibre28@users.noreply.github.com>
Added docstrings for the |
Co-authored-by: sibre28 <86068340+sibre28@users.noreply.github.com>
Also corrected typo in docstring for Imputer. Co-authored-by: sibre28 <86068340+sibre28@users.noreply.github.com>
Co-authored-by: sibre28 <86068340+sibre28@users.noreply.github.com>
…a-tabletransformer
## [0.13.0](v0.12.0...v0.13.0) (2023-06-01) ### Features * add `Choice` class for possible values of hyperparameter ([#325](#325)) ([d511c3e](d511c3e)), closes [#264](#264) * Add `RangeScaler` transformer ([#310](#310)) ([f687840](f687840)), closes [#141](#141) * Add methods that tell which columns would be affected by a transformer ([#304](#304)) ([3933b45](3933b45)), closes [#190](#190) * Getters for hyperparameters of Regression and Classification models ([#306](#306)) ([5c7a662](5c7a662)), closes [#260](#260) * improve error handling of table ([#308](#308)) ([ef87cc4](ef87cc4)), closes [#147](#147) * Remove warnings thrown in new `Transformer` methods ([#324](#324)) ([ca046c4](ca046c4)), closes [#323](#323)
|
🎉 This PR is included in version 0.13.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Closes #190 .
Summary of Changes
Added abstract methods
get_names_of_added_columns,get_names_of_changed_columns,get_names_of_removed_columnsinTableTransformerclass.Added implementations for all transformers.
Co-authored-by: sibre28 86068340+sibre28@users.noreply.github.com