Skip to content

Commit

Permalink
change image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
veekaybee committed Jan 2, 2022
1 parent 45e4eea commit 124b1ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/docs/Recsys/precision-and-recall.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ Precision and recall are common ways to evaluate the accuracy of your machine le
Let’s say you’re working on understanding the relevancy of SnakeSearch, a search engine that looks to find relevant Python documentation for you. Let’s say you want to find documents related to Pandas, as you’re getting started with Pandas, the Python software library, and want some information. You type in “pandas” into SnakeSearch. How good is SnakeSearch’s result set for you?


![](https://raw.githubusercontent.com/veekaybee/boringml/main/static/imagessnakesearch.png)
![](https://raw.githubusercontent.com/veekaybee/boringml/main/static/images/snakesearch.png)


You get back some set of results. 


![](https://raw.githubusercontent.com/veekaybee/boringml/main/static/imagesresults.png)
![](https://raw.githubusercontent.com/veekaybee/boringml/main/static/images/results.png)


Precision is the percent of returned results that are actually good. So we don’t want the results about real pandas, we want the software library. Precision is 3/6, or 1/2 because 3 of the results are relevant to us.

![](https://raw.githubusercontent.com/veekaybee/boringml/main/static/imagesprecision.png)
![](https://raw.githubusercontent.com/veekaybee/boringml/main/static/images/precision.png)


Recall is what percent of all the possible pandas results out there are returned to you. So let’s say for the case of this example that we have 8 total possible terms. If 3 of those are returned to us, the recall is 3/8.

![](https://raw.githubusercontent.com/veekaybee/boringml/main/static/imagesrecall.png)
![](https://raw.githubusercontent.com/veekaybee/boringml/main/static/images/recall.png)

0 comments on commit 124b1ac

Please sign in to comment.