GridOptions

GridOptions

The config of a grid search. Takes all settings that are not hyperparameters or parts of a network model, all of them optional.

Constructor

new GridOptions(userOptions)

Creates an instance of GridOptions.
Example
new tngs.GridOptions({
  epochStatsDepth: 10,         // Length of the trailing average; default 5
  repetitions: 3,              // Number of times to repeat each iteration of the grid; default 1
  resultsDirectory: ''         // Directory in which results files are written; default './' (current directory)
  validationSetSizeMin: 50,    // Fewer than x validation cases triggers a warning; default 100
  writeResultsAsCSV: true      // Whether to output results as a CSV file; default true
});
Parameters:
Name Type Description
userOptions Types.StringKeyedSimpleObject
Source:

Methods

GetOption(key) → {string|number|boolean|undefined}

Returns the value for a setting key, or undefined, if none was supplied to the constructor.
Parameters:
Name Type Description
key string
Returns:
Type
string | number | boolean | undefined
Source: