> For the complete documentation index, see [llms.txt](https://docs.exploratory.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exploratory.io/machine-learning/evaluate_binary.md).

# 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.
