Forecasting Data

Episode #416 by Teacher's Avatar David Kimura

Summary

In this episode, we will look at a date range of data and build predictions of what future values will be. However, we won't be reaching for any 3rd party APIs, but instead use statistical models to learn from our data to predict the future dates. We'll also display out our data on a table and plot it to a graph.
rails chart stimulusjs javascript 23:25

Chapters

  • Introduction (0:00)
  • Setting up the application (1:33)
  • Setting up the controller with the Charges (2:45)
  • Adding the Table within the view (4:19)
  • Creating the chart stimulus controller (5:40)
  • Add forecasting in the controller (10:08)
  • Adding the forecast to the table (12:43)
  • Adding the forecast to the chart (13:34)
  • Important notes about performance (18:51)
  • Important note about forecasting performance (20:26)
  • Changing the number of predictions (21:52)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams