Ironhack logo

Lab | Supervised Learning

Introduction

In this lab we will work on another supervised learning problem to predict malicious vs benign websites. We are reducing the instructions in this lab which means you will need to solve a lot of the problems by yourself. Anything new in this lab will be accompanied with detailed instructions. But for the knowledge and techniques you have used before will have brief instructions. Eventually we hope you will be able to think by yourself without instructions.

Getting Started

Open the main.ipynb file in the your-code directory. Follow the instructions and add your code and explanations as necessary.

Deliverables

  • main.ipynb with your responses.

Submission

Upon completion, add your deliverables to git. Then commit git and push your branch to the remote.

Resources

pandas.get_dummies

sklearn.linear_model.LogisticRegression

sklearn.neighbors.KNeighborsClassifier

Feature scaling

Why, How and When to Scale your Features

sklearn.preprocessing.RobustScaler

sklearn.metrics