py icon indicating copy to clipboard operation
py copied to clipboard

Repository to store sample python programs for python learning

Results 232 py issues
Sort by recently updated
recently updated
newest added

incorrect word on line 13 replaced strong with string

This PR fixes the deprecation warning for base_estimator in BaggingClassifier by replacing it with estimator. This resolves Issue #284.

forked a repo and modified a file

### Description: In the Jupyter Notebook for Machine Learning Tutorial Python - 21: Ensemble Learning - Bagging ([link to file](https://github.com/codebasics/py/blob/master/ML/19_Bagging/bagging_diabetes_prediction.ipynb)), the parameter base_estimator used in BaggingClassifier is outdated. ###Suggested Fix:...

The error in except block to catch the exception thrown after removal of id attribute should be AttributeError and not NameError as observed in python 3.13.1