I'm using the dataset:
https://www.unsw.adfa.edu.au/unsw-canberra-cyber/cybersecurity/ADFA-NB15-Datasets/
The purpose is to classify a sample as attack or non-attack. Is it a good idea to use logistic regression?
I made the code below to make pairplots in the dataset. The problem is that the dataset has 49 columns and I would like to filter the columns to use in pairplot, I tried to make a slice in the variable UNSW11, like UNSW11 [:, 1: 5], inside the pairplot but I got error: "builtins.TypeError : unhashable type: 'slice'
Is there any way to limit the number of columns to join the pairplot?
# -*- coding: utf-8 -*-
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
UNSW11 = pd.read_csv('/home/govinda/Desktop/UNSW-NB15_1_ed.csv')
sns.pairplot(UNSW11,palette='bwr',hue = 'class') #usar hue!
plt.show()