Skip to content

This is the first project I am currently working on to practice some machine learning in PyTorch

Notifications You must be signed in to change notification settings

AxisMeetsWorld/Interest_Prediction_Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Interest_Prediction model

This initially was the first project I worked on to practice some machine learning in PyTorch taking data that influences inflation and then attempting to see, given appropriate time lags if we can predict when it might spike. ⚫ 🔴 🟢 After going in circles, and realizing this data wasn't really meant for deep learning as opposed to machine learning it was decided to use Numpy regression analysis for this model building study. The restructured file is the one with the appropriate outputs. However if any contributor had ideas to make this work with neural networks, that would be welcome! 🟢 🔴 ⚫

Here are the inputs:

  • Data gathered from the Federal Reserve Bank of St. Luis here
  • Data gathered from BEA on Gross Domestic Product here
  • Data on JSTJOL or the number of jobs not filled by the end of a month again from the Federal Reserve Bank of St. Louis here
  • Finally, the consumer price index from the Bureau of Labor and statistics here
    • It is worth noting that some of these metrics were decided upon after reading articles such as this one

💵 💶 💴 💷 💰 💸

So, how does all of this come together when using regression and machine learning?

For now, take a look at the code and write up, and there will be more here to emphasise the different techniques used in the process, but this process is open to further development (in the case there is a way to introduce neural network programming). A few notes on this:

  • This was not a traditional use of PyTorch programming as it generally is aimed at breaking down image data, auditory data, or text. Due to this the project was modified to use more of a Numpy/Scikit Learn approach but there are a few PyTorch tensors left in case a similar study would lend itself to deep learning. Again see the "restructured" file.
  • The data was tested for lag times, and used polynomial regression fitting to perform regression analysis.
  • After accounting for lag times and curve fitting, the input columns went through a multi-variate regression analysis. The correct file is the Interest_Project_restructured, while the preliminary attempt was just named Interest_Project.

A quick side note: there are some interesting reports addressing that some of the inflationary data is from corporate profits that are in excess of what market conditions would dictate further increasing inflation. It might be worth further study to read this article and compare with the machine learning done here.

About

This is the first project I am currently working on to practice some machine learning in PyTorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published