Skip to content

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

Merged
mmschlk merged 6 commits intomainfrom
169-allow-for-importing-benchmark-functions-directly-from-modules-package
Jul 16, 2024
Merged

Refactors shapiq.games.benchmark into seperate shapiq.benchmark module.#175
mmschlk merged 6 commits intomainfrom
169-allow-for-importing-benchmark-functions-directly-from-modules-package

Conversation

@mmschlk
Copy link
Copy Markdown
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 feature 💡 New feature or enhancement request maintenance 🔨 Code enhancements, tests and 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
@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

feature 💡 New feature or enhancement request maintenance 🔨 Code enhancements, tests and 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