Fix ml files and add algorithms#14340
Closed
M-H-Jishan wants to merge 3 commits intoTheAlgorithms:masterfrom
Closed
Fix ml files and add algorithms#14340M-H-Jishan wants to merge 3 commits intoTheAlgorithms:masterfrom
M-H-Jishan wants to merge 3 commits intoTheAlgorithms:masterfrom
Conversation
- Fix 4 broken machine learning files using deprecated sklearn functions - Replace plot_confusion_matrix with ConfusionMatrixDisplay.from_estimator - Replace load_boston with fetch_california_housing dataset - Add proper type hints and comprehensive doctests - Fix FIXME issues in bipartite graph checker - Add input validation for invalid graph structures - Raise ValueError for disconnected nodes - Update type hints to support generic hashable types - Fix filename typo: check_bipatrite.py -> check_bipartite.py - Add new algorithms with educational value - Trie-based autocomplete system with frequency ranking - B-Tree implementation for database-like operations - Rabin-Karp string search with multiple pattern support All new code includes comprehensive doctests and follows project guidelines.
- Fix B-Tree split method to store median key before modifying keys list - Fix B-Tree traverse method to handle child nodes correctly - Fix Trie delete method to properly return False for non-existent words - Update bipartite graph checker to remove overly strict validation - All doctests now pass successfully
for more information, see https://pre-commit.ci
Closing this pull request as invalid@M-H-Jishan, this pull request is being closed as none of the checkboxes have been marked. It is important that you go through the checklist and mark the ones relevant to this pull request. Please read the Contributing guidelines. If you're facing any problem on how to mark a checkbox, please read the following instructions:
NOTE: Only |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your change:
Checklist: