quinngroup / dr1dl-pyspark

Dictionary Learning in PySpark
Apache License 2.0
1 stars 1 forks source link

Compare output from C++ and Python versions #15

Closed magsol closed 8 years ago

magsol commented 8 years ago

Results should be identical (within a tolerance threshold).

Quick Python script to parse and compare the two outputs.

http://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.testing.assert_approx_equal.html#numpy.testing.assert_approx_equal

magsol commented 8 years ago

Any progress on this? We can incorporate this into the unit testing.