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 1 in Machine Learning by Harsh

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.


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

Related Questions In Machine Learning

0 votes
1 answer
0 votes
0 answers

What is semi-supervised machine learning?

What is semi-supervised machine learning? READ MORE

May 8 in Machine Learning by Ganesh
0 votes
1 answer

What is clustering in Machine Learning?

Clustering is a type of unsupervised learning ...READ MORE

answered May 9 in Machine Learning by Shridhar
0 votes
1 answer

Process for mechanical engineer to become machine learning Engineer?

Hey! There are two main languages that ...READ MORE

answered Aug 20 in Machine Learning by Vishal
+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 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 399 views
0 votes
1 answer
0 votes
1 answer