Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove uneeded code and dependencies#205

Draft
david-cortes-intel wants to merge 1 commit intoIntelPython:mainIntelPython/scikit-learn_bench:mainfrom
david-cortes-intel:remove_modindavid-cortes-intel/scikit-learn_bench:remove_modinCopy head branch name to clipboard
Draft

Remove uneeded code and dependencies#205
david-cortes-intel wants to merge 1 commit intoIntelPython:mainIntelPython/scikit-learn_bench:mainfrom
david-cortes-intel:remove_modindavid-cortes-intel/scikit-learn_bench:remove_modinCopy head branch name to clipboard

Conversation

@david-cortes-intel
Copy link
Contributor

Description

There is some code trying to deal with moding objects, but those are not used anywhere and it's not clear if it even works. Since moding is not used in any existing configuration, is not a popular library, and is generally not directly supported by scikit-learn, this PR removes both the code and the library dependency on it, which allows to eliminate other transitive dependencies.

Along the way, it also updates pandas parquet code to use pyarrow instead, which is a more commonplace library than fastparquet and is their default choice. As of pandas3, this explicit dependency on arrow could potentially be dropped since they will have some arrow-related dependencies being mandatory.

The PR also drops the dependency on tabulate as it doesn't appear to be used anywhere in the code or CI scripts, and drops the dependency on FAISS since there are currently no benchmarks for it.


Checklist:

Completeness and readability

  • Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
  • I have resolved any merge conflicts that might occur with the base branch.

Testing

  • I have run it locally and tested the changes extensively.
  • All CI jobs are green or I have provided justification why they aren't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.