Exercise 2
Start course
1h 13m

Continue the journey to data and machine learning, with this course from Cloud Academy.

In previous courses, the core principles and foundations of Data and Machine Learning have been covered and best practices explained. 

This course gives an informative introduction to deep learning and introducing neural networks.

This course is made up of 12 expertly instructed lectures along with 4 exercises and their respective solutions.

Please note: the Pima Indians Diabetes dataset can be found at this GitHub repository or at Kaggle page mentioned throughout the course.

Learning Objectives

  • Understand the core principles of deep learning
  • Be able to execute all factors of the framework of neural nets

Intended Audience





Hey guys, welcome back. In this video, I will review exercise two of section four. In exercise two, we build a fully connected neural network model to predict the diabetes patients that we've loaded and prepared in exercise one. So we're guided through a series of step, we start by splitting the data into train test split, then, we define a sequential model, with at least one inner layer. So, to build this model, we'll have to make a few choices. What the size of the input is, how many nodes we will use in each layer, the size of the outputs, and then what activation functions we will use in the inner layers, and, what activation functions we're gonna use at the output. Also, what loss function we will use, and what optimizer we will use. Finally, we'll fit the model on the training set, using a validation split of 0.1, and we'll test the trained model on the test data from the train test split. Finally we check the accuracy score, the confusion matrix, and the classification report. As usual, try to do the exercise first, and then feel free to watch the next video with the solution. Good luck.



About the Author
Learning Paths

I am a Data Science consultant and trainer. With Catalit I help companies acquire skills and knowledge in data science and harness machine learning and deep learning to reach their goals. With Data Weekends I train people in machine learning, deep learning and big data analytics. I served as lead instructor in Data Science at General Assembly and The Data Incubator and I was Chief Data Officer and co-­founder at Spire, a Y-Combinator-­backed startup that invented the first consumer wearable device capable of continuously tracking respiration and activity. I earned a joint PhD in biophysics at University of Padua and Université de Paris VI and graduated from Singularity University summer program of 2011.