# Predict

{% hint style="info" %}
*Check out the walk-through on the **Predict** option for a DSL Notebook.*
{% endhint %}

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FtLceax9bAKGLzR9JY5do%2Fmake_predictions.gif?alt=media&#x26;token=70a5f48b-ce75-423c-8c2e-ba9215fd0753" alt=""><figcaption><p>Predicting the output of a loaded model</p></figcaption></figure>

The user can get the predicted array from a loaded DSL model that contains a definite dataframe.

* Add a new cell.
* Click the ***Predict*** option.
* Execute the code.
* Provide the model and dataframe.
* The predicted output of the given dataframe appears as an array.
* The default comments on how to define the predicted output for a DS Lab model appears as well.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F3riMe1sBVwviLISxkYyQ%2Fimage.png?alt=media&#x26;token=2ecd267a-6bd3-4966-9506-8f068d35cf00" alt=""><figcaption><p>Predicting the Output of a loaded DSL model</p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer the **Data Science Lab Quick Start Flow** page to get an overview of the **Data Science Lab** module in nutshell.* [***Click here***](/data-science-lab-2/data-science-lab-quick-start-flow.md) *to get redirected to the quick start flow page.*
{% 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.bdb.ai/data-science-lab-2/project/tabs-for-a-data-science-lab-project/tabs-for-tensorflow-and-pytorch-environment/notebook/notebook-page/notebook-operations/predict.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.
