Time series analysis - Machine learning python

0 votes
Can I know when time series analysis is used? Also can you give an example problem statement with steps on how to solve it?
Aug 2, 2019 in Machine Learning by Harsh
2,898 views

1 answer to this question.

0 votes

With machine learning and analysis, its always analyzing the data and finding out the statistics. Time series analysis is used when you need to analyze and bring out statistics and predictions using machine learning. Time series are widely used for non-stationary data, like economic, weather, stock price, and retail sales.

Follow these steps:

Select a dataset

Organize and process the data

Plot the values and visualize it

observe the kind of distribution. There are three types of distributions - Trends, Seasonal, noise

Select the best model accordingly. One of the best methods or best algorithms of all times is ARIMA(Autoregressive Integrated Moving Average)

Get the optimal set of parameters that gives the yields the best performance for the selected model.

Finally, fit the ARIMA model using the .fit() and start predicting.

example:

mod = sm.tsa.statespace.SARIMAX(y,
                                order=(1, 1, 1),
                                seasonal_order=(1, 1, 0, 12),
                                enforce_stationarity=False,
                                enforce_invertibility=False)results = mod.fit()print(results.summary().tables[1])

Hope this will help.

If you need to know more, Its recommended to go for Machine Learning with Python course today.

Thank you!

answered Aug 2, 2019 by Vinod

Related Questions In Machine Learning

0 votes
1 answer

Real-time applications of machine learning on an industrial level

Traffic Alerts (Maps) Now, Google Maps is probably THE app we use ...READ MORE

answered Nov 21, 2019 in Machine Learning by Kisley
771 views
0 votes
1 answer
0 votes
1 answer

Python Machine Learning/Data Science Project Structure

In response to your question regarding reusing ...READ MORE

answered Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
1,494 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,342 views
0 votes
1 answer
0 votes
1 answer

Real world applications of Machine Learning

Few real-world applications of machine learning are  Have ...READ MORE

answered May 10, 2019 in Machine Learning by Jinu
781 views
0 votes
1 answer

What is the process involved in machine Learning?

Discussing this on a high level, these ...READ MORE

answered May 10, 2019 in Machine Learning by Rhea
1,459 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP