Skip to content

Commit

Permalink
Allows multiple labeled datasets to be created by assessment notebook.
Browse files Browse the repository at this point in the history
Previously, only one labeled dataset was allowed, and newly generated datasets overwrote older ones.

With this change, labeled datasets are stored in a directory called "labeled_examples". Under this directory, each labeled dataset is stored in a subdirectory named as "{timestamp}_{train_fraction}_{test_fraction}_{minor_is_0}".

Models are now stored under the labeled_examples directory that they are trained on. This makes it easy to keep track of what data each model was trained on.

This change makes the notebook incompatible with output directories that were created by older versions of the notebook.

PiperOrigin-RevId: 703185458
  • Loading branch information
jzxu authored and copybara-github committed Dec 5, 2024
1 parent 6414c61 commit ae4838d
Show file tree
Hide file tree
Showing 2 changed files with 292 additions and 128 deletions.
Loading

0 comments on commit ae4838d

Please sign in to comment.