![]() ![]() Run_from_file ( path, file_format=None, format_fn=None, ignore_header=False, overwrite=False ) ¶ Seed ( int) – Seed to use if n is not None N ( int) – If not None, number of samples to draw Verbose ( bool) – If True, print extra information Overwrite ( bool) – If False, raise exception if results already exist Outputs a tuple (predictions, confidences) Predict_and_confidence_fn ( function) – Takes as input a list of examples Recovers a previously computed example_list_and_indices run ( predict_and_confidence_fn, overwrite=False, verbose=True, n=None, seed=None ) ¶ Also updates self.result_indexes with the second list.įail_idxs ( ) ¶ filtered_idxs ( ) ¶ form_test_info ( name=None, description=None, capability=None ) ¶ form_testcases ( n_per_testcase=3 ) ¶ static from_file ( file ) ¶ get_stats ( ) ¶ print ( xs, preds, confs, expect_results, labels=None, meta=None, format_example_fn=None, nsamples=3 ) ¶ print_stats ( ) ¶ recover_example_list_and_indices ( ) ¶ )Īlso updates n_idxs if n is not None to indicate which testcases Tuple(list, list) – First list is a list of examplesįor example, let’s say we have two testcases ( and. AbstractTest ( data, expect, labels=None, meta=None, agg_fn='all', templates=None, print_first=None, name=None, capability=None, description=None ) ¶īases: abc.ABC example_list_and_indices ( n=None, seed=None ) ¶ Checklist package ¶ Submodules ¶ checklist.abstract_test module ¶ class checklist.abstract_test. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |