SPIDER The Spider Objects

PARAM object

   A=PARAM(I,N,P,H) returns a param object which
    enumerates the possible values P of hyperparameter N of algorithm I
    and with (hyper)parameters H.
   This is used to create a set of algorithms with different hyperparameters
    e.g k-NN for different values of k.
   Example:  f=param(knn,'k',[1:2:10]); [r,a]=train(cv(f),generate(toy));
   Can also be used to enumerate multiple parameters by specifying N
   and P as cell arrays, e.g:
    train(param(svm(kernel('poly',2)),{'C','kerparam'},{[1 100],[1 2 3]} ),toy)