# How i get the data of the PR-graph and F1-score graph into a csv-File

**URL:** <https://discuss.roboflow.com/t/how-i-get-the-data-of-the-pr-graph-and-f1-score-graph-into-a-csv-file/5662>\
**Category:** 🤝  Community Help\
**Created:** [May 7, 2024, 12:22pm UTC](https://discuss.roboflow.com/t/how-i-get-the-data-of-the-pr-graph-and-f1-score-graph-into-a-csv-file/5662 "2024-05-07T12:22:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanyelR3199](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/danyelr3199/32/3679_2.png) [@DanyelR3199](https://discuss.roboflow.com/u/DanyelR3199)\
**Post date:** [May 7, 2024, 12:22pm UTC](https://discuss.roboflow.com/t/how-i-get-the-data-of-the-pr-graph-and-f1-score-graph-into-a-csv-file/5662/1 "2024-05-07T12:22:20Z")

</div>

I am trying to find the data from the YOLOv8 model to save a precision-recall diagram and an F1-score diagram in a CSV file. Where can I find the data for this, or can I get the data from the `results.csv` file?

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/4/424d854b770d5683d443bd57101d24a95bfa6782.png)

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [May 7, 2024, 11:29pm UTC](https://discuss.roboflow.com/t/how-i-get-the-data-of-the-pr-graph-and-f1-score-graph-into-a-csv-file/5662/3 "2024-05-07T23:29:40Z")

</div>

Hey @DanyelR3199

I’m assuming you are referring to the results of a Roboflow Train job. If you are talking about a locally/notebook-trained model, please create an Issue at the respective GitHub repo for the model.

For a simple graph, the easiest way to get a precision and recall graph is by clicking “More Metrics” and look under the “Training Graphs” tab.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/2/25b63842134c0cb2320dd4f9ecaf1d542b97d722.png)

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/4/4fc29711deedb0b774c0544aa11146b15d104da7.jpeg)

If you need raw data, you can use the Roboflow API:

```auto
https://api.roboflow.com/*workspace*/*project*/*version*

```

Look under `version.models["roboflow-train"].epochs` for an array of metrics at each epoch including precision and recall.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/9/953e60b64494ade4cdea1f50255b2151d2ea517b.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [May 28, 2024, 11:30pm UTC](https://discuss.roboflow.com/t/how-i-get-the-data-of-the-pr-graph-and-f1-score-graph-into-a-csv-file/5662/4 "2024-05-28T23:30:19Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
