errors - Definitions for all point-wise error functions.

The file yann.core.errors.py contains the definition for all the point-wise error functions available.

yann.core.errors.cross_entropy(a, b)[source]

This function produces a point-wise cross entropy error between a and b

Parameters:
  • a – first input
  • b – second input
Returns:

Computational graph with the error.

Return type:

theano shared variable

yann.core.errors.l1(a, b)[source]

This function produces a point-wise L1 error between a and b

Parameters:
  • a – first input
  • b – second input
Returns:

Computational graph with the error.

Return type:

theano shared variable

yann.core.errors.rmse(a, b)[source]

This function produces a point-wise root mean squared error error between a and b

Parameters:
  • a – first input
  • b – second input
Returns:

Computational graph with the error.

Return type:

theano shared variable