Module landscape
Expand description
The custom objective (D94): a Formula on the fixed box [-5, 5]².
The module also holds the grid statistics the page, the heatmap, and the simulated training curve need, and the brush that draws valleys and hills into the formula.
Structs§
- Landscape
- A custom function, checked finite on the scan grid.
Enums§
Constants§
- DEFAULT_
FORMULA - The formula the custom function starts from: a shallow bowl with one off-centre well, written the way the brush writes its terms.
- HIGH
- Upper bound of both axes.
- LOW
- Lower bound of both axes.
- MAX_
STROKE - The most valleys or hills one stroke adds.
- SCAN
- Points per axis of the grid a landscape is checked and scanned on.
Functions§
- short
- A short decimal rendering for messages: at most four decimals.