MCPcopy
hub / github.com/BrainJS/brain.js / INeuralNetworkTrainingOptions

Interface INeuralNetworkTrainingOptions

index.d.ts:10–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8export type NeuralNetworkActivation = 'sigmoid' | 'relu' | 'leaky-relu' | 'tanh';
9
10export interface INeuralNetworkTrainingOptions {
11 iterations?: number;
12 errorThresh?: number;
13 log?: boolean | INeuralNetworkTrainingCallback;
14 logPeriod?: number;
15 learningRate?: number;
16 momentum?: number;
17 callback?: INeuralNetworkTrainingCallback | number;
18 callbackPeriod?: number;
19 timeout?: number;
20}
21
22export interface INeuralNetworkTrainingCallback {
23 (state: INeuralNetworkState): void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected