# Evaluate Prediction - Binary

Returns a data frame with evaluation score of binary classification including the below.

* AUC
* f\_score
* accuracy
* misclassification\_rate
* precision
* recall
* specificity
* true\_positive - Number of positive predictions that actually are positive.
* false\_positive - Number of positive predictions that actually are negative.
* true\_negative - Number of negative predictions that actually are negative.
* false\_negative - Number of negative predictions that actually are positive.
* test\_size - The number of tested data.
* threshold - threshold value for prediction.

## How to Access This Feature

### From + (plus) Button

There are two ways to access. One is to access from 'Add' (Plus) button. ![](/files/-M4oNBw_BcjYewlKErwU)

Another way is to access from a column header menu. ![](/files/-M4oNBwbFbqxhzyrYkIo)

## How to Use?

![](/files/-M4oNBwdmzMNKp_QGWoX)

* Predicted Probability Column - The column with predicted values. Usually, it's predicted\_probability in the framework of Exploratory.
* Actual Value Column - The column with actual value.
* Threshold Value to Decide Predicted Label - You can choose how to decide threshold for predicted label.
  * Use Optimized Value - This searches threshold to optimize the chosen metric. It can be
    * F Score
    * Accuracy
    * Precision
    * Recall
    * Specificity
  * Enter Manually
    * Set threshold value manually.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.exploratory.io/machine-learning/evaluate_binary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
