Package snobfit :: Package tests :: Module test_Sigma

Module test_Sigma

source code

Unit tests for Snobfit for data with noise Author: Ziwen Fu Nov 2007
Classes
  test_Sigma_Case1
  test_Sigma_Case2
Test case for a simple constrained entropy maximization problem (the machine translation example of Berger et al in Computational Linguistics, vol 22, num 1, pp 39--72, 1996.)
  test_Sigma_Case3
Test case for a simple constrained entropy maximization problem (the machine translation example of Berger et al in Computational Linguistics, vol 22, num 1, pp 39--72, 1996.)
Functions
 
ros(x) source code
 
bra(x) source code
 
cam(x) source code
 
gpr(x, y=None) source code
 
sh5(x) source code
 
sh7(x) source code
 
sh10(x) source code
 
hm3(x) source code
 
hm6(x) source code
 
shu(x) source code
Variables
  rtol = 0.01