.. _`Randomized Parameter Search`: .. _`org.sysess.sympathy.machinelearning.randomized_parsearch`: Randomized Parameter Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. image:: random_hyperparam.svg :width: 48 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 :Inputs: **in-model** : model in-model **parameter space** : table param-space **X** : table X **Y** : table Y **cross-validation** : [(table,table)] cross-validation :Outputs: **results** : table results **parameters** : table parameters **out-model** : model out-model *Ports*: **Inputs**: :in-model: model in-model :parameter space: table param-space :X: table X :Y: table Y :cross-validation: [(table,table)] cross-validation **Outputs**: :results: table results :parameters: table parameters :out-model: model out-model *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 .. automodule:: node_paramsearch .. class:: ParameterSearch_Randomized