Use wine dataset from sklearn.datasets to classify wines into 3 categories. Load the dataset and split it into test and train. After that train the model using Gaussian and Multinominal classifier and post which model performs better. Use the trained model to perform some predictions on test data. Add screenshot of both scores Use 30% of the dataset as Test_size
Use wine dataset from sklearn.datasets to classify wines into 3 categories. Load the dataset and split it into test and train. After that train the model using Gaussian and Multinominal classifier and post which model performs better. Use the trained model to perform some predictions on test data. Add screenshot of both scores Use 30% of the dataset as Test_size
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Use wine dataset from sklearn.datasets to classify wines into 3 categories. Load the
dataset and split it into test and train. After that train the model using Gaussian and
Multinominal classifier and post which model performs better. Use
the trained model to perform some predictions on test data.
Add screenshot of both scores
Use 30% of the dataset as Test_size
![2.29
1.28
1
14.23
1.71
2.43
15.6
127
2.8
3.06
28
5.64
1.04
3.92
1065
1050
1
13.2
1.78
2.14
11.2
100
2.65
2.76
26
4.38
1.05
3.4
1
13.16
2.36
2.67
3.24
18.6
16.8
21
101
2.8
3
2.81
5.68
1.03
3.17
1185
1
14.37
1.95
2.5
113
3.85
3.49
24
2.18
7.8
.86
3.45
1480
1
13.24
2.59
2.87
118
2.8
2.69
39
1.82
4.32
1.04
2.93
735
14.2
14.39
1.76
1.87
2.15
1.97
1.98
1
3.27
2.45
2.45
15.2
14.6
112
3.39
34
6.75
1.05
1.02
2.85
1450
2.52
2.51
1
96
2.5
3
5.25
3.58
1290
5.05
5.2
1
14.06
2.61
17.6
121
2.6
31
1.25
1.06
3.58
1295
1
14.83
1.64
2.17
14
97
2.8
2.98
29
1.98
1.08
1.01
2.85
1045
1
13.86
1.35
2.27
16
98
105
2.98
3.15
22
1.85
7.22
3.55
1045
1
14.1
2.16
2.3
18
2.95
3.32
22
2.38
5.75
1.25
3.17
1510
14.12
13.75
14.75
1.48
1.73
1280
1320
1
2.32
2.2
2.43
16.8
16
95
26
29
1.57
5
1.17
2.82
1.15
1.25
1
2.41
89
2.6
2.76
1.81
5.6
2.9
1.73
1.87
1
2.39
11.4
91
3.1
3.69
43
2.81
5.4
2.73
1150
1
14.38
2.38
12
102
3.3
3.64
29
2.96
7.5
1.2
1547
13.63
14.3
1
1.81
2.7
2.85
1.46
17.2
20
112
2.91
3
7.3
1.28
2.88
1310
120
1.97
1.72
1
1.92
2.72
2.8
3.14
33
6.2
1.07
2.65
1280
1.57
1.59
2.95
1.13
1.23
1
13.83
2.62
20
115
108
3.4
.4
6.6
2.57
1130
1680
1
14.19
2.48
2.56
16.5
3.3
3.93
32
17
1.86
8.7
2.82
5.1
5.65
1
13.64
3.1
15.2
116
2.7
3.03
1.66
.96
3.36
845
1
14.06
1.63
2.28
16
126
3.17
24
2.1
1.09
3.71
780
1.98
1.69
1
12.93
3.8
2.65
18.6
102
2.41
2.41
25
4.5
1.03
3.52
770
1.86
1.6
1.81
1
13.71
2.36
16.6
101
2.61
2.88
27
3.8
1.11
4
1035
95
96
3.93
3.52
3.58
1
12.85
2.52
17.8
2.48
2.37
26
1.46
1.09
1.12
1.13
3.63
1015
1
13.5
2.61
20
2.53
2.61
28
1.66
3.82
845
1
13.05
2.05
3.22
25
124
2.63
2.68
47
1.92
3.2
830
1.77
1.72
1.45
1.35
1.76
1
13.39
2.62
16.1
93
2.85
2.94
34
4.8
.92
3.22
2.77
1195
1
13.3
2.14
17
94
2.4
2.19
27
3.95
1.02
1285
1
13.87
1.9
2.8
19.4
107
2.95
2.97
37
4.5
1.25
3.4
915
1.04
1.19
1.09
1.23
1.25
1
14.02
1.68
2.21
16
96
2.65
2.33
3.25
26
1.98
4.7
3.59
1035
1
13.73
1.5
2.7
22.5
101
3
29
2.38
5.7
2.71
1285
1
13.58
1.66
2.36
19.1
106
2.86
3.19
22
1.95
6.9
2.88
1515
1.83
2.42
1.97
1.35
1
13.68
2.36
17.2
3.84
2.87
104
132
110
100
2.69
42
990
1
13.76
1.53
2.7
19.5
2.95
2.74
.5
5.4
1235
2.65
2.41
1
13.51
1.8
19
2.35
2.53
29
1.54
1.86
4.2
1.1
1.04
2.87
3.47
1095
1
13.48
1.81
20.5
2.7
2.98
26
5.1
920
1
13.28
1.64
2.84
15.5
110
2.6
2.45
2.68
34
1.36
4.6
1.09
2.78
880
1.65
2.55
4.25
1.12
1.18
1
13.05
18
98
2.43
29
1.44
2.51
1105
1
13.07
1.5
2.1
15.5
98
2.4
2.64
28
1.37
3.7
2.69
1020
14.22
3.99
2.08
2.34
1.48
1
2.51
13.2
128
3
3.04
.2
5.1
.89
3.53
760
16.2
18.8
1
13.56
1.71
2.31
117
3.15
3.29
34
6.13
.95
3.38
795
1
13.41
3.84
2.12
90
2.45
2.68
27
4.28
.91
1035
1
13.88
1.89
2.59
15
101
3.25
3.56
17
1.7
5.43
.88
3.56
1095
1
13.24
3.98
2.29
17.5
103
2.64
2.63
32
1.66
4.36
82
680
13.05
14.21
1
1.77
2.1
17
107
28
2.03
5.04
.88
3.35
885
1
4.04
2.44
18.9
111
2.85
2.65
3
1.25
5.24
.87
3.33
1080
3.25
3.17
3.39
2.92
2.19
2.14
1
14.38
1.04
3.59
1.68
2.28
2.12
16
102
27
4.9
3.44
3.33
1065
1
13.9
16
101
3.1
21
6.1
.91
985
14.1
2.02
2.4
18.8
103
2.75
32
2.38
6.2
1.07
2.75
1060
O O4 5324O N
557 766 0o 5](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F9231f7ed-2665-4e9c-abbb-824baada51ca%2Ff4b4845a-32c8-48f9-9cad-8e754e4e0206%2Fqc5we5o_processed.png&w=3840&q=75)
Transcribed Image Text:2.29
1.28
1
14.23
1.71
2.43
15.6
127
2.8
3.06
28
5.64
1.04
3.92
1065
1050
1
13.2
1.78
2.14
11.2
100
2.65
2.76
26
4.38
1.05
3.4
1
13.16
2.36
2.67
3.24
18.6
16.8
21
101
2.8
3
2.81
5.68
1.03
3.17
1185
1
14.37
1.95
2.5
113
3.85
3.49
24
2.18
7.8
.86
3.45
1480
1
13.24
2.59
2.87
118
2.8
2.69
39
1.82
4.32
1.04
2.93
735
14.2
14.39
1.76
1.87
2.15
1.97
1.98
1
3.27
2.45
2.45
15.2
14.6
112
3.39
34
6.75
1.05
1.02
2.85
1450
2.52
2.51
1
96
2.5
3
5.25
3.58
1290
5.05
5.2
1
14.06
2.61
17.6
121
2.6
31
1.25
1.06
3.58
1295
1
14.83
1.64
2.17
14
97
2.8
2.98
29
1.98
1.08
1.01
2.85
1045
1
13.86
1.35
2.27
16
98
105
2.98
3.15
22
1.85
7.22
3.55
1045
1
14.1
2.16
2.3
18
2.95
3.32
22
2.38
5.75
1.25
3.17
1510
14.12
13.75
14.75
1.48
1.73
1280
1320
1
2.32
2.2
2.43
16.8
16
95
26
29
1.57
5
1.17
2.82
1.15
1.25
1
2.41
89
2.6
2.76
1.81
5.6
2.9
1.73
1.87
1
2.39
11.4
91
3.1
3.69
43
2.81
5.4
2.73
1150
1
14.38
2.38
12
102
3.3
3.64
29
2.96
7.5
1.2
1547
13.63
14.3
1
1.81
2.7
2.85
1.46
17.2
20
112
2.91
3
7.3
1.28
2.88
1310
120
1.97
1.72
1
1.92
2.72
2.8
3.14
33
6.2
1.07
2.65
1280
1.57
1.59
2.95
1.13
1.23
1
13.83
2.62
20
115
108
3.4
.4
6.6
2.57
1130
1680
1
14.19
2.48
2.56
16.5
3.3
3.93
32
17
1.86
8.7
2.82
5.1
5.65
1
13.64
3.1
15.2
116
2.7
3.03
1.66
.96
3.36
845
1
14.06
1.63
2.28
16
126
3.17
24
2.1
1.09
3.71
780
1.98
1.69
1
12.93
3.8
2.65
18.6
102
2.41
2.41
25
4.5
1.03
3.52
770
1.86
1.6
1.81
1
13.71
2.36
16.6
101
2.61
2.88
27
3.8
1.11
4
1035
95
96
3.93
3.52
3.58
1
12.85
2.52
17.8
2.48
2.37
26
1.46
1.09
1.12
1.13
3.63
1015
1
13.5
2.61
20
2.53
2.61
28
1.66
3.82
845
1
13.05
2.05
3.22
25
124
2.63
2.68
47
1.92
3.2
830
1.77
1.72
1.45
1.35
1.76
1
13.39
2.62
16.1
93
2.85
2.94
34
4.8
.92
3.22
2.77
1195
1
13.3
2.14
17
94
2.4
2.19
27
3.95
1.02
1285
1
13.87
1.9
2.8
19.4
107
2.95
2.97
37
4.5
1.25
3.4
915
1.04
1.19
1.09
1.23
1.25
1
14.02
1.68
2.21
16
96
2.65
2.33
3.25
26
1.98
4.7
3.59
1035
1
13.73
1.5
2.7
22.5
101
3
29
2.38
5.7
2.71
1285
1
13.58
1.66
2.36
19.1
106
2.86
3.19
22
1.95
6.9
2.88
1515
1.83
2.42
1.97
1.35
1
13.68
2.36
17.2
3.84
2.87
104
132
110
100
2.69
42
990
1
13.76
1.53
2.7
19.5
2.95
2.74
.5
5.4
1235
2.65
2.41
1
13.51
1.8
19
2.35
2.53
29
1.54
1.86
4.2
1.1
1.04
2.87
3.47
1095
1
13.48
1.81
20.5
2.7
2.98
26
5.1
920
1
13.28
1.64
2.84
15.5
110
2.6
2.45
2.68
34
1.36
4.6
1.09
2.78
880
1.65
2.55
4.25
1.12
1.18
1
13.05
18
98
2.43
29
1.44
2.51
1105
1
13.07
1.5
2.1
15.5
98
2.4
2.64
28
1.37
3.7
2.69
1020
14.22
3.99
2.08
2.34
1.48
1
2.51
13.2
128
3
3.04
.2
5.1
.89
3.53
760
16.2
18.8
1
13.56
1.71
2.31
117
3.15
3.29
34
6.13
.95
3.38
795
1
13.41
3.84
2.12
90
2.45
2.68
27
4.28
.91
1035
1
13.88
1.89
2.59
15
101
3.25
3.56
17
1.7
5.43
.88
3.56
1095
1
13.24
3.98
2.29
17.5
103
2.64
2.63
32
1.66
4.36
82
680
13.05
14.21
1
1.77
2.1
17
107
28
2.03
5.04
.88
3.35
885
1
4.04
2.44
18.9
111
2.85
2.65
3
1.25
5.24
.87
3.33
1080
3.25
3.17
3.39
2.92
2.19
2.14
1
14.38
1.04
3.59
1.68
2.28
2.12
16
102
27
4.9
3.44
3.33
1065
1
13.9
16
101
3.1
21
6.1
.91
985
14.1
2.02
2.4
18.8
103
2.75
32
2.38
6.2
1.07
2.75
1060
O O4 5324O N
557 766 0o 5
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY