AI Track is back! A Multiple Linear Regression Algorithm To Rule Them All – Part 3 – Another Data Set

Git Code

In this post, I will run another data set using the implementation I did of Dr. Brannick’s example (reference #1).

This data set (references #2, #3 & #4) is a two parameter (fat and sugar) linear progression calculation to give a cereal’s rating. I created a data set of the same structure and was able to plug it in to my implementation of Dr. Brannick’s example and the results were comparable.  The first test set element result matched and the second was close (ish).  My two predictions are reasonable.

  • Running

Screen Shot 2018-02-19 at 5.06.57 PM

  • Results

Screen Shot 2018-02-19 at 5.07.11 PM

  • Results comparison

Screen Shot 2018-02-19 at 5.09.00 PM

The next post will be to take the 3 parameter calculation (reference #2) and see if I can get close with minor modifications to the existing algorithm.

Stay tuned!



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s