Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Load Iris data using the file Iris.csv. The data set consists of 50 samples from each of three species of Iris (Iris setosa, Iris virginica
Load Iris data using the file Iris.csv". The data set consists of 50 samples from each of three species of Iris (Iris setosa, Iris virginica and Iris versicolor). Four features were measured from each sample: the length and the width of the sepals and petals, in centimeters. 1) Make histograms for four features and three species. Plot the 12 (4x3) subfigures in one figure with titles for each subfigure. Observe the distribution. 2) Make box plots for three samples/species of one specific features. Plot 4 subfigures (4 features correspondingly, 4x1) in one figure with titles and axis labels. 5.1 1.4 1.3 3.1 2.9 3.7 3.4 4.8 1.1 4.0 3.9 5.1 . 1.7 3.7 3.6 3.4 3.0 3.4 1.5 3.4 3.2 3.1 SepalLengt SepalWidth PetalLengti PetalWidth Species 3.5 1.4 0.2 Iris-setosa 4.9 3.0 0.2 Iris-setosa 4.7 3.2 0.2 Iris-setosa 4.6 1.5 0.2 Iris-setosa 0.2 Iris-setosa 0.4 Iris-setosa 0.3 Iris-setosa 0.2 Iris-setosa 0.2 Iris-setosa 0.1 Iris-setosa 0.2 Iris-setosa 0.2 Iris-setosa 3.0 0.1 Iris-setosa 3.0 0.1 Iris-setosa 1.2 0.2 Iris-setosa 4.4 1.5 0.4 Iris-setosa 5.4 1.3 0.4 Iris-setosa 3.5 1.4 0.3 Iris-setosa 3.8 0.3 Iris-setosa 0.3 Iris-setosa 3.4 0.2 Iris-setosa 0.4 Iris-setosa 0.2 Iris-setosa 0.5 Iris-setosa 0.2 Iris-setosa 0.2 Iris-setosa 0.4 Iris-setosa 3.5 0.2 Iris-setosa 1.4 0.2 Iris-setosa 0.2 Iris-setosa 0.2 Iris-setosa 0.4 Iris-setosa 0.1 Iris-setosa 0.2 Iris-setosa 0.1 Iris-setosa 0.2 Iris-setosa 3.5 0.2 Iris-setosa 0.1 Iris-setosa 3.0 0.2 Iris-setosa 3.4 0.2 Iris-setosa 3.5 0.3 Iris-setosa 2.3 0.3 Iris-setosa 3.2 0.2 Iris-setosa 3.5 0.6 Iris-setosa 0.4 Iris-setosa 0.3 Iris-setosa 0.2 Iris-setosa 3.2 0.2 Iris-setosa 0.2 Iris-setosa 3.3 0.2 Iris-setosa 3.2 4.7 1.4 Iris-versicolor 3.2 1.5 Iris-versicolor 3.1 4.9 1.5 Iris-versicolor 4.0 1.3 Iris-versicolor 2.8 4.6 1.5 Iris-versicolor 1.3 Iris-versicolor 1.6 Iris-versicolor 1.0 Iris-versicolor 1.3 Iris-versicolor 1.4 Iris-versicolor 1.0 Iris-versicolor 1.5 Iris-versicolor 4.0 1.0 Iris-versicolor 2.9 4.7 1.4 Iris-versicolor 1.3 Iris-versicolor 4.4 1.4 Iris-versicolor 1.5 Iris-versicolor 1.0 Iris-versicolor 1.5 Iris-versicolor 1.1 Iris-versicolor 1.8 Iris-versicolor 1.3 Iris-versicolor 1.5 Iris-versicolor 1.2 Iris-versicolor 1.3 Iris-versicolor 1.4 Iris-versicolor 1.4 Iris-versicolor 1.7 Iris-versicolor 1.5 Iris-versicolor 3.5 1.0 Iris-versicolor 1.1 Iris-versicolor 1.0 Iris-versicolor 3.8 3.0 3.8 3.7 4.5 2.3 28 4.5 3.3 2.9 3.6 4.5 3.8 2.7 3.0 4.5 3.4 4.5 4.7 88 2.3 4.4 4.1 4.0 99 3.0 2.8 100 101 102 103 3.3 6.0 2.7 105 107 108 109 110 111 112 113 114 115 116 117 118 119 120 OOONNO CONCO 1.2 Iris-versicolor 1.6 Iris-versicolor 1.5 Iris-versicolor 1.6 Iris-versicolor 1.5 Iris-versicolor 1.3 Iris-versicolor 1.3 Iris-versicolor 1.3 Iris-versicolor 1.2 Iris-versicolor 1.4 Iris-versicolor 1.2 Iris-versicolor 1.0 Iris-versicolor 1.3 Iris-versicolor 1.2 Iris-versicolor 1.3 Iris-versicolor 1.3 Iris-versicolor 1.1 Iris-versicolor 1.3 Iris-versicolor 2.5 Iris-virginica 1.9 Iris-virginica 2.1 Iris-virginica 1.8 Iris-virginica 2.2 Iris-virginica 2.1 Iris-virginica 1.7 Iris-virginica 1.8 Iris-virginica 1.8 Iris-virginica 2.5 Iris-virginica 2.0 Iris-virginica 1.9 Iris-virginica 2.1 Iris-virginica 2.0 Iris-virginica 2.4 Iris-virginica 2.3 Iris-virginica 1.8 Iris-virginica 2.2 Iris-virginica 2.3 Iris-virginica 1.5 Iris-virginica 2.3 Iris-virginica 2.0 Iris-virginica 2.0 Iris-virginica 1.8 Iris-virginica 2.1 Iris-virginica 1.8 Iris-virginica 1.8 Iris-virginica 1.8 Iris-virginica 2.1 Iris-virginica 1.6 Iris-virginica 1.9 Iris-virginica 2.0 Iris-virginica 2.2 Iris-virginica 1.5 Iris-virginica 1.4 Iris-virginica 2.3 Iris-virginica 2.4 Iris-virginica 1.8 Iris-virginica 1.8 Iris-virginica 2.1 Iris-virginica 2.4 Iris-virginica 2.3 Iris-virginica 1.9 Iris-virginica 2.3 Iris-virginica 2.5 Iris-virginica 2.3 Iris-virginica 1.9 Iris-virginica 2.0 Iris-virginica 2.3 Iris-virginica 1.8 Iris-virginica 123 124 125 126 127 6.4 6.0 135 136 137 138 139 140 141 142 143 144 145 146 6.5 147 148 149 150 6.2 5.9 Load Iris data using the file Iris.csv". The data set consists of 50 samples from each of three species of Iris (Iris setosa, Iris virginica and Iris versicolor). Four features were measured from each sample: the length and the width of the sepals and petals, in centimeters. 1) Make histograms for four features and three species. Plot the 12 (4x3) subfigures in one figure with titles for each subfigure. Observe the distribution. 2) Make box plots for three samples/species of one specific features. Plot 4 subfigures (4 features correspondingly, 4x1) in one figure with titles and axis labels. 5.1 1.4 1.3 3.1 2.9 3.7 3.4 4.8 1.1 4.0 3.9 5.1 . 1.7 3.7 3.6 3.4 3.0 3.4 1.5 3.4 3.2 3.1 SepalLengt SepalWidth PetalLengti PetalWidth Species 3.5 1.4 0.2 Iris-setosa 4.9 3.0 0.2 Iris-setosa 4.7 3.2 0.2 Iris-setosa 4.6 1.5 0.2 Iris-setosa 0.2 Iris-setosa 0.4 Iris-setosa 0.3 Iris-setosa 0.2 Iris-setosa 0.2 Iris-setosa 0.1 Iris-setosa 0.2 Iris-setosa 0.2 Iris-setosa 3.0 0.1 Iris-setosa 3.0 0.1 Iris-setosa 1.2 0.2 Iris-setosa 4.4 1.5 0.4 Iris-setosa 5.4 1.3 0.4 Iris-setosa 3.5 1.4 0.3 Iris-setosa 3.8 0.3 Iris-setosa 0.3 Iris-setosa 3.4 0.2 Iris-setosa 0.4 Iris-setosa 0.2 Iris-setosa 0.5 Iris-setosa 0.2 Iris-setosa 0.2 Iris-setosa 0.4 Iris-setosa 3.5 0.2 Iris-setosa 1.4 0.2 Iris-setosa 0.2 Iris-setosa 0.2 Iris-setosa 0.4 Iris-setosa 0.1 Iris-setosa 0.2 Iris-setosa 0.1 Iris-setosa 0.2 Iris-setosa 3.5 0.2 Iris-setosa 0.1 Iris-setosa 3.0 0.2 Iris-setosa 3.4 0.2 Iris-setosa 3.5 0.3 Iris-setosa 2.3 0.3 Iris-setosa 3.2 0.2 Iris-setosa 3.5 0.6 Iris-setosa 0.4 Iris-setosa 0.3 Iris-setosa 0.2 Iris-setosa 3.2 0.2 Iris-setosa 0.2 Iris-setosa 3.3 0.2 Iris-setosa 3.2 4.7 1.4 Iris-versicolor 3.2 1.5 Iris-versicolor 3.1 4.9 1.5 Iris-versicolor 4.0 1.3 Iris-versicolor 2.8 4.6 1.5 Iris-versicolor 1.3 Iris-versicolor 1.6 Iris-versicolor 1.0 Iris-versicolor 1.3 Iris-versicolor 1.4 Iris-versicolor 1.0 Iris-versicolor 1.5 Iris-versicolor 4.0 1.0 Iris-versicolor 2.9 4.7 1.4 Iris-versicolor 1.3 Iris-versicolor 4.4 1.4 Iris-versicolor 1.5 Iris-versicolor 1.0 Iris-versicolor 1.5 Iris-versicolor 1.1 Iris-versicolor 1.8 Iris-versicolor 1.3 Iris-versicolor 1.5 Iris-versicolor 1.2 Iris-versicolor 1.3 Iris-versicolor 1.4 Iris-versicolor 1.4 Iris-versicolor 1.7 Iris-versicolor 1.5 Iris-versicolor 3.5 1.0 Iris-versicolor 1.1 Iris-versicolor 1.0 Iris-versicolor 3.8 3.0 3.8 3.7 4.5 2.3 28 4.5 3.3 2.9 3.6 4.5 3.8 2.7 3.0 4.5 3.4 4.5 4.7 88 2.3 4.4 4.1 4.0 99 3.0 2.8 100 101 102 103 3.3 6.0 2.7 105 107 108 109 110 111 112 113 114 115 116 117 118 119 120 OOONNO CONCO 1.2 Iris-versicolor 1.6 Iris-versicolor 1.5 Iris-versicolor 1.6 Iris-versicolor 1.5 Iris-versicolor 1.3 Iris-versicolor 1.3 Iris-versicolor 1.3 Iris-versicolor 1.2 Iris-versicolor 1.4 Iris-versicolor 1.2 Iris-versicolor 1.0 Iris-versicolor 1.3 Iris-versicolor 1.2 Iris-versicolor 1.3 Iris-versicolor 1.3 Iris-versicolor 1.1 Iris-versicolor 1.3 Iris-versicolor 2.5 Iris-virginica 1.9 Iris-virginica 2.1 Iris-virginica 1.8 Iris-virginica 2.2 Iris-virginica 2.1 Iris-virginica 1.7 Iris-virginica 1.8 Iris-virginica 1.8 Iris-virginica 2.5 Iris-virginica 2.0 Iris-virginica 1.9 Iris-virginica 2.1 Iris-virginica 2.0 Iris-virginica 2.4 Iris-virginica 2.3 Iris-virginica 1.8 Iris-virginica 2.2 Iris-virginica 2.3 Iris-virginica 1.5 Iris-virginica 2.3 Iris-virginica 2.0 Iris-virginica 2.0 Iris-virginica 1.8 Iris-virginica 2.1 Iris-virginica 1.8 Iris-virginica 1.8 Iris-virginica 1.8 Iris-virginica 2.1 Iris-virginica 1.6 Iris-virginica 1.9 Iris-virginica 2.0 Iris-virginica 2.2 Iris-virginica 1.5 Iris-virginica 1.4 Iris-virginica 2.3 Iris-virginica 2.4 Iris-virginica 1.8 Iris-virginica 1.8 Iris-virginica 2.1 Iris-virginica 2.4 Iris-virginica 2.3 Iris-virginica 1.9 Iris-virginica 2.3 Iris-virginica 2.5 Iris-virginica 2.3 Iris-virginica 1.9 Iris-virginica 2.0 Iris-virginica 2.3 Iris-virginica 1.8 Iris-virginica 123 124 125 126 127 6.4 6.0 135 136 137 138 139 140 141 142 143 144 145 146 6.5 147 148 149 150 6.2 5.9
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started