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

Sample percentage #674

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

jesusbft
Copy link

@jesusbft jesusbft commented Jan 5, 2025

Sorry, I have to fix my branch and it delete my older pull request.

This pull request introduces a new feature that allows users to evaluate a random subset of the dataset during the testing phase. This is particularly useful for scenarios where testing the entire dataset is not necessary or feasible. Key details of the implementation include:

  • New Option: A --test-sample-percentage parameter was added to the test command, allowing users to specify the percentage (1-100) of the dataset to use for evaluation. The default is 100%.

  • Random Sampling: When a percentage lower than 100 is specified, a random subset of lines from the dataset is selected for testing.

  • Flexible Testing: Enables testing on the same dataset used for training while avoiding over-testing the entire dataset.

How to use:
ketos test (parameters) --sample-percentage 10

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.

1 participant