microsoft / finnts

Microsoft Finance Time Series Forecasting Framework (FinnTS) is a forecasting package that utilizes cutting-edge time series forecasting and parallelization on the cloud to produce accurate forecasts for financial data.
https://microsoft.github.io/finnts
Other
190 stars 34 forks source link

Add conformal prediction implementation #166

Open wesstone12 opened 2 months ago

wesstone12 commented 2 months ago

Replace old prediction interval function create_prediction_intervals() in final_models.R with conformal prediction implementation that uses rolling windows based upon different horizons. Also adds coverage % columns in final outputs for user to add transparency of prediction intervals.

Can view some experiments here: https://github.com/wesstone12/finnts/tree/rollling-window-v3/logs Some basic plots: https://github.com/wesstone12/finnts/tree/rollling-window-v3/plots https://github.com/wesstone12/finnts/tree/rollling-window-v3 also has sandbox.R in main directory to get up and running quick.

Things to look into:

wesstone12 commented 2 months ago

@wesstone12 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"