R/Error.rate.r

Defines functions Error.rate

Documented in Error.rate

Error.rate = function(Fit, Y){
   if(is.vector(Y)) N <- length(Y)
   else N <- nrow(Y)
   Error = sum(Fit != Y) / N
   return(Error)
}

Try the wSVM package in your browser

Any scripts or data that you put into this service are public.

wSVM documentation built on May 2, 2019, 12:24 p.m.