<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Göktuğ Candemir on Medium]]></title>
        <description><![CDATA[Stories by Göktuğ Candemir on Medium]]></description>
        <link>https://medium.com/@g-candemir60?source=rss-2690cf2345c3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*E5V0vgtMmuMuZ6jr</url>
            <title>Stories by Göktuğ Candemir on Medium</title>
            <link>https://medium.com/@g-candemir60?source=rss-2690cf2345c3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:28:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@g-candemir60/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Music Genre Classification With Machine Learning — Week 4]]></title>
            <link>https://g-candemir60.medium.com/music-genre-classification-with-machine-learning-week-4-235b21d59c3b?source=rss-2690cf2345c3------2</link>
            <guid isPermaLink="false">https://medium.com/p/235b21d59c3b</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[classification]]></category>
            <dc:creator><![CDATA[Göktuğ Candemir]]></dc:creator>
            <pubDate>Fri, 14 May 2021 12:21:19 GMT</pubDate>
            <atom:updated>2021-05-14T12:24:05.342Z</atom:updated>
            <content:encoded><![CDATA[<h3>Music Genre Classification With Machine Learning — Week 4</h3><p>Hello to everyone. Last week we did some feature extraction on our dataset and performed some machine learning classifications. This week we determined hyperparameters in order to get better results from the models we created. In addition to traditional machine learning methods, we created an artificial neural network, which is a subject of deep learning, and performed classification with this artificial neural network.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FkF5w7HWRrW1YJuY7qv%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fmemecandy-kF5w7HWRrW1YJuY7qv&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2FkF5w7HWRrW1YJuY7qv%2Fgiphy.gif%3Fcid%3D790b761189b8651a17d0f279b516adea9af52b5cab442dd4%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="242" frameborder="0" scrolling="no"><a href="https://medium.com/media/ff909c4425ee5b4c6ae75b5b122875cc/href">https://medium.com/media/ff909c4425ee5b4c6ae75b5b122875cc/href</a></iframe><p><strong>What did we do this week?</strong></p><p>This week, in addition to the models we acquired last week, we performed hyperparameter optimization and increased our values on average.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*gi_s1uMb3H_MJTMz.png" /><figcaption>Confusion Matrix for Random Forest with Best Hyperparameters</figcaption></figure><p>Also, we tried to get the optimum result by using many neural networks. We trained single hidden-layer, 2 hidden-layer, and 3 hidden-layer neural networks using the features we extracted last week and got our test results and we achieved the best result with a 2 hidden-layer neural network. Our neuron size was 32 for each hidden layer. We were exposed to overfitting when we used more hidden layers and more neurons. We also had an underfitting while training our single hidden layer neural network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7Gl6MIZj4smnKQw3.png" /><figcaption>Neural Network</figcaption></figure><p>Finally, the accuracy values we obtained from the models are shown in the table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/272/0*QKtFKo2mhUavNamP.png" /><figcaption>Test Accuracy Table</figcaption></figure><p><strong>Work to do</strong></p><p>Next week, we will create the pictures of the spectrograms of the music in the dataset and do feature extraction using the CNN algorithm, and we are planning to use them in both neural networks and traditional machine learning methods. As a result of all these operations, we expect to obtain higher accuracy values.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl396M3jF14DXr9mog%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fbye-see-ya-adios-l396M3jF14DXr9mog&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2Fl396M3jF14DXr9mog%2Fgiphy.gif%3Fcid%3D790b76116794a64834c2065bf0c15b5e6868e86799d527f7%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="261" frameborder="0" scrolling="no"><a href="https://medium.com/media/e2ba0123ec9806144a883ba3c545b136/href">https://medium.com/media/e2ba0123ec9806144a883ba3c545b136/href</a></iframe><h3>Related Blogs:</h3><p><a href="https://medium.com/bbm406-spring-2021-projects/music-genre-classification-with-machine-learning-week-3-41a603b3434d">Music Genre Classification With Machine Learning - Week 3</a></p><h3>Writers:</h3><ul><li><a href="https://ahmetktoptas97.medium.com/">Ahmet Toptas - Medium</a></li><li><a href="https://g-candemir60.medium.com/">Göktuğ Candemir - Medium</a></li><li><a href="https://atakanayyildiz28.medium.com/">Atakanayyildiz - Medium</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=235b21d59c3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Music Genre Classification With Machine Learning- Week 1]]></title>
            <link>https://g-candemir60.medium.com/music-genre-classification-with-machine-learning-week-1-fe94476e370e?source=rss-2690cf2345c3------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe94476e370e</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[genre]]></category>
            <category><![CDATA[classification]]></category>
            <dc:creator><![CDATA[Göktuğ Candemir]]></dc:creator>
            <pubDate>Sun, 11 Apr 2021 17:32:17 GMT</pubDate>
            <atom:updated>2021-04-11T17:32:17.434Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone. We are <a href="https://medium.com/@g.candemir60">Göktuğ</a>, <a href="https://medium.com/@ahmetktoptas97">Ahmet </a>and <a href="https://medium.com/@atakanayyildiz28">Atakan</a>. We are CS students from Hacettepe University. In this blog, we are going to talk about our Machine Learning Course Project Topic which is Music Genre Classification.</p><h3>Introduction</h3><p>Almost all people love to listen to music. But everybody’s favorite genres of music are different. Some of us like to listen to rap, while others enjoy listening to jazz, pop, metal, or Turkish folk music (especially our elders). Since we love to listen to music, this subject attractive to us and we wanted to work on it. Our aim is to find out which music genre the given song belongs to. And in doing so, we want to take our features out and compare our features and various machine learning models in terms of performance. Also, we can use deep learning in the project, too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fqoqXGKya1n8RpTt.png" /></figure><p>Until today, there have been many studies in this field. The first large-scale music genre classification study was “Musical Genre Classification of Audio Signals” written by G. Tzanetakis and P. Cook, published in 2002. As a result of this study, a high success rate was not achieved(61% accuracy), but this study has been a great reference for other studies.</p><h4>Dataset</h4><p>Our dataset is the same dataset which is <a href="http://marsyas.info/downloads/datasets.html">GTZAN </a>that was used on Musical Genre Classification of Audio Signals research. Our goal in selecting this dataset is to make it more meaningful to compare with previously obtained results.</p><p>In the dataset, we have a total of 1000 samples that belong to 10 different genres. Each audio track 30 seconds long.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F5ehBR5qtLEXBe%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fvinyl-records-5ehBR5qtLEXBe&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2F5ehBR5qtLEXBe%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/fdebf99162e4dbe714da345e42c8f6e3/href">https://medium.com/media/fdebf99162e4dbe714da345e42c8f6e3/href</a></iframe><h3>Related Papers</h3><p>In the Introduction stage, we talked about G. Tzanetakis and P. Cook’s research.</p><p><a href="https://dspace.library.uvic.ca/bitstream/handle/1828/1344/tsap02gtzan.pdf?sequence=1">dspace.library.uvic.ca/bitstream/handle/1828/1344/tsap02gtzan.pdf?sequence=1</a></p><p>There is a couple of research also in Turkey. In an article published by Gazi University’s Ali KARATANA and Oktay YILDIZ in 2017, they tried to surpass the success rate achieved by using machine learning algorithms and deep learning. They used the same dataset (GTZAN). As a result of the work done, a success rate of 85–88% has been achieved. Here is the paper of this work.</p><p><a href="https://www.researchgate.net/publication/320281584_Music_genre_classification_with_machine_learning_techniques">www.researchgate.net/publication/320281584_Music_genre_classification_with_machine_learning_techniques</a></p><p>In the third link, Many features were extracted and Hareesh Bahuleyan used these features in machine learning models. Hareesh Bahuleyan also created a deep learning model and compared these results and made a comparison of what we wanted to do.</p><p><a href="https://arxiv.org/pdf/1804.01149.pdf">www.arxiv.org/pdf/1804.01149.pdf</a></p><p>Thanks for reading us. We will continue next week. Stay well and stay with the music 🎧</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FtqfS3mgQU28ko%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fheadphones-spongebob-squarepants-tqfS3mgQU28ko&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2FtqfS3mgQU28ko%2Fgiphy.gif%3Fcid%3D790b7611db8130dc50caeeb606ed036b83f0fbb67bb36ba5%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/16d322350340a1cbcbe3ec505da014a6/href">https://medium.com/media/16d322350340a1cbcbe3ec505da014a6/href</a></iframe><h3>Writers</h3><ul><li><a href="https://medium.com/@g.candemir60">Göktuğ Candemir - Medium</a></li><li><a href="https://medium.com/@atakanayyildiz28">Atakanayyildiz - Medium</a></li><li><a href="https://medium.com/@ahmetktoptas97">Ahmet Toptas - Medium</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe94476e370e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>