I have a basic understanding of neural networks. I understand that there should be a y matrix (expected result) which stores 0 or 1 corresponding to different category labels. As an example, for digit recognition, if the number to be identified is 6 then the y vector should be [0,0,0,0,0,1,0,0,0,0]
. However, when I see the MXNet example in MXNet.jl repository on Github, I could not identify any code which prepares this kind of result matrix. I think the magic lies in the get_mnist_providers()
method which returns 2 providers:
train_provider, eval_provider = get_mnist_providers(batch_size)
I have no idea what these providers are - train_provider, eval_provider. Please help me understand these providers. I am trying to write an algorithm which has different classifications, so understanding this provider is vital.