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

Allow no y in leaderboard #2912

Merged
merged 4 commits into from
Feb 14, 2023
Merged

Conversation

Innixma
Copy link
Contributor

@Innixma Innixma commented Feb 14, 2023

Issue #, if available:

#2820 (Part of the process to make the benchmark throughput easy for users to do on their own datasets)

Description of changes:

  • When skip_score=True and extra_metrics=None during a predictor.leaderboard(data) call, this PR allows data to not have the label column, since it isn't required (no scoring being done). This enables easier usage of inference speed analysis code that doesn't unnecessarily require the label column.
  • Also deleted old unused code from load_s3.py, the same code but updated already exists in load_pd.py. Removing this code eliminates a circular import that causes ray to error in certain situations (Note: Error situation is outside of normal usage and did not effect users, only occurred when trying to parallelize boto3 calls using ray).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Innixma Innixma added enhancement New feature or request module: tabular priority: 1 High priority labels Feb 14, 2023
@Innixma Innixma added this to the 0.7 Release milestone Feb 14, 2023
@@ -74,15 +71,3 @@ def list_bucket_prefix_suffix_contains_s3(bucket, prefix, suffix=None, banned_su
files.append(object_summary.key)

return files


def load_multipart_s3(bucket, prefix, columns_to_keep=None, dtype=None, sample_count=None):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for cleaning this up

@github-actions
Copy link

Job PR-2912-ca0797a is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-2912/ca0797a/index.html

@github-actions
Copy link

Job PR-2912-a9f9120 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-2912/a9f9120/index.html

@Innixma Innixma merged commit 3efff81 into autogluon:master Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module: tabular priority: 1 High priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants