big_deep_simple_mlp's People
Forkers
davidlgoldberg gitter-badger jeffzhengye kumarh1982 leomauro hedgefair dodermatt auserj heemokyim 321hg sandy4321big_deep_simple_mlp's Issues
setup.sh
create setup.sh
- download all files
- install infimnist
- setup ENV vars
Do not hardcode path
install sklearn 0.18dev
I would like to have a simple, native, modern MLP (in parallel to tensorflow) because it is easier to get inside the code and monitor the training, gradients, jacobian, etc.
So I tried to install sklearn 0.18 using pip and run the neural network MLP
note: can't use anaconda for local packages
sklearn 0.18dev is needed for the sklearn MLP
but it is not easy to install on the Mac OSX
http://stackoverflow.com/questions/33568244/upgrade-to-dev-version-of-scikit-learn-on-anaconda
My approach is
- pip uninstall sklearn
- build sklearn 0.18dev from source
- install sklearn 0.18dev
- test on command line, and in notebook
if it fails, reinstall sklearn 0.17 (stable) with pip
- pip uninstall sklearn ; pip install -U sklearn
I can build and install from source on the Mac , but it fails to link something at runtime
sklearn Library not loaded: libmkl_intel_lp64.dylib
a clue from Google...but I have not explored and tried yet
https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/F8Q-8xyvrks
"it turned out to be a trivial linking issue. Don't ask me why but something seems to have messed up my paths. I fixed the issue on my box with some brute force. Symbolically linking all anaconda libraries into my homebrew library folder did the trick. for lib in ~/anaconda/lib/*; do ln -s $lib /usr/local/lib/$(basename $lib); done"
add unit tests
integrate unit tests into notebook
install sklearn 0.18dev
Trying to install sklearn 0.18 using pip and run the neural network MLP
note: can't use anaconda for local packages
sklearn 0.18dev is needed for the sklearn MLP
but it is not easy to install
http://stackoverflow.com/questions/33568244/upgrade-to-dev-version-of-scikit-learn-on-anaconda
I can build and install from source on the Mac , but it fails to link something at runtime
sklearn Library not loaded: libmkl_intel_lp64.dylib
a clues from Google i have not explored and tried yet
https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/F8Q-8xyvrks
"it turned out to be a trivial linking issue. Don't ask me why but something seems to have messed up my paths. I fixed the issue on my box with some brute force. Symbolically linking all anaconda libraries into my homebrew library folder did the trick. for lib in ~/anaconda/lib/*; do ln -s $lib /usr/local/lib/$(basename $lib); done"
alignmnist too slow
it is soo slow...can it be sped up ? perhaps by pre-generating the epoch files ?
combine alignmnist.py and alignmnist.ipynb
TODO:
remove input_data.py
merge alignmnist.ipynb and alignmnist.py using notebook read/write
=> must create mnist.py , with same behavior, and pre-download files
i
try keras
Keras just blogged about their ImageDataGenerator class, which is similar in spirit to InfiMNIST and AlignMNIST
http://blog.keras.io/building-powerful-image-classification-models-using-very-little-data.html
I have no idea how it works or how it compares. It would be interesting to see how it compares
Create new , modern MLPs
the MLPs being run so far are very simple
a modern implementation can be found in
https://github.com/terryum/TensorFlow_Exercises/blob/master/3b_MLP_MNIST_Modern_160517.ipynb
it seems like a next step would be to test these implementations and try to get as close to the best accuracy possible
alignmnist and infimnist should have the same api
just
trX, trY, teX, teY = alignmnist.next_epoch()
infimnist next_epoch off
logging shows the increments are off...need to add logging and debug carefully
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.