Skip to content

generateHparams

Generate Hparams.

Write the generated pandas.DataFrame to output file OUT in json format.

Given \(N\), \(c_{\text{start}}\), \(c_{\text{range}}\), \(k\); (\(k\) as in \(k\)-fold cross validation)
Generate a csv file with \(N\) records and header: ID,C,k
such that \(C = 10^{c_{10}}; c_{10} = c_{\text{start}} + c_{\text{range}} \cdot u; u\sim\mathcal{U}(0,1)\)
and ID is a 4-char long random hex.

In order to adapt this, modify the click command, arguments and options.

Usage:

generateHparams [OPTIONS] OUT N CSTART CRANGE K

Options:

  --help  Show this message and exit.