node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

ml-util

ml-util

Machine Learning Utility Functions

fmincg - Function minimization using conjugate gradient - ported to JavaScript from Octave

sigmoid - Activation function

randnBoxMuller - Standard Normal variate using Box-Muller transform

randomPermutation - returns an array of random permutation efficiently (O(n))