We will be using logistic regression to detect malicious URLs. Before we deal with the model, let's look at the dataset.