Home Reference Source Repository

References

Function Summary

Static Public Function Summary
public

dropoutLayer(layer: Matrix, pDropout: number): Matrix

Randomly drop values from a layer.

public

norm(mu: number, sigma: number): number

Return a sample from a normal distribution.

public

randn(rows: number, cols: number): Matrix

Return a matrix, all of whose element are sampled from the standard normal distribution.

public

sigmoidPrime(z: Matrix): Matrix

Derivative of the sigmoid function.

public

vectorizedResult(j: number): Matrix

Return a 10-dimensional unit vector with a 1.0 in the j'th position and zeroes elsewhere. This is used to convert a digit (0...9) into a corresponding desired output from the neural network.