tensorflow / skflow

Simplified interface for TensorFlow (mimicking Scikit Learn) for Deep Learning
Apache License 2.0
3.18k stars 439 forks source link

scaler fitted to the training set only, then applied to test set #78

Closed nicolasfauchereau closed 8 years ago

nicolasfauchereau commented 8 years ago

Modified the boston.py example so that the standard scaler is fitted over the training set, not the whole dataset, and then applied to the test set. The MSE is improved to ~ 18.

googlebot commented 8 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


nicolasfauchereau commented 8 years ago

I signed the cla !

googlebot commented 8 years ago

CLAs look good, thanks!

terrytangyuan commented 8 years ago

Thanks!