Skip to content

🚀 Optimizes Regression Estimator Runtime #341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Mar 20, 2025
Merged

Conversation

mmschlk
Copy link
Owner

@mmschlk mmschlk commented Mar 20, 2025

Summary drafted by Copilot:

This pull request includes improves the performance of regression approximators with two changes:

Performance Improvements:

  • Optimized the runtime of all Regression approximators by precomputing regression matrices and improving the computation of weighted least squares regression.

New Features for Testing:

  • Added a RandomGame class to the shapiq.games.benchmark module, which returns a random vector of integers between 0 and 100.
  • Added tests for the RandomGame class in tests/tests_games/test_random_game.py.

@mmschlk mmschlk requested a review from hbaniecki March 20, 2025 17:16
@mmschlk mmschlk linked an issue Mar 20, 2025 that may be closed by this pull request
@mmschlk mmschlk changed the title Optimizes Regression Estimator Runtime 🚀 Optimizes Regression Estimator Runtime Mar 20, 2025
@mmschlk mmschlk merged commit d238b64 into main Mar 20, 2025
8 checks passed
@mmschlk mmschlk deleted the optimize-regression branch March 20, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Computing Values with Regression-based estimators is inefficient.
1 participant