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

Convert DataFrames in dmod.metrics and dmod.evaluations to Polars #446

Open
christophertubbs opened this issue Sep 29, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers Low Priority This should not take the place of more important work

Comments

@christophertubbs
Copy link
Contributor

Large scale evaluations will hit a bottleneck when it comes time to split datasets and start running metrics on small chunks of the overall dataset. Memory management will also become a problem.

To mitigate, this, logic needs to be written to convert the use of pandas dataframes to the frame logic provided by Polars. Some important dataframe operations can be ~400% faster in Polars and the memory footprint is smaller.

The majority of the work will come down to changing operations like fliters and grouping.

@christophertubbs christophertubbs added enhancement New feature or request good first issue Good for newcomers Low Priority This should not take the place of more important work labels Sep 29, 2023
@christophertubbs christophertubbs self-assigned this Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Low Priority This should not take the place of more important work
Projects
None yet
Development

No branches or pull requests

1 participant