top of page
Aw Joey's Site
Always ready to learn more...
Week 4-
Using Anaconda for Charts & Machine Learning

Lab 4-2: Introduction to Machine Learning
Program 1: Analyzing the weights and heights of a group of 18 years old students

This exercise uses the graph plotted to obtain the mean, median, standard deviation of the height.
​
By calculating the alpha and beta values, the best-fit line can be drawn and we are able to make a prediction of the weight according to the height.
​
This is very useful for reliable prediction of data in the real world, with further research on the topic.
Program 2: Analyzing data from an advertising agency in a csv file

The data is extracted from a csv file and used to plot the graphs, as shown above. Afterwhich, it is used to create the regression line and predict the sales of the TV expenditure.
​
The use of csv files are very efficient as the program is normalised to fit any csv file with the same attributes.
bottom of page