-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Explicit `NA`-handling 🛠️ (#10) * [UPDATE] `accuracy()`-function * The `accuracy()`-function now handles missings values according to na.rm * The `accuracy()`-function uses `std::vector` to offset the loss in speed from missing values checking * Updated tools; the modifyRcppExports is now more dynamic and uses regex instead of hardcoded functions. NOTE: All checks passed locally. * [UPDATE] `zerooneloss()`-function 🚀 * The `zerooneloss()`-function now accepts the argument `na.rm` * Internal optimaztion of the function to make it faster * [DOCUMENTATION] Updated NEWS 📚 * The NEWS have been updated to reflect the new changes. * [UPDATE] `RMSE()`- `RMSLE()`- and `huberloss()` 🚀 * All functions now has an argument `na.rm` to explicitly handle missing values. * Migrated to std::vector instead of NumericVector * Fixed a small bug in `accuracy.Rd` * [UPDATE] Unit-tests and NA-handlings 🔥 * Unit-tests: The unit-tests now tests if misssing values are being handled according to the `na.rm`-argument * NA-handling in functions: `rsq()`-, `ccc()`-, `mae()`-, `mape()`-, `mse()`-, `pinball()`-, `rae()`-, `rmse()`-, `rrmse()`- and `smape()`-functions now all uses `std::vector` instead of `NumericVector`, and has explicit NA-handling. All tests passed locally. * [VERSION-BUMP] 0.1-0 ---> 0.1-1 🪜 > [!NOTE] > > Checks fail on PR for OSX. But all else passes. * [BUG-FIX] `plot()`-method for `ROC()` and `prROC()` 🔨 (#11) * The plots are now correctly displaying lines when `panels = FALSE` * NEWS.md updated accordingly.
- Loading branch information
Showing
75 changed files
with
1,570 additions
and
1,240 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,8 +49,8 @@ po/*~ | |
rsconnect/ | ||
.Rproj.user | ||
|
||
# playground | ||
playground/ | ||
# sandbox | ||
sandbox/ | ||
docs | ||
inst/doc | ||
|
||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.