HuwCampbell / grenade

Deep Learning in Haskell
BSD 2-Clause "Simplified" License
1.45k stars 84 forks source link

Added JSON instance for LearningParameters #58

Closed CSVdB closed 6 years ago

CSVdB commented 6 years ago

In order to test whether the JSON instance is correctly implemented I added the InstanceSpec.hs file and used genvalidity-hspec.

CSVdB commented 6 years ago

The reason travis fails is because it cannot deal with the dependencies of genvalidity-hspec. This package will be updated soon, and once it is, I will update the genvalidity-hspec version here, so travis can run the checks. All tests did pass though.