-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#' Calculating classification errors and other prediction indicators | ||
#' | ||
#' \code{classificatonErrors} function was misspelled (sorry for that!). | ||
#' Now the function has the proper name \code{classificationErrors} (with "i"). | ||
#' Old function name still works, but is deprecated now and will be removed | ||
#' in future version of the package. | ||
#' | ||
#' @param labels A vector of true labels. Shoud have following | ||
#' values: c("female", "male", "unknown", "noname"). \code{noname} stands also for | ||
#' initials only. | ||
#' @param predictions A vector of predicted gender. Shoud have following | ||
#' values: c("female", "male", NA). \code{NA} when it was not possible to predict any gender. | ||
#' | ||
|
||
#' | ||
#' | ||
#' | ||
#' @export | ||
|
||
classificatonErrors = function(labels, predictions) { | ||
|
||
.Deprecated("classificationErrors") | ||
classificationErrors(labels, predictions) | ||
|
||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.