Data-science-utils

Latest version: v1.8.1

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

1.3

Added
- visualization_aids::visualize_features added parameters: features: list of feature to visualize,
num_columns: number of columns in the grid, and remove_na: True to ignore NA values when plotting; False otherwise.
Changed
- visualization_aids::draw_tree changed signature to matplotlib coding style
(see [matplotlib Usage Guide](https://matplotlib.org/tutorials/introductory/usage.html#coding-styles)).
- all drawing method now return matplotlib.axes.Axes instead of matplotlib.pyplot.Figure.
Fixed
- Revert import change of sklearn.tree.tree to sklearn.tree due to FutureWarning.

1.2

Added
- visualization_aids::print_decision_paths a method that converts decision tree to a python function.
Changed
- visualization_aids::draw_tree parameter features_names changed to feature_names.
- visualization_aids::draw_tree parameters feature_names and class_names received default value.
Fixed
- Changed import of sklearn.tree.tree to sklearn.tree due to FutureWarning.

1.1

Added
- added matplotlib testing
Changed
- removed metrics::plot_precision_recall and metrics::plot_roc_curve due duplication with Yellowbrick package
- changed metrics::print_confusion_matrix to plot_confusion_matrix which returns a matplotlib figure
- visualization_aids now do not require ipython
- visualization_aids returns matplotlib figure objects
- metrics returns matplotlib figure objects
Fixed
- docs
- minor changes

1.0.4

Added
- added install_requires, python_requires and license in setup.py
- added changelog
Changed
- add version dependencies to requirements
- changed tox virtualenv
- changed classifiers in setup.py
Fixed
- fix tests for strings
- minor changes

1.0.3

Added

Changed

Fixed
- handle DeprecationWarning when using visualization_aids::draw_tree
- fix tests for strings

1.0.2

Added
- added method for feature visualization as visualization_aids::visualize_features
Changed
- updated syntax for dropping index in preprocess::get_correlated_features
- updated documentation for new feature visualization in visualization_aids::visualize_features
Fixed

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.