Page 300 - AI_Ver_3.0_class_11
P. 300

Output:

























              The choice of bins is subjective and can be adjusted based on specific data and visualisation needs. You can experiment
              the above example with bins=5 or bins=10 also.


              Scatterplot
              A scatter plot or scatter chart is used to visualise the relationship between two variables in a dataset. It utilises an x-y
              coordinate system where each data point is represented by a dot. A trend line may be added to a scatter plot in some
              instances. For example:


                No. of Hours Studied   4    3.5   5    2     3   6.5   0.5  3.5  4.5    5    1   1.5    3   5.5   7
                     Percentage        82   82   90    74   40   94    51   75    86   85   62    75   70    89  95




























              The most popular data visualisation method in machine learning is the scatter plot.
              When is a scatter plot suitable?
                 • It is used to track the connections between two numeric variables. When the data is seen as a whole, the dots on the
                 plot indicate both the variable's value and any trends.







                    298     Touchpad Artificial Intelligence (Ver. 3.0)-XI
   295   296   297   298   299   300   301   302   303   304   305