Skip to content
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

Refactors shapiq.games.benchmark into seperate shapiq.benchmark module. #175

Conversation

mmschlk
Copy link
Owner

@mmschlk mmschlk commented Jul 15, 2024

This PR cleans up the games.benchmark module by separating the logic for conducting benchmarks (e.g. plotting, running benchmarks, configurations, ...) from the definitions of the benchmark games (e.g. CaliforniaHousingLocalXAI, AdultCensusFeatureSelection, etc.). With this benchmark functions are more easily accessible and can be extended/varied without touching the game definitions.

Without this refactoring, directly importing most of the functions is not possible because of circular imports.

This PR works on #169.

@mmschlk mmschlk added enhancement New feature or request maintenance labels Jul 15, 2024
@mmschlk mmschlk self-assigned this Jul 15, 2024
@mmschlk mmschlk linked an issue Jul 15, 2024 that may be closed by this pull request
@mmschlk mmschlk requested a review from hbaniecki July 15, 2024 15:03
@mmschlk mmschlk merged commit 43179ba into main Jul 16, 2024
7 checks passed
@mmschlk mmschlk deleted the 169-allow-for-importing-benchmark-functions-directly-from-modules-package branch July 16, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow for importing benchmark functions directly from modules / package
1 participant