R/print.svmpath.R

Defines functions print.svmpath

Documented in print.svmpath

print.svmpath<-function(x,digits=6,maxsteps=length(x$Step),...){
  for( i in seq(maxsteps)){
    step<-x$Step[i]
    stats<-list(selbow=x$Size.Elbow[step],error=x$Error[step],margin=x$SumEps[step])
PrintPath(TRUE,x$Step[i],x$Obs.step[i],x$Moveto[i],x$Movefrom[i],x$lambda[step],digits,stats)
  }
  invisible()
}
  

Try the svmpath package in your browser

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

svmpath documentation built on July 14, 2020, 5:06 p.m.