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

convenience for comparing metrics across versions #379

Merged
merged 2 commits into from
Dec 18, 2022

Conversation

changhiskhan
Copy link
Contributor

No description provided.

if isinstance(v, dict):
v = v["version"]
vdf = metric_func(lance.dataset(uri, version=v))
vdf["version"] = v
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how to handle the dataset with version column?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok by default an Exception gets raised on conflict. I've added a parameter so user can customize the column name

Copy link
Contributor

@eddyxu eddyxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall

@changhiskhan changhiskhan merged commit 077dceb into main Dec 18, 2022
@changhiskhan changhiskhan deleted the changhiskhan/compare branch December 18, 2022 19: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.

2 participants