Professional Documents
Culture Documents
[16]: x = dataset.drop('result',axis=1)
[7]: y = dataset['result']
[17]: x
[9]: y
[9]: 0 0
1 1
2 1
3 0
4 1
5 1
6 0
7 1
8 0
9 1
10 1
1
11 0
12 0
Name: result, dtype: int64
[20]: SVC(kernel='linear')
[[1 1]
[0 1]]
precision recall f1-score support
accuracy 0.67 3
macro avg 0.75 0.75 0.67 3
weighted avg 0.83 0.67 0.67 3
[ ]: