-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: specify features and target when creating a TaggedTable
#114
feat: specify features and target when creating a TaggedTable
#114
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
46334e0
to
0013086
Compare
Codecov Report
@@ Coverage Diff @@
## main #114 +/- ##
==========================================
+ Coverage 92.30% 93.08% +0.78%
==========================================
Files 35 36 +1
Lines 1182 1258 +76
==========================================
+ Hits 1091 1171 +80
+ Misses 91 87 -4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
6c0de34
to
a010ec8
Compare
## [0.7.0](v0.6.0...v0.7.0) (2023-03-29) ### Features * `sort_rows` of a `Table` ([#104](#104)) ([20aaf5e](20aaf5e)), closes [#14](#14) * add `_file` suffix to methods interacting with files ([#103](#103)) ([ec011e4](ec011e4)) * improve transformers for tabular data ([#108](#108)) ([b18a06d](b18a06d)), closes [#61](#61) [#90](#90) * remove `OrdinalEncoder` ([#107](#107)) ([b92bba5](b92bba5)), closes [#61](#61) * specify features and target when creating a `TaggedTable` ([#114](#114)) ([95e1fc7](95e1fc7)), closes [#27](#27) * swap `name` and `data` parameters of `Column` ([#105](#105)) ([c2f8da5](c2f8da5))
🎉 This PR is included in version 0.7.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Closes #27 .
Summary of Changes
A user can now optionally specify the
features
of aTaggedTable
explicitly. If the features are not specified, all columns except the target are considered features.The
predict
method of classifiers/regressors only uses the features for prediction. The other columns are still included in the output, however. This is, for example, useful to include an ID column in the table created bypredict
.