Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Tasks to be Done: Using airline - passenger Dataset try to predict the number of passengers for next month,given the number of passengers ( in
Tasks to be Done:
Using airlinepassenger Dataset try to predict the number of passengers for next month,given the
number of passengers in units of thousands for this month
A You can write a simple function to convert our single column of data into a twocolumn
dataset:
a The first column containing this months t passenger count and the second
column containing next months t passenger count, to be predicted.
b Divide the data into train and test set
c Fit an LSTM model on top of the data where the optimizer adam and epoch
d Build another model where optimizer sgd and epoch
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started