Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Providing cross-validation sets for LSTM #5

Open
shaimaahegazy opened this issue Oct 23, 2016 · 4 comments
Open

Providing cross-validation sets for LSTM #5

shaimaahegazy opened this issue Oct 23, 2016 · 4 comments

Comments

@shaimaahegazy
Copy link

Is there a way to provide cross-validation/test sets for the LSTM training function? I can understand that the function is defined as follows:

gradientDescentAdaDelta(costFunc, nn, defs, Xts, Yts, yts, y, 'Training
Entire Network');

My question is what are the : Xts, Yts, yts and y variables?

Thanks a lot.

@guanyou
Copy link

guanyou commented Oct 24, 2016

From what I know, like for the MNIST example data, X being the training data and y being the testing data,

X = (28_28... image data)= 784 * 60000 .... variations training data input
Xts = (28_28...image data)= 784 * 10000... variations test data input
y =(label of image data) 1 * 60000...variations training data output
yts = (label for image data)1 * 10000 .. .variations test data output

@shaimaahegazy
Copy link
Author

Thanks for your reply @guanyou. Do you know where I could get the MNIST data used in the example?

@guanyou
Copy link

guanyou commented Oct 25, 2016

I'm guessing u could get it from below, or just implement those data conversion code found online with the original dataset found here http://yann.lecun.com/exdb/mnist/

http://www.cs.toronto.edu/~norouzi/research/mlh/data/mnist-full.mat
http://cs.nyu.edu/~roweis/data.html

@RMano82
Copy link

RMano82 commented Aug 22, 2017

Hi @shaimaahegazy . I wonder if you have managed to run any of the examples provided with the toolbox where the network converges.

I, so far tried the MNIST_ConvNet_Classifier.m and the MNIST_Deep_Classifier.m where I download the mnist-full.mat from
http://www.cs.toronto.edu/~norouzi/research/mlh/data/mnist-full.mat
However, the networks in both examples do not converge.
Any help will be much appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants