From the course: Supervised Learning Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Assembling your neural networks

Assembling your neural networks - Python Tutorial

From the course: Supervised Learning Essential Training

Start my 1-month free trial

Assembling your neural networks

- All right, let's start to build our neural networks, so classify zoo animals. First let's load in our required libraries and get our data in here. Since we had a manual list for our columns we're going to import that manually and then view just the first few rows. As you can see, we've got a couple of different animals in the name column and plenty of different features that mostly look binary, except for this legs column. It looks like it just has the number of legs an animal has from zero maybe all the way up to four. We also have the type here, that's actually going to be our response variable, on the far-right side. Let's print out the shape, and then describe this dataset. It looks like we have a hundred total rows and 18 total column. By looking at the output of our described function. We can see that, we've got a ton of binary columns. And then we have the number of legs an animal has. This is going to range actually…

Contents