Upgrade the Learner

Prepare data by adding more dimensions and upgrading the algorithm according to the updated dataset.

After a mathematical detour, we can return to work at hand. We want to upgrade our learning program to deal with multiple input variables. Let’s make a plan of action so that we do not get lost in the process:

  1. First, we’ll load and prepare the multidimensional data, to feed them to the learning algorithm.
  2. After preparing the data, we’ll upgrade all the functions in our code to use the new model. We’ll switch from a line to a more generic weighted sum, as mentioned in Adding More Dimensions.

Prepare data

ML is all about building amazing AIs. The reality is that a large part of the job is preparing data for the learning algorithm. To do that, let’s start from the file that contains our dataset:

Get hands-on with 1200+ tech skills courses.