# Data Preparation

What data does NannyML need in order to perform model evaluation? We have a detailed tutorial regarding [evaluating a binary classification model with NannyML](/cloud/probabilistic-model-evaluation/tutorials/evaluating-a-binary-classification-model.md). NannyML's model evaluation module only assesses whether the model's performance when deployed meets expectations with as little data as possible given a required statistical confidence. In order to do more comprehensive model monitoring over time then NannyML's [model monitoring module](/cloud/model-monitoring/quickstart.md) should be used. Conceptually NannyML needs the following information:

* The model's predicted probabilities.
* The actual target values for the model's prediction during the reference period.
* The classification thresholds for the model's predicted probabilities.

How should that information be encoded for NannyML to consume it? The classification threshold is just a number that is provided during the add new evaluation model wizard. The predicted probabilities and targets are presented in two columns with each row representing a model prediction. Let's see an example:

| predicted\_probability | target |
| ---------------------- | ------ |
| 0.32                   | 0      |
| 0.62                   | 1      |
| 0.83                   | 1      |

However, when providing additional evaluation data, the target column is optional. NannyML's model evaluation algorithm can make use of pure model predictions in order to increase its confidence in the evaluated model's performance.

{% hint style="info" %}
We recommend storing your data as parquet files.

NannyML Cloud supports both parquet and CSV files, but CSV files don't store data type information. CSV files may cause incorrect data types to be inferred. If you later add more data to the model using the SDK or using parquet format, a data type conflict may occur.
{% endhint %}


---

# 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.nannyml.com/cloud/probabilistic-model-evaluation/tutorials/data-preparation.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.
