AirBnbPricePrediction icon indicating copy to clipboard operation
AirBnbPricePrediction copied to clipboard

Update Codebase: Resolve scikit-learn Deprecations and Upgrade Compatibility

Open shreyashkajabwar opened this issue 9 months ago โ€ข 0 comments

๐Ÿ“„ Pull Request Description This pull request addresses several issues in the existing codebase related to deprecated functionalities and compatibility with newer versions of scikit-learn.โ€‹

โœ… Changes Made Replaced Deprecated Modules: Updated deprecated modules such as sklearn.cross_validation to their current counterparts like sklearn.model_selection .โ€‹ Stack Overflow

Updated Serialization Practices: Transitioned from using sklearn.externals.joblib to directly importing joblib, as the former is deprecated in scikit-learn 0.21 and removed in 0.23 .โ€‹ GitHub +1 scikit-learn-general.narkive.com +1

Upgraded scikit-learn Version: Ensured compatibility with the latest scikit-learn release by addressing breaking changes and updating relevant code segments accordingly.โ€‹

๐Ÿงช Testing and Validation Executed all scripts and notebooks to confirm they run without errors or warnings.โ€‹

Validated that the model training and prediction processes function as expected with the updated code.โ€‹

๐Ÿ“Œ Additional Notes These updates aim to enhance the codebase's robustness and ensure its longevity by aligning with the latest scikit-learn standards.

shreyashkajabwar avatar Apr 15 '25 20:04 shreyashkajabwar