Skrub release 0.7.0 #1804
rcap107
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Release 0.7.0
✨ Highlights
DataOps.skb.apply.TableReportnow supports numpy arrays.16 new contributors participated in this release 🎉
New features
DataOpwith Optuna. Allow setting dataop choices with optuna #1661 by @jeromedockes.DataOp.skb.applynow allows passing extra named arguments to the estimator's methods through the parametersfit_kwargs,predict_kwargsetc. allow passing kwargs in .skb.apply() #1642 by @jeromedockes.DataOp.skb.get_varsallows inspecting all the variables, or all the named dataops, in aDataOp. This lets us easily know what keys should be present in theenvironmentdictionary we pass toDataOp.skb.evalor toSkrubLearner.fit,SkrubLearner.predict, etc. add .skb.get_vars() #1646 by @jeromedockes.DataOp.skb.iter_cv_splitsiterates over the training and testing environments produced by a CV splitter -- similar toDataOp.skb.train_test_splitbut for multiple cross-validation splits. add .skb.iter_cv_splits() #1653 by @jeromedockes.TableReportnow supportsnp.array. FEAT - add support for numpy arrays to the TableReport #1676 by @Nismamjad1.DataOp.skb.full_reportnow accepts a new parameter,title, that is displayed in the html report. Feat: Add title to report #1654 by @MarieSacksick.TableReportnow includes theopen_tabparameter, which lets the user select which tab should be opened when theTableReportis rendered. ENH - Adding a parameter to select the default TableReport tab to show #1737 by @rcap107.Changes
DataOp.skb.full_reportmethod now deletes reports created withoutput_dir=Noneafter 7 days. FEAT - Pruning skrub-data folder to remove old data ops execution reports #1657 by @dierickxsimontabular_pipelineuses aSquashingScalerinstead of aStandardScalerfor centering and scaling numerical features when linear models are used. ChangeStandardScalerto theSquashScalerfor thetabular_pipline#1644 by @dierickxsimon.ToFloat, previously calledToFloat32, is now public. feat: add a public to float #1687 by @MarieSacksick.TableReport, clarifying that.collect()must be called first. FIX - Improving the error message raised when the TableReport is called on a lazy polars dataframe #1767 by @fatiben2002.TableReportis now deterministic and can be controlled by the new parametersubsampling_seedof the global configuration. FEAT - Use sampling seed insummarize_dataframefor reproducibility #1775 by @thomass-dev.cast_to_strparameter toCleanerto prevent unintended conversion of list/object-like columns to strings unless explicitly enabled. Add add_tostr flag to Cleaner to control ToStr transformation #1789 by @PilliSiddharth.Bugfixes
skrub.cross_validatefunction now raises a specific exception if the wrong variable type is passed. Added type-specific error message to cross_validate function #1799 by @emassoulie.get_feature_names_outto all single column transformers. FIX - Implementing the defaultget_feature_names_outmethod #1666 by @rcap107.DataOp.skb.applywas passed a DataOp as the estimator have been fixed in sanitize behavior when estimator passed to apply() is a dataop #1671 by @jeromedockes.TableReportcould raise an error while trying to check if Polars columns with some dtypes (lists, structs) are sorted. It would not indicate Polars columns sorted in descending order. Fixed in fix tablereport for columns for which order is not defined #1673 by @jeromedockes.TableReportandCleanerwith Polars dataframes containing a column with empty string as name. Fix: Cleaner (and TableVectorizer) fail when there is a polars empty column name #1722 by @MarieSacksick.TableReportwould fail when computing associations for Polars dataframes if PyArrow was not installed. FIX - Adding condition and test for Polars dataframes without PyArrow installed in TableReport #1742 by @rcap107.get_feature_names_outtoCleanerfor consistency with theTableVectorizerand other transformers. FIX - adding get_feature_names_out to Cleaner #1762 by @rcap107.TextEncoderis used without the optional transformers dependencies. FIX - Improve the error message when the TextEncoder is fitted without installing the additional dependencies #1769 by @fxzhou22..skb.applied_estimatoron aDataOpafter calling.skb.set_name(),.skb.set_description(),.skb.mark_as_X()or.skb.mark_as_y()used to raise an error, this has been fixed in fix 1781: attribute missing from dataop returned by set_name() #1782 by @jeromedockes.ParamSearch.plot_resultswhen NaN values were present in the cross-validation results. BUG - Fixing a few edge cases in the generation of the parallel coordinate plot #1800 by @rcap107.New Contributors
StandardScalerto theSquashScalerfor thetabular_pipline#1644Full Changelog: 0.6.2...0.7.0
This discussion was created from the release Skrub release 0.7.0.
All reactions