v0.3.1 (March 7, 2024)#
Changes and enhancements have been made to the API since version v0.3.0, leading to the introduction of new features and the resolution of various bugs.
API change From now on, only the selected utilities listed below are available as the public API, which has led to shorter loading times for the package. The available public API functions include:
watex.datasets.make_ves()available publicly aswatex.make_ves()watex.datasets.fetch_data()available publicly aswatex.fetch_data()watex.datasets.make_erp()available publicly aswatex.make_erp()watex.utils.bi_selector()available publicly aswatex.bi_selector()watex.utils.cleaner()available publicly aswatex.cleaner()watex.utils.erpSelector()available publicly aswatex.erpSelector()watex.utils.erpSmartDetector()available publicly aswatex.erpSmartDetector()watex.utils.fittensor()available publicly aswatex.fittensor()watex.utils.get2dtensor()available publicly aswatex.get2dtensor()watex.utils.make_naive_pipe()available publicly aswatex.make_naive_pipe()watex.utils.magnitude()available publicly aswatex.magnitude()watex.utils.naive_imputer()available publicly aswatex.naive_imputer()watex.utils.naive_scaler()available publicly aswatex.naive_scaler()watex.utils.ohmicArea()available publicly aswatex.ohmicArea()watex.utils.plotAnomaly()available publicly aswatex.plotAnomaly()watex.utils.plot_confidence_in()available publicly aswatex.plot_confidence_in()watex.utils.plotOhmicArea()available publicly aswatex.plotOhmicArea()watex.utils.plot_sfi()available publicly aswatex.plot_sfi()watex.utils.power()available publicly aswatex.power()watex.utils.qc()available publicly aswatex.qc()watex.utils.read_data()available publicly aswatex.read_data()watex.utils.selectfeatures()available publicly aswatex.selectfeatures()watex.utils.sfi()available publicly aswatex.sfi()watex.utils.shape()available publicly aswatex.shape()watex.utils.smart_label_classifier()available publicly aswatex.smart_label_classifier()watex.utils.to_numeric_dtypes()available publicly aswatex.to_numeric_dtypes()watex.utils.type_()available publicly aswatex.type_()watex.utils.vesSelector()available publicly aswatex.vesSelector()
API change The parameter
edi_objinwatex.utils.plot_skew()has been deprecated and replaced byedis_list, which refers to either a collection of EDI files or a full path to EDI files. Two-dimensional skewness, represented as \(eta\), can now be visualized by setting the parameterview='2D'.API change The
xgboostlibrary is no longer automatically installed as a dependency. Users must install it separately for complete model functionality or use thedevoption as shown below:pip install watex[dev]
Fix The
watex.em.EMmodule now throws awatex.exceptions.EDIErrorinstead of anAttributeErrorwhen an EDI file is expected but an object is passed.Fix The base_estimator parameter is no longer available in scikit-learn versions greater than 1.2; it has been renamed to estimator. Consequently,
watex.modelsandwatex.models.premodelshave been updated to reflect this change.Feature The
watex.utils.plotutils.plot_l_curve()function has been introduced to plot the Hansen L-curve, with an option to highlight the Hansen point. This feature uses the L-curve criterion to determine the most suitable model after performing multiple inversions with different \(\tau\) values.