R/PiSolveKstar.R

PiSolveKstar <-
function (Kstar, vec, con, ridge) 
{
    al <- c(con, vec)
    if (ridge > 0) 
        Kstar <-  Kstar + diag(length(al)) * ridge
    solve(Kstar, al)

}

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.