Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

validate_data.py 565 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
  1. # script for creating a data validation report with `deepchecks`
  2. from deepchecks.vision.simple_classification_data import load_dataset
  3. from deepchecks.vision.suites import train_test_validation
  4. from config import PROCESSED_IMAGES_DIR
  5. train_ds = load_dataset(PROCESSED_IMAGES_DIR, train=True, object_type="VisionData", image_extension="jpg")
  6. test_ds = load_dataset(PROCESSED_IMAGES_DIR, train=False, object_type="VisionData", image_extension="jpg")
  7. suite = train_test_validation()
  8. result = suite.run(train_ds, test_ds)
  9. result.save_as_html("data_validation.html")
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...