{"id":389,"date":"2019-11-04T13:52:52","date_gmt":"2019-11-04T13:52:52","guid":{"rendered":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/?p=389"},"modified":"2019-12-12T14:42:58","modified_gmt":"2019-12-12T14:42:58","slug":"eric-branchek-research-update-2","status":"publish","type":"post","link":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/2019\/11\/04\/eric-branchek-research-update-2\/","title":{"rendered":"Eric Branchek &#8211; Research Update 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I made the decision to use Python this week, due to its similarities to Java and C++ (versus LISP and Nyquist) and a large amount of applicable libraries. In particular, I found a library called Keras that was written to handle code for neural networks, making my job to program one much easier. As a introduction, I watched a two hour video that explained neural networks and showed basic applications of them with Keras. In addition to Keras, I came across a library called Music21 through an article on generating music with Keras. Music21 appears to make inputting MIDI scores into neural networks much easier.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I also thought a bit more on the data I plan to use. At the earlier prototyping stages, I figured it would be a good idea to write a bunch of short, simple songs myself, just to keep things more basic for scratching the surface of Keras. However, once I get past that stage, I will need some MIDI scores of well known songs so that I will have a clearer goal to test the output&#8217;s accuracy with. I have been thinking of albums I could use as test sets for this stage; preferably albums that have a consistent sound. Two albums that have come to mind are AC\/DC&#8217;s Back in Black and Linkin Park&#8217;s Hybrid Theory. A part of my mind wonders if I will need bigger test sets, since albums tend to have only around 10 to 15 songs, but I don&#8217;t think that will be a glaring issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One simple idea for testing the accuracy of songs generated by the program involves asking a simple question: &#8220;What band does this sound like?&#8221; I would have to ask other people this question instead of myself, since their answer would be unbiased. The biggest issue with this method is that it is a lot easier to make a neural network if the accuracy is given in a percentage, rather taking in one of two possible answers. Therefore, I think the best way to going about testing for accuracy is by using this question: &#8220;From a scale of 1 to 10, 10 being most accurate, how much does this sound like *band name*?&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s a list of the links I referenced in this post:<\/p>\n\n\n\n<p><a href=\"https:\/\/towardsdatascience.com\/how-to-generate-music-using-a-lstm-neural-network-in-keras-68786834d4c5\">https:\/\/towardsdatascience.com\/how-to-generate-music-using-a-lstm-neural-network-in-keras-68786834d4c5<\/a><\/p>\n<br>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=6g4O5UOH304\">https:\/\/www.youtube.com\/watch?v=6g4O5UOH304<\/a><\/p>\n<br>\n<p><a href=\"https:\/\/keras.io\/\">https:\/\/keras.io\/<\/a><\/p>\n<br>\n<p><a href=\"https:\/\/web.mit.edu\/music21\/\">https:\/\/web.mit.edu\/music21\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made the decision to use Python this week, due to its similarities to Java and C++ (versus LISP and Nyquist) and a large amount of applicable libraries. In particular, I found a library called Keras that was written to handle code for neural networks, making my job to program one much easier. As a &hellip; <a href=\"https:\/\/ault.immtcnj.com\/thesis_fall_19\/2019\/11\/04\/eric-branchek-research-update-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Eric Branchek &#8211; Research Update 2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-389","post","type-post","status-publish","format-standard","hentry","category-research-updates"],"_links":{"self":[{"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/posts\/389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/comments?post=389"}],"version-history":[{"count":6,"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/posts\/389\/revisions"}],"predecessor-version":[{"id":492,"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/posts\/389\/revisions\/492"}],"wp:attachment":[{"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/media?parent=389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/categories?post=389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ault.immtcnj.com\/thesis_fall_19\/wp-json\/wp\/v2\/tags?post=389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}