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

Move cat encoding inside train loop #56

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

thomasmeissnercrm
Copy link
Collaborator

@thomasmeissnercrm thomasmeissnercrm commented Oct 24, 2024

This release adds more robustness and increases performance a bit.

  • target encoding will be executed in cross-validated fashion instead of just simple target encoding outside of folds
  • datetime features will also produce cyclic transformations of those. To prevent overfitting we ignore all date components that have just one unique value.
  • calibrate methods will automatically convert to pandas series if a numpy array has been provided
  • Domain checker and Modelmatchmaker support GPU acceleration now

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 96.61017% with 10 lines in your changes missing coverage. Please review.

Project coverage is 95.87%. Comparing base (b5ecbd8) to head (e95482c).

Files with missing lines Patch % Lines
bluecast/preprocessing/datetime_features.py 94.25% 5 Missing ⚠️
bluecast/blueprints/cast_cv.py 66.66% 3 Missing ⚠️
bluecast/tests/test_datetime_features.py 98.11% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main      #56    +/-   ##
========================================
  Coverage   95.86%   95.87%            
========================================
  Files          97       97            
  Lines        7626     7854   +228     
========================================
+ Hits         7311     7530   +219     
- Misses        315      324     +9     
Flag Coverage Δ
pytest 95.87% <96.61%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

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.

2 participants