aboutsummaryrefslogtreecommitdiff
path: root/man/gensvm.accuracy.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/gensvm.accuracy.Rd')
-rw-r--r--man/gensvm.accuracy.Rd7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/gensvm.accuracy.Rd b/man/gensvm.accuracy.Rd
index 9463fa5..25b8fb7 100644
--- a/man/gensvm.accuracy.Rd
+++ b/man/gensvm.accuracy.Rd
@@ -11,6 +11,13 @@ gensvm.accuracy(y.true, y.pred)
\item{y.pred}{vector of predicted labels}
}
+\value{
+The accuracy as a value in the range [0.0, 1.0]
+}
+\description{
+Compute the accuracy score between the true labels and the
+predicted labels.
+}
\examples{
x <- iris[, -5]
y <- iris[, 5]