Create a neural network
In this exercise you will use a lightweight Python notebook to train and evaluate a neural network model.
This exercise should take approximately 15 minutes to complete.
Open and run the notebook for this exercise
The code for this exercise is provided in a Python notebook. The notebook is designed to be run in a lightweight notebook environment called ScriptBook that was built specifically for this training.
Note: The notebook editor runs locally in your browser, so there’s no need to sign into any cloud services or install software on your computer. You just need a modern web browser, such as Microsoft Edge, with JavaScript enabled.
-
In your web browser, open the ScriptBook notebook tool at
https://aka.ms/scriptbook.ScriptBook is a lightweight Python notebook editor that supports simple Python scripting in the browser.

- In a new browser tab, open the deep-learning.pysb notebook at
https://microsoftlearning.github.io/mslearn-ml-basics/Labfiles/deep-learning.pysband save it on your local computer - be sure to save it as as deep-learning.pysb, not deep-learning.pysb.txt. - In ScriptBook, use the Load Notebook button to open the deep-learning.pysb notebook file you downloaded.
- Follow the instructions in the notebook to run the Python code cells and review the outputs. Note that in some steps, you may need to upload data files to the notebook before running the Python code that processes them!