Skip to content

feat: specify partial order in label encoder#763

Merged
lars-reimann merged 21 commits intomainfrom
transformers
May 14, 2024
Merged

feat: specify partial order in label encoder#763
lars-reimann merged 21 commits intomainfrom
transformers

Conversation

@lars-reimann
Copy link
Member

@lars-reimann lars-reimann commented May 14, 2024

Closes #639

Summary of Changes

  • Optionally specify a partial order of labels in the label encoder
  • Performance: Implement RangeScaler, StandardScaler, LabelEncoder with polars

@github-actions
Copy link
Contributor

github-actions bot commented May 14, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 59 0 0 2.74s
✅ PYTHON mypy 59 0 4.57s
✅ PYTHON ruff 59 0 0 0.32s
✅ REPOSITORY git_diff yes no 0.44s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@lars-reimann lars-reimann marked this pull request as ready for review May 14, 2024 20:17
@lars-reimann lars-reimann requested a review from a team as a code owner May 14, 2024 20:17
@lars-reimann lars-reimann merged commit 6fbe537 into main May 14, 2024
@lars-reimann lars-reimann deleted the transformers branch May 14, 2024 20:17
lars-reimann pushed a commit that referenced this pull request May 15, 2024
## [0.25.0](v0.24.0...v0.25.0) (2024-05-15)

### Features

* major API redesign (WIP) ([#752](#752)) ([8e781f9](8e781f9)), closes [#694](#694) [#699](#699) [#714](#714) [#748](#748)
* move NN converters and layers to separate packages ([#759](#759)) ([c6a4073](c6a4073))
* remove operations without replacement from tabular containers ([#747](#747)) ([0e5a54b](0e5a54b))
* specify partial order in label encoder ([#763](#763)) ([6fbe537](6fbe537)), closes [#639](#639)

### Bug Fixes

* Conversion of tabular dataset to tensors ([#757](#757)) ([9e40b65](9e40b65))
* fixed devices with new polars implementation ([#756](#756)) ([e72339e](e72339e))

### Performance Improvements

* implement one hot encoder and imputer using polars ([#768](#768)) ([e993c17](e993c17))
@lars-reimann
Copy link
Member Author

🎉 This PR is included in version 0.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LabelEncoder: Specify order of values

2 participants