| 85 | |
| 86 | /** Function that computes a penalty cost for a given weight in the network. */ |
| 87 | export interface RegularizationFunction { |
| 88 | output: (weight: number) => number; |
| 89 | der: (weight: number) => number; |
| 90 | } |
| 91 | |
| 92 | /** Built-in error functions */ |
| 93 | export class Errors { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…