{"id":34620,"date":"2024-10-10T12:06:34","date_gmt":"2024-10-10T12:06:34","guid":{"rendered":"https:\/\/www.writemyessays.app\/blog\/questions\/report-on-how-different-learning-rate-strategies-impact-a-mnist-digit-classifying-artificial-neural-network\/"},"modified":"2024-10-10T12:06:34","modified_gmt":"2024-10-10T12:06:34","slug":"report-on-how-different-learning-rate-strategies-impact-a-mnist-digit-classifying-artificial-neural-network","status":"publish","type":"questions","link":"https:\/\/www.writemyessays.app\/blog\/questions\/report-on-how-different-learning-rate-strategies-impact-a-mnist-digit-classifying-artificial-neural-network\/","title":{"rendered":"report on how different learning rate strategies impact a MNIST digit classifying Artificial Neural Network"},"content":{"rendered":"<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">Its a project exploring an issue or concept or phenomenon we have encountered in our<br \/>\nstudy of ANNs. (We studied and interacted with the MNIST dataset and a simple ANN for digit classification)<br \/>I will be attaching the pdf with the assignment&#8217;s instructions.<br \/>The Idea\/Title for my project was &#8220;<\/span><span style=\"color: inherit; background-color: var(--color-6); font-variant-ligatures: inherit; font-variant-caps: inherit;\">How do different<br \/>\n learning rate strategies impact the Accuracy of a MNIST<br \/>\n ANN?<\/span><span style=\"background-color: var(--color-6); color: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit;\">&#8220;<\/p>\n<p><\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">In it, I measured Accuracy (Performance score) of ANNs trained on<\/span><span style=\"color: inherit; background-color: var(--color-6); font-variant-ligatures: inherit; font-variant-caps: inherit;\">&nbsp;different learning rate strategies (5 strategies) over varying training lengths (number of epochs in training) (5, 10, 15, 20, 25, 30) and reporting on how they influence it.&nbsp;<br \/>This was done for 3 different starting learning rates (0.1, 0.3, 0.5).<\/p>\n<p>I have written the code (trying to attach but .ipynb file are not being accepted by Essay Pro so I&#8217;m attaching a screenshot of what I added\/wrote and the size of the base ANN (really small, only 3 layers)) (I can try to write it in a word file if it is necessary)<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">I am using the<br \/>\nMNIST dataset (attached)<br \/>I&#8217;ll be attaching an excel file with all the performance scores, for all conditions and starting learning rates.<\/p>\n<p>The learning rate strategies\/conditions are:<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8211; Constant (the same throughout)<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8211; Decaying (decreases inversely to number of epochs)<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8211; Warm-up (starts small, gradually increasing until reaching starting learning rate (e.g. 0.1, 0.3, or 0.5) over the first 10 epochs, then constant)<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8211; Cycle up (oscillates between&nbsp;<\/span><span style=\"color: inherit; background-color: var(--color-6); font-variant-ligatures: inherit; font-variant-caps: inherit; font-family: inherit; font-style: inherit; font-weight: inherit;\">starting learning rate and 1.5 the&nbsp;<\/span><span style=\"color: inherit; background-color: var(--color-6); font-variant-ligatures: inherit; font-variant-caps: inherit; font-family: inherit; font-style: inherit; font-weight: inherit;\">starting learning rate)<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8211; Cycle down&nbsp;<span style=\"line-height: 32px; cursor: auto; color: inherit;\">(oscillates between&nbsp;<\/span><span style=\"font-weight: inherit; cursor: auto; color: inherit;\">starting learning rate and 0.5 the&nbsp;<\/span><span style=\"font-weight: inherit; cursor: auto; color: inherit;\">starting learning rate)<\/span><\/p>\n<p>Regarding graphs and tables, for each starting learning rate (0.1, 0.3, 0.5),&nbsp; I want:<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8211; 1 table with all the empirical data for that starting learning rate, including sections for condition means and standard deviation.<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8211; 1 line graph comparing the performance of all 5 strategies over training length for that starting learning rate. (include standard deviation error bars if not visually cluttered)<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8211; 1 line graph same as above but excluding &#8220;Decaying&#8221; condition (for better visibility of differences between conditions)(&#8216;Decaying&#8217; scores are much smaller than others so graph gets zoomed out)<br \/>&#8211; (check the excel file. I sort of did a draft of what I want in them)<\/p>\n<p>My hypothesis for this report was:<\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\"><span style=\"line-height: 200%; cursor: auto; color: inherit;\">&#8220;<span style=\"font-size: 11pt; line-height: 107%; cursor: auto; color: inherit;\">I<br \/>\nexpect that a Constant learning rate will initially result in the highest Accuracy,<br \/>\nbut a different learning rate strategy will take its place as the number of<br \/>\ntraining epochs increases<\/span>&#8220;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Its a project exploring an issue or concept or phenomenon we have encountered in our study of ANNs. (We studied and interacted with the MNIST dataset and a simple ANN for digit classification)I will be attaching the pdf with the assignment&#8217;s instructions.The Idea\/Title for my project was &#8220;How do different learning rate strategies impact the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"disciplines":[63],"paper_types":[],"tagged":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions\/34620"}],"collection":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions"}],"about":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/types\/questions"}],"author":[{"embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/comments?post=34620"}],"version-history":[{"count":0,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions\/34620\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/media?parent=34620"}],"wp:term":[{"taxonomy":"disciplines","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/disciplines?post=34620"},{"taxonomy":"paper_types","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/paper_types?post=34620"},{"taxonomy":"tagged","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/tagged?post=34620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}