Closed drujensen closed 6 years ago
@drujensen This looks fine, can you add a small spec to check the data gets de-normalized correctly?
Also I believe we just broke your PR, can you fix conflicts ?
@bararchy I added the tests and cleaned up some of the initialization of the new CNNData that inherits from the Data. I removed the extraneous initializers and called super
to call the parent initializer.
@ArtLinkov It looks great to me, take a look and let me know if were OK to merge here
@drujensen Looks great, thanks :)
This PR adds several new methods to help
normalize
anddenormalize
the input and output. In order to use a trained model that requires normalization, you need to provide the module normalized inputs. Also, the output will be normalized, so you need to denormalize it to get a proper prediction: