Add files
This commit is contained in:
commit
77bde04db3
97 changed files with 10327 additions and 0 deletions
5
src/helper/exponential-decay.ts
Normal file
5
src/helper/exponential-decay.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export const exponentialDecay = (
|
||||
accumulator: number,
|
||||
nextValue: number,
|
||||
biasOfNextValue: number
|
||||
) => accumulator * (1 - biasOfNextValue) + nextValue * biasOfNextValue;
|
||||
Loading…
Add table
Add a link
Reference in a new issue