Randomized Parameter Search

../../../../_images/random_hyperparam.svg

Performs a randomized parameter search returning scores and best model found. Uses table as a “hypercube” of parameters to sample from. Ie. all combinations of parameters from all columns have equal chance of beeing sampled. Use masked values for parameter/columns with different lengths.

Configuration:

  • cv

    Number of fold in the default K-Fold cross validation. Ignored when cross-validation port is given

  • n_iter

    Number of randomized searches done

Input ports:
in-model : model
in-model
parameter space : table
param-space
X : table
X
Y : table
Y
cross-validation : [(table,table)]
cross-validation
Output ports:
results : table
results
parameters : table
parameters
out-model : model
out-model
Cross validation splits (cv)
Number of fold in the default K-Fold cross validation. Ignored when cross-validation port is given
iterations (n_iter)
Number of randomized searches done
class node_paramsearch.ParameterSearch_Randomized[source]