-
Notifications
You must be signed in to change notification settings - Fork 21
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
Updates to scoringutils 1.0.0 #203
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e4ecb83
upfate paper and readme
nikosbosse 1fb4bc5
Rename the metrics_summary data to metrics in the package
nikosbosse 864e585
clean tables with the summary of metrics and metrics vignette
nikosbosse 940a3f3
update manuscript, create script to generate all figures
nikosbosse 32cdfb1
update simulation data for the manuscript
nikosbosse 2e8b942
remove big files and bfg reports from git history
nikosbosse f5c7383
update pairwise comparisons to give the same result with and without …
nikosbosse 50b3fab
update example for calibration
nikosbosse 4f19548
clean package documentation
nikosbosse acf53d7
debug support for pairwise comparisons when point forecasts are present
nikosbosse 0c9a3ef
update documentation for the `metrics` argument in the function score()
nikosbosse 4af153e
Add point forecast example data
nikosbosse 4083b05
update vignette with point forecasts
nikosbosse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,2 @@ | ||
#' @title scoringutils | ||
#' | ||
#' @description | ||
#' This package is designed to help with assessing the quality of predictions. | ||
#' It provides a collection of proper scoring rules and metrics as well that | ||
#' can be accessed independently or collectively through a higher-level wrapper | ||
#' function. | ||
#' | ||
#' Predictions can be either probabilistic forecasts (generally predictive | ||
#' samples generated by Markov Chain Monte Carlo procedures), quantile | ||
#' forecasts or point forecasts. The true values can be either continuous, | ||
#' integer, or binary. | ||
#' | ||
#' A collection of different metrics and scoring rules can be accessed through | ||
#' the function [score()]. Given a data.frame of the | ||
#' correct form the function will automatically figure out the type of | ||
#' prediction and true values and return appropriate scoring metrics. | ||
#' | ||
#' The package also has a lot of default visualisation based on the output | ||
#' created by [score()]. | ||
#' | ||
#' - [plot_score_table()] | ||
#' - [plot_correlation()] | ||
#' - [plot_wis()] | ||
#' - [plot_ranges()] | ||
#' - [plot_heatmap()] | ||
#' - [plot_predictions()] | ||
#' - [plot_interval_coverage()] | ||
#' - [plot_quantile_coverage()] | ||
#' | ||
#' Alternatively, the following functions can be accessed directly: | ||
#' | ||
#' - [brier_score()] | ||
#' - [pit()] | ||
#' - [bias_sample()] | ||
#' - [bias_quantile()] | ||
#' - [bias_range()] | ||
#' - [mad_sample()] | ||
#' - [crps_sample()] | ||
#' - [logs_sample()] | ||
#' - [dss_sample()] | ||
#' - [ae_median_sample()] | ||
#' | ||
#' Predictions can be evaluated in a lot of different formats. If you want to | ||
#' convert from one format to the other, the following helper functions can | ||
#' do that for you: | ||
#' | ||
#' - [sample_to_quantile()] | ||
#' | ||
#' @docType package | ||
#' @name scoringutils | ||
|
||
NULL | ||
#' @keywords internal | ||
"_PACKAGE" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you caved on the custom package file 😱 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you love to see it.