AI Model Deployment Setup
Setup
- Create a Directory
- On your machine, create a directory or folder named
ai-model-deploymentwhere you can save all the data and Jupyter notebooks related to this module.
- On your machine, create a directory or folder named
- Open Command Prompt
-
If using Command Prompt, type:
jupyter notebookThis will open Jupyter Notebook in your default web browser.
-
- Navigate to the Module Directory
- In the Jupyter Notebook interface, browse to the folder created in step 1. This is where you want to create your notebook.
- Create a New Jupyter Notebook
- Click New (top-right corner) → Python 3 to create a new notebook.
-
Rename the notebook by clicking on the default name (“Untitled”) and entering the name as:
AI_Model_Deployment.ipynb
- Write and Execute Python Code
- You can copy the demo Python code provided in the lessons or experiment with your own code.
- Click inside a code cell and paste the demo code or type your Python code.
- Press Shift + Enter to run the code in the cell.
- Save and Close the Notebook
- Click File → Save and Checkpoint to save progress.
- To close, select File → Close and Halt, then close the browser tab.
- Shut Down Jupyter Notebook
- In the terminal where Jupyter Notebook is running, press Ctrl + C and type
Ywhen prompted.
- In the terminal where Jupyter Notebook is running, press Ctrl + C and type