Predict Outcomes with Regression Functions in JavaScript

Share this video with your friends

Send Tweet

Regression involves analyzing multiple sources of data and predicting a response based off the results of the data. It takes using the k-nearest neighbors algorithm to the next level by choosing a N number of closest neighbors and taking the average between them. Let’s write a function that tries to predict how many pies our restaurant should make today!

Ionut Cirja
Ionut Cirja
~ 6 years ago

Lovely! We want more!!!

William Pei Yuan
William Pei Yuan
~ 5 years ago

🤯