Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding cross validation for point forecast #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

PedroArthurLeite
Copy link
Contributor

No description provided.

@PedroArthurLeite
Copy link
Contributor Author

still missing formal tests
passed on in-script tests

@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #24 into master will decrease coverage by 4.62%.
The diff coverage is 12.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   92.48%   87.85%   -4.63%     
==========================================
  Files           6        6              
  Lines         266      280      +14     
==========================================
  Hits          246      246              
- Misses         20       34      +14     
Impacted Files Coverage Δ
src/TimeSeriesInterface.jl 100.00% <ø> (ø)
src/forecast.jl 88.42% <12.50%> (-11.58%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18e7c98...e1f1751. Read the comment docs.

function cross_validation(fit_input::FitInput{T},
fit_function::Function,
predict_function::Function,
metric_function::Function,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should use this function forecast_metrics

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and then make another function to aggregate the vector of metrics, maybe then add this metric function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants