minimize(X, f, .length, covfunc, x, y)X .f is a string value containing the function name which is supposed to apply minimize on it..length defines how long minimize procedure must be executed.f.f.f.X, a vector of function values fX indicating the progress made and i the number of iterations.loghyper= array(c(-1,-1,-1), dim=c(3,1))
covfunc ="covSum,covSEiso,covNoise"
x= array(c(1,1,0,0), dim=c(2,2))
y= array(c(1,0), dim=c(2,1))
loghyper = minimize(loghyper, 'gpr', 10, covfunc, x, y)
loghyperRun the code above in your browser using DataLab