Page 439 - AI_Ver_3.0_class_11
P. 439

Output:
                        First 5 rows of the dataset:
                           sepal length (cm)  sepal width (cm)  petal length (cm)  petal width (cm)  \
                        0                5.1               3.5                1.4               0.2
                        1                4.9               3.0                1.4               0.2
                        2                4.7               3.2                1.3               0.2
                        3                4.6               3.1                1.5               0.2
                        4                5.0               3.6                1.4               0.2


                          species
                        0  setosa
                        1  setosa
                        2  setosa
                        3  setosa
                        4  setosa
                        Statistics for each feature:
                        column being processed: sepal length (cm)
                          Mean:  5.843333333333334
                          Median:  5.8
                          Standard Deviation:  0.8280661279778629
                        column being processed: sepal width (cm)
                          Mean:  3.0573333333333332
                          Median:  3.0
                          Standard Deviation:  0.4358662849366982
                        column being processed: petal length (cm)
                          Mean:  3.758
                          Median:  4.35
                          Standard Deviation:  1.7652982332594664
                        column being processed: petal width (cm)
                          Mean:  1.1993333333333334
                          Median:  1.3
                          Standard Deviation:  0.7622376689603465





























                                                                                          Practical Questions   437
   434   435   436   437   438   439   440   441   442   443   444