Oil Price
Oil Price
Team Members
Pranjali Jeevan Rachchawar
Vikram Reddy S
Rajesh HM
Data Collection
Data Preparation
Exploratory Data
Analytics
Model Building
Model Evaluation
Model Deployment
Business Objective:
predicting crude oil prices serves a range of business objectives,
from risk management and decision
making to investment strategies and market insights.
The specific objective will depend on the
industry, sector, and goals of the organization using the predictions.
Data Collection
‘yfinance’ is a Python library that provides a
convenient way to fetch historical stock and financial
Data from Yahoo Finance. To collect data using ’yfinance’,
follow these steps:
2. Plot histogram graphical representation of data points organized into user specified ranges
3. Plot distplot which shows price data distribution.
4. Plot distplot which depicts the variation in the data distribution.
5. Plot histogram with only kernel density distribution.
6. BoxPlot to detect outlier in yearwise data.
7. LinePlot – give basic understanding of data.
8. ACF and PACF Plot.
• Check if data is stationary or not.
• Convert stationary using difference transformation.
• Convert stationary using log transformation.
Model Building:
LSTM Model:
ARIMA Model:
Holt-Winters Model:
Holts/double exponential method:
Prophet:
From the above table we get low RMSE value for SVR model but we are
not going to use this model because the relationship between oil prices
and influencing factors (like geopolitical events, economic indicators,
etc.) can be highly complex and may require more sophisticated models
to capture intricate patterns. SVR may not scale well with large datasets
due to its computational complexity, especially when dealing with a high
number of data points or features. SVR may struggle to capture complex
seasonal and trend patterns that are commonly present in time series
data.SO we are going to use LSTM model for our model deployment.
Deployment: