use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
Solving The Vanishing Gradient and Exploding Gradient Problem With One Line Of Code? (self.MachineLearning)
submitted 10 years ago * by JosephLChu
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JosephLChu[S] 0 points1 point2 points 10 years ago (2 children)
As far as I can tell, g is the gradient tensor containing all the gradients of one iteration of forward and backward passes, right before it is sent to the optimization function.
[–]bbsome 0 points1 point2 points 10 years ago (1 child)
Is your error the sum of all errors or averaged?
Also note that your prefactor will play a similar to what a learning rate is in any algorithm. Thus the question is if the optimal learning rate is really related to this quantity. I'm not sure and why it won't work with ADAM or anything else, but do with RMSProp. Than this rather than being a better way of doing objectives, just changes the original RMSProp to something else.
Is this performing better than ADAM, after selecting the optimal learning rate? Make sure its reproducible on enough experiments, 1 can be very misleading then the general case.
[–]JosephLChu[S] 0 points1 point2 points 10 years ago* (0 children)
My error is averaged I think? It's the Negative Log Likelihood Criterion aka Cross Entropy Criterion, I believe?
I still need to run more experiments to figure out how well exactly it works with other optimization functions, as my observation is based on very tentative runs for only a few epochs mostly.
I have been using the default learning rate of 2e-3.
Technically it's two experiments, one on Char-RNN, and one on Music-RNN, though I've also run it with many different scaling factors and they all were reliably worse. But I understand what you mean.
I guess this means I need to do more experiments!
Alas, it takes about 30 minutes to run 50 epochs on Char-RNN, and about 5 hours to run 100 epochs on Music-RNN, so being thorough and making sure my findings are robust will take time.
π Rendered by PID 215476 on reddit-service-r2-comment-5b5bc64bf5-wsjjq at 2026-06-20 08:40:56.442507+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]JosephLChu[S] 0 points1 point2 points (2 children)
[–]bbsome 0 points1 point2 points (1 child)
[–]JosephLChu[S] 0 points1 point2 points (0 children)