| 79 | |
| 80 | /** A node's activation function and its derivative. */ |
| 81 | export interface ActivationFunction { |
| 82 | output: (input: number) => number; |
| 83 | der: (input: number) => number; |
| 84 | } |
| 85 | |
| 86 | /** Function that computes a penalty cost for a given weight in the network. */ |
| 87 | export interface RegularizationFunction { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…