AxisSetTraverser

AxisSetTraverser

Manages an AxisSet. Performs the selection of hyperparameter values during the grid search.

Constructor

new AxisSetTraverser(_axisSet)

Creates an instance of AxisSetTraverser.
Parameters:
Name Type Description
_axisSet AxisSet The collection of Axis that define the grid (parameter space) to be searched. Each axis is associated with one hyperparameter.
Source:

Methods

Advance()

Iterates the grid. Called after each 'cell' (i.e. unique combination of hyperparameters) is trained and tested. Once all axes are complete, we mark ourselves as traversed (or done).
Source:

CreateIterationParams() → {StringKeyedNumbersObject}

Produces a simple key: value mapping of the axes current positions, keyed by their names.
Returns:
Type
StringKeyedNumbersObject
Source:

ExamineAxisNames(callback)

Traverses the axis set, invoking a callback with the name of each axis.
Parameters:
Name Type Description
callback function The function to be invoked.
Source:

LookupIterationDescriptor(index) → {string}

Gets the descriptor for a requested axis. We build these simple strings in the constructor.
Parameters:
Name Type Description
index number The axis to be described.
Returns:
Type
string
Source:

WriteReport(compact) → {string}

Gets a combined report of every axis' status.
Parameters:
Name Type Description
compact boolean Whether to get a detailed report.
Returns:
Type
string
Source: