# ROC curve represented in Kibana

**URL:** <https://discuss.elastic.co/t/roc-curve-represented-in-kibana/281199>\
**Category:** Kibana\
**Created:** [August 12, 2021, 12:02pm UTC](https://discuss.elastic.co/t/roc-curve-represented-in-kibana/281199 "2021-08-12T12:02:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bponce](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@bponce](https://discuss.elastic.co/u/bponce)\
**Post date:** [August 12, 2021, 12:02pm UTC](https://discuss.elastic.co/t/roc-curve-represented-in-kibana/281199/1 "2021-08-12T12:02:40Z")

</div>

It's possible to represent a ROC curve in Kibana?.  
Points to be represented have the following structure:

"ROC": {  
"x": [  
0.0,  
0.00002855674224684448,  
0.00002855674224684448,  
.  
.  
0.9908618424810097,  
0.9908618424810097,  
1.0  
],  
"y": [  
0.0,  
0.0,  
0.0007158196134574087,  
.  
.  
0.9996420901932713,  
1.0,  
1.0  
]  
}

And the visualization should be like this:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/f/cfab990c001ee3c9a230e709fd92dd2669eba137.png)

How can I insert the points?  
How can I draw the representation of this list of correspondent pair points in a visualization?  
Is it possible to do it in Kibana?

I did many tests with different mappings and visualizations, but not lucky.

This is how I have data right now:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/5/45b68a34e25169b7ad1d7f4d9f8910f77e413274.png)

Thank you in advance.  
Greetings.

---

<div class="post-metadata">

**Author:** ![monfera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/monfera/32/26467_2.png) [@monfera](https://discuss.elastic.co/u/monfera)\
**Post date:** [August 20, 2021, 3:15pm UTC](https://discuss.elastic.co/t/roc-curve-represented-in-kibana/281199/2 "2021-08-20T15:15:25Z")

</div>

The Machine Learning component has ROC functionality, please see it here, hope it helps: [Evaluating data frame analytics | Machine Learning in the Elastic Stack [7.14] | Elastic](https://www.elastic.co/guide/en/machine-learning/current/ml-dfanalytics-evaluate.html#ml-dfanalytics-roc)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 17, 2021, 3:16pm UTC](https://discuss.elastic.co/t/roc-curve-represented-in-kibana/281199/3 "2021-09-17T15:16:18Z")

</div>

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