dmlc / MXNet.jl

MXNet Julia Package - flexible and efficient deep learning in Julia
371 stars 70 forks source link

Question: Minimal Tutorial #154

Open abieler opened 7 years ago

abieler commented 7 years ago

I am not smart enough to extrapolate from the MNIST example what to do with data and labels that come in form of regular Julia arrays. Say, X = Matrix{Float}(1000, 10) and y = Vector{Int}(1000)

Is there a minimal example for a 3 layer perceptron applied to this data?

Thanks Andre

mcreel commented 7 years ago

There is a simple regression example that shows how to deal with providing data from arrays in https://github.com/dmlc/MXNet.jl/blob/master/examples/regression-example.jl

abieler commented 7 years ago

Thanks! I somehow managed to not see this example...

ultradian commented 7 years ago

I created a Jupyter Notebook MLP tutorial taking MNIST data from Kaggle and accessing it using an ArrayDataProvider. You can see it here: https://github.com/ultradian/julia_notebooks/blob/master/mxnet/mnistMLP.ipynb

I would love to contribute to the MXNet.jl project with further documentation. How would I best do this?

pluskid commented 7 years ago

@ultradian Thanks a lot! I suggest one of the two options, whichever you prefer that might be easier for maintenance:

ultradian commented 7 years ago

@pluskid Thank you for all your work. I'm going for option 2, and just submitted a PR #227. Hopefully, I'll be able to contribute something more substantial in the future!