Called after the
run() method, the
report() method summarizes the results of your tests, providing information about the number of tests that passed and failed for each test category, as well as an overall pass/fail flag.
It provides a convenient way to quickly evaluate the results of your tests and determine whether your model is performing as expected. By using this, you can identify areas where your model needs improvement and make necessary changes to ensure that it meets your requirements.
A sample report looks like this:
Different Report formats
# Generate Report as Dictionary and Save as Json Report h.report(format="dict",save_dir="report.json") # Generate and Save Excel Report h.report(format="excel", save_dir="report.xlsx") # Generate and Save HTML Report h.report(format="html", save_dir="report.html") # Generate and Save Text Report h.report(format="text", save_dir="report.txt") # Generate and Save Markdown Report h.report(format="markdown", save_dir="report.md")