Skip to content

Commit

Permalink
add test for prc curve (#1566)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuprulez authored Jan 15, 2025
1 parent bce8b02 commit 0544107
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/tabpfn/tabpfn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</inputs>
<outputs>
<data format="tabular" name="output_predicted_data" from_work_dir="output_predicted_data" label="Predicted data"></data>
<data format="png" name="output_prec_recall_curve" from_work_dir="output_prec_recall_curve" label="Precision-recall curve"></data>
<data format="png" name="output_prec_recall_curve" from_work_dir="output_prec_recall_curve.png" label="Precision-recall curve"></data>
</outputs>
<tests>
<test>
Expand All @@ -41,6 +41,11 @@
</assert_contents>
</output>
</test>
<test>
<param name="train_data" value="local_train_rows.tabular" ftype="tabular" />
<param name="test_data" value="local_test_rows.tabular" ftype="tabular" />
<output name="output_prec_recall_curve" file="pr_curve.png" compare="sim_size" />
</test>
</tests>
<help>
<![CDATA[
Expand Down
Binary file added tools/tabpfn/test-data/pr_curve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0544107

Please sign in to comment.