Internet Firewall Data Data Set

Internet Firewall Data Data Set

github link : https://github.com/amirshnll/Internet-Firewall
dataset link : http://archive.ics.uci.edu/ml/datasets/Internet+Firewall+Data

<class ‘pandas.core.frame.DataFrame’>
RangeIndex: 65532 entries, 0 to 65531
Data columns (total 12 columns):
# Column Non-Null Count Dtype
— —— ————– —–
0 Source Port 65532 non-null int64
1 Destination Port 65532 non-null int64
2 NAT Source Port 65532 non-null int64
3 NAT Destination Port 65532 non-null int64
4 Action 65532 non-null object
5 Bytes 65532 non-null int64
6 Bytes Sent 65532 non-null int64
7 Bytes Received 65532 non-null int64
8 Packets 65532 non-null int64
9 Elapsed Time (sec) 65532 non-null int64
10 pkts_sent 65532 non-null int64
11 pkts_received 65532 non-null int64
dtypes: int64(11), object(1)
memory usage: 6.0+ MB

Internet Firewall Data Data Set - fig 1
Internet Firewall Data Data Set – fig 1

x_train (45872, 11)
x_test (19660, 11)
y_train (45872, 1)
y_test (19660, 1)

 

Internet Firewall Data Data Set - fig 2
Internet Firewall Data Data Set – fig 2

k = 1neighbors , knn test:0.8978128179043744
knn = 1neighbors , knn train:0.8984129752354377

 

other:

 

1 Comment

Add Yours →

دیدگاهتان را بنویسید