R/SetToIndex.R

"SetToIndex" <- 
function(n, Elbow, Left){
   set.id <- rep(1,n)
   set.id[Elbow] <- 0
   set.id[Left] <- -1
set.id
}

Try the probsvm package in your browser

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

probsvm documentation built on May 1, 2019, 10:56 p.m.