# Notebook Operations

This section aims at describing the following operations for a Notebook:

* [**Save Model & Load Model** ](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-operations/turn-your-script-into-a-model.md)**:** You can train, save, and load the models (Sklearn, Keras/TensorFlow, PyTorch)
* [**Predict**](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-operations/predict.md)**:** You can predict the model outputs inside the notebook.
* [**Save Artifacts**](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-operations/save-artifacts.md)**:** You can save the plots and datasets as Artifacts inside a Notebook.&#x20;
* [<mark style="color:blue;">**Find and Replace**</mark>](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-operations/find-and-replace.md): You can search for a specific text inside your code and replace it if needed.
* [<mark style="color:blue;">**Secrets**</mark>](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-operations/secrets.md): You can generate Environment Variables to save your confidential information from getting exposed.
* [<mark style="color:blue;">**Algorithms**</mark>](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-operations/algorithms.md): You can get steps on how to do Algorithm Settings and Project level access to use Algorithms inside Notebook.
* [**Transforms**](/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-operations/transforms.md): Save and load models with transform script, register them or publish them as an API through DS Lab module.

{% hint style="info" %} <mark style="color:green;">Please Note:</mark> *The given Notebook operations should be performed in this sequence only:*

**Save Model -> Load Model -> Predict -> Save Artifacts**
{% endhint %}

## **Other Notebook Operations**

The Notebook operations icons (as provided below) help to apply various actions to the code when clicked. They are provided on the top right side of the Notebook page.

<table><thead><tr><th width="150">Icon</th><th width="150">Icon Name</th><th>Action</th></tr></thead><tbody><tr><td><img src="/files/TDTUzmuJrL3HwI6nmoP3" alt="" data-size="line"></td><td>Add Pre cell</td><td>Adds a code cell before the first cell.</td></tr><tr><td><img src="/files/C7WbAViWWV40QFKbKVea" alt="" data-size="line"></td><td>Save</td><td>Saves the Notebook updates.</td></tr><tr><td><img src="/files/DPcqO8UKfU3vfCZ964Pm" alt="" data-size="line"></td><td>Delete cell</td><td>Removes the selected cell.</td></tr><tr><td><img src="/files/7Er7Nv83keZID7zEG3qj" alt="" data-size="line"></td><td>Undo Delete cell</td><td>Reverts the Deleted cell.</td></tr><tr><td><img src="/files/2et0D80rKEFbBNSOHy5p" alt="" data-size="line"></td><td>Cut cell</td><td>Cuts the code from a specific cell.</td></tr><tr><td><img src="/files/tMPeN0HXM0K89PuACPBh" alt="" data-size="line"></td><td>Copy cell</td><td>Copies the code from a specific cell.</td></tr><tr><td><img src="/files/hYkWSJ4N3O01CmDocW13" alt="" data-size="line"></td><td>Paste cell</td><td>Pastes the cut or copied code to the selected cell.</td></tr><tr><td><img src="/files/xrpsn5N66J3RQPbu3nMg" alt="" data-size="line"></td><td>Run Current cell</td><td>Runs code given for a specific cell.</td></tr><tr><td><img src="/files/uxZ4sK11W0eYGIVUDgnk" alt="" data-size="line"></td><td>Run all cell</td><td>Runs the codes for all the cells.</td></tr><tr><td><img src="/files/OyzHjYDOGUMqDBtUp8qT" alt="" data-size="line"></td><td>Interrupt cell</td><td>Stops/Interrupts the running of selected code(s).</td></tr><tr><td><img src="/files/s7MdwQx23cMs5MqX7qhW" alt="" data-size="line"></td><td>Shutdown</td><td>Stops the Kernel/Disconnects the instance and allocated resources.</td></tr></tbody></table>


---

# 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/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-page/notebook-operations.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.
