<?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[BBM406 Spring 2021 Projects - Medium]]></title>
        <description><![CDATA[Student projects for Spring 2021 semester - Medium]]></description>
        <link>https://medium.com/bbm406-spring-2021-projects?source=rss----53f429690c81---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>BBM406 Spring 2021 Projects - Medium</title>
            <link>https://medium.com/bbm406-spring-2021-projects?source=rss----53f429690c81---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:41:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/bbm406-spring-2021-projects" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Farewell - Artificial Pianist]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/farewell-artificial-pianist-61b20c25f29?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/61b20c25f29</guid>
            <dc:creator><![CDATA[Özge Kökyay]]></dc:creator>
            <pubDate>Fri, 04 Jun 2021 18:53:58 GMT</pubDate>
            <atom:updated>2021-06-04T18:53:58.861Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6nkLRLdiqs8cjQegpkKwKA.jpeg" /></figure><p>We were teammates <a href="https://medium.com/u/b1607eee975a">Batuhan Ayvaz</a> , <a href="https://medium.com/u/5c76bc2fd50f">Batuhan Orhon</a> and me, we work on the project <em>Artificial Pianist</em> within the course of <em>BBM406-Fundamentals of Machine Learning</em> throughout this semester. We want to thank our professor <strong>Erkut Erdem</strong> and our teaching assistant <strong>Necva Bölücü</strong> for their guidance.</p><p>The whole process of developing the project was very enhancing and helped us to be involved in the artificial intelligence field in various aspects, like writing blog posts, reading research papers, and following the latest improvements.</p><p>We should say that it was a little complicated at first for us who are beginners in machine learning, but at the end of the project, I mean the whole process of researching, learning, trying, we can see how much we improved ourselves and gained knowledge.</p><p>We have made a user study for the 3 music pieces generated by different model architectures and collect points between 1 to 10 from listeners and calculated mean opinion score for each piece as subjective evaluation.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbG4t8cI2Vuc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbG4t8cI2Vuc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbG4t8cI2Vuc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0215c9c3255d4d6f45ceed25cd5a4cb6/href">https://medium.com/media/0215c9c3255d4d6f45ceed25cd5a4cb6/href</a></iframe><p><strong>Blossoms</strong> is one of the first music pieces that has generated by using LSTM layers and self attention. Blossoms got <strong>5.7</strong> <strong>points</strong> from listeners in average and this is the lowest score. We received comments about Blossoms like i<em>t is atonic and most of the notes are just random, it has less harmony and not euphonic, some parts of the music are repeating often.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FiqpJIMA0IEs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DiqpJIMA0IEs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FiqpJIMA0IEs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c6922b21c20bf7ff60e63c9a6a1c6849/href">https://medium.com/media/c6922b21c20bf7ff60e63c9a6a1c6849/href</a></iframe><p>After the generation of Blossoms (and the other similar music pieces), we have decided that we need further improvements on the architecture of model and we have changed the model using Transformers. Results of this model were explicitly better than the first results. <strong>Raven </strong>also has been generated by using this model, and got <strong>7.3 points</strong> and received nice comments from listeners like <em>it is more harmonic, soft and less atonic.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSnnYpAAH5qs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSnnYpAAH5qs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FSnnYpAAH5qs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a49ab09eb4a47503288cfd64ef0da7e8/href">https://medium.com/media/a49ab09eb4a47503288cfd64ef0da7e8/href</a></iframe><p>Lastly, we have tried using dropout layers in the model. <strong>Yellow </strong>has been generated by using this model. Yellow got <strong>7.5 points</strong> from listeners and nice comments too. There is not a big difference between the music pieces generated by the second and third model but we can say that the third model is slightly more euphonic.</p><p>We also wonder about your comments, which one is more euphonic to you ? Feel free to comment whenever you read it.</p><p>And we have come to the end of the blog post series of our project <em>Artificial Pianist</em> and we want to say goodbye.</p><blockquote><em>Goodbye !</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61b20c25f29" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/farewell-artificial-pianist-61b20c25f29">Farewell - Artificial Pianist</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week #7 — Identification of Artists by Their Paintings with Machine Learning]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-7-identification-of-artists-by-their-paintings-with-machine-learning-d86562514b45?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/d86562514b45</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[hacettepe]]></category>
            <dc:creator><![CDATA[Mert Şahin]]></dc:creator>
            <pubDate>Fri, 04 Jun 2021 18:53:57 GMT</pubDate>
            <atom:updated>2021-06-04T18:53:57.405Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week #7 — Identification of Artists by Their Paintings with Machine Learning</h3><p>Finally, we have achieved the end of our project. We have reached our final results by implementing attention into our algorithm.</p><p>We have decided to implement Channel-wise and Spatial together according to related works. They provide informative content and the region.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*C9V0OR_7nMQ2QarR8Js33g.jpeg" /><figcaption>Attention on Paintings</figcaption></figure><p><strong>Spatial Attention</strong><br>The spatial attention works as a complement to channel attention, focusing on the informative ‘where’ part. As an application, we made the kernel size 7 first. After the channel-wise operations, we applied a layer to obtain a spatial map.</p><p>In this way, desired regions will be highlighted while others will be suppressed. The spatial attention is calculated by using sigmoid function.</p><p><strong>Channel-wise Attention</strong><br>Channel attention focuses more on the meaningful parts of the images. For implementation, the spatial attention features are squeezed to make ineffective at first. Then we combined average pooling and max pooling on a shared layer.</p><p>After taking the totals of the results, we used the sigmoid as the activation function again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*eu3PkezjM4W3ZWAtZ2aj6A.png" /></figure><p><strong>Results</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/1*u5FTQtefF8Js_K1v2wJ8LQ.png" /><figcaption>CNN Metric Results Before Attention (ResNet-152 + Fine-Tuning)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*rPDP9hhZzefIahis3n31hA.png" /><figcaption>CNN Metric Results After Attention</figcaption></figure><p>The metric results after Atttention are shown in table. After Attention, we observed an improvement in results in general and a slight more increase in Van Gogh’s results in particular. We easily observed the effect of the methods we used on the results. We found that Attention and Fine-Tuning were effective. But still, we were not satisfied with Picasso’sresults and we thought about it. We observed the most misclassifications in Pablo Picasso’spaintings. We think this may be due to the different styles of his paintings that make it difficult for our model to learn. In the figure as shown below, nine of Picasso’s incorrectly predicted works are shown. As you can see, there is a serious style difference between his works. We think that this may prevent us from achieving our goal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/0*3lr8i4EGnuoM-hQC.png" /></figure><p><strong>Conclusion</strong></p><p>According to our results, we observed that these famous painters have a style that distinguishes them from each other and from other normal painters. We’ve seen their unique style make them up. We observed that every step in our algorithm (CNN, Fine-Tuning, Attention) % style and model relationship, <br>that we applied to prove this hypothesis positively supports us to approach the result. Except for Picasso, we achieved the accuracy we wanted in other artists. We got better results than we expected, especially in Albrecht Dürer’s works. When we look at Albrecht Dürer’s works, we see that his works are generally in black and white, so we think that his style is easier to predict than others. However, we think by looking at Picasso’s works that the variety of styles in the artist’s works makes it difficult for us to reach our goal. We think the artist’s variety of styles makes it difficult for our model to learn. We can say that the most effective thing for both artists is their style. The monotony or diversity of their styles is affecting our algorithm. Thus, we observe the importance of styles in identifying artists.</p><p><strong>Future Work</strong><br><br>We think that better results can be achieved by examining the features such as the art movements used by the artists, the times they lived, and their nationalities in future works.</p><p>In addition, we think that different styles and movements can be observed and different inferences can be achieved by trying different artists and/or increasing the dataset.</p><p><strong>The End…</strong></p><p>We have come to the end of another semester. Thank you for your interest in our project. See you in the next projects. :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YTEowg9AAu-ePXR1" /></figure><p><strong>References</strong></p><p><a href="https://openaccess.thecvf.com/content_ECCV_2018/papers/Sanghyun_Woo_Convolutional_Block_Attention_ECCV_2018_paper.pdf">https://openaccess.thecvf.com/content_ECCV_2018/papers/Sanghyun_Woo_Convolutional_Block_Attention_ECCV_2018_paper.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d86562514b45" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-7-identification-of-artists-by-their-paintings-with-machine-learning-d86562514b45">Week #7 — Identification of Artists by Their Paintings with Machine Learning</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 7# Identification of Artists and Movements from Paintings with Machine Learning]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-7-identification-of-artists-and-movements-from-paintings-with-machine-learning-3bfa89ec1e97?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/3bfa89ec1e97</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Buğrahan]]></dc:creator>
            <pubDate>Mon, 31 May 2021 06:00:47 GMT</pubDate>
            <atom:updated>2021-05-31T06:00:47.366Z</atom:updated>
            <content:encoded><![CDATA[<p>This week we are publishing our last blog post and we will present the results of AlexNet.</p><p><strong>AlexNet:</strong></p><p>AlexNet is a eight-layer convolutional neural network that can achieve high accuracies on even the most difficult datasets. First five layers are convolutional layers and followed by max pooling layers. Last three are fully connected layers. See below figure for the AlexNet’s architecture:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*nzSWD13AHwPE_pfqOSA83A.png" /><figcaption>Figure1: AlexNet’s Architecture</figcaption></figure><p>While testing the AlexNet we tried many combinations. Batch size was between 1–1024, as an activation function we tried RELU, ELU, SELU, tanh and epoch of 300. We get the best results with Batch size = 32, epoch = 50 and SELU as an activation function. See the confusion matrix and accuracy table below for the results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BKBmYTzVRFWwAVzsKDBiGw.png" /><figcaption>Figure2: Confusion Matrix of Artist Identification (Model: AlexNet, Epoch = 50, Activation Function = SELU, Batch Size = 64)</figcaption></figure><p>If we give an example where we misclassified artists, most noticable one is, missclassification between “Claude Monet” and “Pierre Aguste Renoir”. Two artists gave works on Impressionism Art Movement. See below example for misclassification:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*z7IEX6RRhkEHVEi1HeYCsQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pROSDj6yFWqycfmpSih3ng.jpeg" /><figcaption>Figure3: Left(Pierre Auguste Renoir) — Right(Claude Monet)</figcaption></figure><p>While classifying the movements, we also used the same hyperparameters with artist identification. See the confusion matrix and accuracy table below for the results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DUhMdUZiYx6PyY5y1xe2QA.png" /><figcaption>Figure4: Confusion Matrix of Movement Identification (Model: AlexNet, Epoch = 50, Activation Function = SELU, Batch Size = 64)</figcaption></figure><p>If we give an example where we misclassified movements most noticable one is, missclassification between “Symbolism” and “Impressionism” just like in LeNet-5 model. See below example for misclassification:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*d_q1ms4xmTceFMwF6fRANg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*oD5lnpRH3BlmVoncijVo7A.jpeg" /><figcaption>Figure5: Left(Impressionism) — Right(Symbolism)</figcaption></figure><p>Overall we got <strong>80.44%</strong> accuracy for artist identification and <strong>83.10%</strong> accuracy for movement identification in our AlexNet model. It is better than LeNet-5(was 70.22% accuracy for artist and 76.93% accuracy for movement identification).</p><p><strong><em>Thank you!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bfa89ec1e97" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-7-identification-of-artists-and-movements-from-paintings-with-machine-learning-3bfa89ec1e97">Week 7# Identification of Artists and Movements from Paintings with Machine Learning</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Week #7 — Guess The Genre]]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-7-guess-the-genre-c1a6c2176f0d?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/c1a6c2176f0d</guid>
            <dc:creator><![CDATA[Atalay Gürel]]></dc:creator>
            <pubDate>Mon, 31 May 2021 06:00:22 GMT</pubDate>
            <atom:updated>2021-05-31T06:00:22.918Z</atom:updated>
            <content:encoded><![CDATA[<h3>[Week #7 — Guess The Genre]</h3><p>We’re<a href="https://medium.com/@atagrl98"> <strong>Atalay Gürel</strong></a>,<a href="https://medium.com/@muhammed.fidan77"> <strong>Muhammed Fidan</strong></a> &amp;<a href="https://medium.com/@atemm"> <strong>Ozan Postacı</strong></a>. We are students from Hacettepe University Computer Engineering Department and this is the last article of our Machine Learning Course Project about <strong>Music Genre Classification</strong>.</p><h3><strong>MLP</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*Js6zHCTsux3-bIohA6wTSw.png" /><figcaption>MLP model</figcaption></figure><p>In previous weeks we implemented MLP with 8 genres and accuracy was around %45. After removing Folk genre it increased to %54 accuracy. We tried some activation function(tanh, ReLu) but we got better results in ReLu activation function in MLP model training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*jkJAVOlz5m6xCaLQ6xFvsA.png" /><figcaption>Accuracy graph</figcaption></figure><p>The model consists of two hidden layers. There are 300 nodes in the first hidden layer and 32 nodes in the second hidden layer. We observed %54 accuracy in the test data after 30 epochs.</p><h3><strong>Conclusion</strong></h3><p>In our project, we trained these 6 different models and tried to compare their results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*BuWhcmwJurL78S_-9aAoSw.png" /></figure><p>The same style of instruments is commonly used in some music genres, mostly guitar. This caused the models to confuse while learning, so the results were in bad condition with every model. That’s why we decided to remove the folk music genre from the dataset to reduce confusion during model training.</p><p>After removing the folk genre from the dataset, we observed a nearly 10% improvement in success in each model. We found an 8% difference between our highest and lowest models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*th8rtnjQRBnoM8FrgtAgcg.gif" /></figure><p>The results in general were close to each other.</p><p>The method with the lowest accuracy value was KNN. Logistic Regression, Deep Neural Network and Random Forest results were similar. We can say that the best models were SVM and MLP.</p><p>Stay tuned with your music and let us guess the genre <strong><em>♫</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/0*-o44fHunatMe5XVT" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1a6c2176f0d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-7-guess-the-genre-c1a6c2176f0d">[Week #7 — Guess The Genre]</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 7 - Music Recommendation and Playlist Continuation]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-7-music-recommendation-and-playlist-continuation-e365144004b4?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/e365144004b4</guid>
            <dc:creator><![CDATA[Arda Hüseyinoğlu]]></dc:creator>
            <pubDate>Mon, 31 May 2021 06:00:17 GMT</pubDate>
            <atom:updated>2021-05-31T06:00:17.853Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Z5cpxbhHw0C3eDqVO5ADw.png" /><figcaption>(source: <a href="https://suabalac.com/spotify-premium-illustrations">https://suabalac.com/spotify-premium-illustrations</a>)</figcaption></figure><p>This week we will show you our final results. Then we give some concluding remarks, and ideas to improve our model in the future. After we turned our implementation into a modular, we evaluated our models with different metrics.</p><p>As you know, the NCF model has an MLP at the end of the pipeline so we test the model with a different set of FC layers. The base model does not use any hidden layers, so we extend the hidden layer number to improve the overall results. However, increasing model complexity is not helpful. Accuracy decreases as more hidden layers are introduced. Overfitting was the biggest challenge. To overcome: Start with a lower learning rate (1e-4). Early-stopping with the patience of 5 epochs. As for the transfer function to introduce non-linearity, we picked ReLU in our models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aax8KoyqLoRFMBws6JrF5w.png" /></figure><p>NCF is a state-of-the-art recommender system based on neural networks. Challenge is to recommend tracks using Spotify’s 1 Million Playlist dataset. The original method makes use of only playlist and track interactions. The model can be extended by introducing more “items”, i.e., Album, Artist, etc. A set of hyper-parameters are used including embedded vector size, merging methods for embedding vectors, number of hidden layers. We use Top-k accuracy and Average Rank as the evaluation metrics which help us understand the model itself and increase accuracy. Our findings increase the accuracy of the base model using only user-item interaction by a significant +36. according to the Top-1 score. We get our best results with the model, which takes the album information along with the user and item input branches, with a top-1 accuracy rate of 65.34.</p><p>For future work, we may add a self-attention mechanism to our model after embedding layers. Our model may perform better since it will extract the information of the importance of each input. In that way, we can also observe which feature is more important for the model. Since a transformer encoder for self-attention may be too complex for our model, we may use Bahdanau-style attention or Luong-style attention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*mHQuEF-XhtDghRMvvHu-2w.png" /><figcaption>NFC with a self-attention mechanism</figcaption></figure><p>Also, autoencoders can be used as collaborative filters. Neural Collaborative Autoencoder, Qibing Li Et. Al. 2018, applied nonlinear matrix factorization like the Neural Collaborative Filter model. Multiple Embeddings might be tested with the power of autoencoders as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vvdnJTuhNiWW2bmnjPeBQA.png" /><figcaption>Our final neural collaborative filtering model</figcaption></figure><p>We can easily say that overall, these are quite satisfying results as compared with the base model. Besides, since we quantitatively measured the success of input vectors as large as three classes, the model can be extended to be more powerful if we could weigh some features in the input vector according to their priority to help determine the song to be added to a playlist. To do so, attention mechanisms could be included before entering the MLP. In addition, computational challenges that have been introduced prevented us from making a more extensive analysis of the model. Overall we managed to implement and extend the model successfully supported with the experimental results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*hyAK2ZJp66xMBzUK7h2tlw.png" /></figure><p>We thank our followers for being here all along. We hope you enjoyed our journey! Take care, Stay Healthy!</p><h3>Team</h3><ul><li><a href="https://ardahuseyinoglu.medium.com/">Arda Hüseyinoğlu - Medium</a></li><li><a href="https://medium.com/@tanserkan">Serkan Tan - Medium</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e365144004b4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-7-music-recommendation-and-playlist-continuation-e365144004b4">Week 7 - Music Recommendation and Playlist Continuation</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 7 — Image Transformation According to Art Style]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-7-image-transformation-according-to-art-style-5a69947746c0?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/5a69947746c0</guid>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Mon, 31 May 2021 06:00:16 GMT</pubDate>
            <atom:updated>2021-05-31T06:00:16.353Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 7 — Image Transformation According to Art Style</h3><p>Hi everyone! Last week, we have talked about the results of our style-based clustering and object-based clustering methods. Today, we are going to talk about our final phase of the project.</p><p>After running the model on different clusters, we run the model on different clusters. But, some of the clusters didn’t give accurate results. Object-based clusters haven’t good results. So, we focused on style-based clustered images.</p><h3><strong>Evaluation</strong></h3><p>In the <a href="https://arxiv.org/pdf/1802.03446.pdf">Pros and Cons of the GAN Evaluation Measures</a> paper, 24 different evaluation methods are mentioned. These are separated into 2 different quantitative and qualitative subtitles. According to the quantitative, results are evaluated by more objective methods based on numerical scores. Some of the methods include pre-trained models to classify generated results like Inception Score and Frechet Inception Distance. However, we can’t use these methods because they classify more object-based results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*BEh9KKPCUF2yLYFe.png" /><figcaption>Quantitative GAN Generator Evaluation Methods, <a href="https://arxiv.org/pdf/1802.03446.pdf">https://arxiv.org/pdf/1802.03446.pdf</a></figcaption></figure><p>Qualitative evaluation metrics are mostly human-based evaluation techniques. Preference Judgement is one of these techniques. According to these techniques, results are mostly evaluated by a participation group. But here, the participants should have the necessary information about the transformed domain. And, we firstly worked on more participants in our close friends. However, after our lecturer’s feedback, we noticed that more domain expert people should take place in the participant group. So, we prepare one extra user story after that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*LaYXQq2g7Q55e90j.png" /><figcaption>Qualitative GAN Generator Evaluation Methods, <a href="https://arxiv.org/pdf/1802.03446.pdf">https://arxiv.org/pdf/1802.03446.pdf</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ymW8BCTOR38biOBx5bYFOQ.png" /><figcaption>Results of Preference Judgement for 5 Image</figcaption></figure><p>We use 10 different Van Gogh style transformed image to ask 6 art expert from art department students. We asked them “Does these images look like one of Van Gogh’s styles?”. According to their rates, the model trained over the style-cluster 1 dataset gave better results. If you remember from last week, we got 3 different style based clusters and cluster 1 gave us more the first thing coming to mind when Van Gogh’s art is considered. Let’s we talked about our model’s strengths and weaknesses.</p><h3>Strengths</h3><ul><li>If the artist’s paintings contain many pictures and have different styles, we divide the data set into clusters to obtain better-styled pictures.</li><li>When the artworks are divided into clusters, we can get better results on the specific paintings of an artist.</li><li>While the number of artist’s artworks is high, our model saves time.</li></ul><h3><strong>Weaknesses</strong></h3><ul><li>Our model cannot be trained very much with a small dataset.</li><li>If the artist’s artworks have a few numbers, of images, our model cannot be trained very efficiently.</li><li>If the artist has only one style, clustering cannot be done.</li><li>If the artist has too many styles, the dataset is divided into too many clusters.</li></ul><h3>Future Works</h3><p>If we consider how our model can be improved and what high-level methods can be used:</p><ul><li>Graph-Based Representativity Learning methods can be used to choose the presentative paintings.</li><li>We can try to extract style-based features with more complex feature extraction methods. For example, RestNet50.</li><li>We can examine the effects of clustered train sets on other generative models such as GAN, cGAN wGAN.</li></ul><p><strong>Contributors:</strong></p><ul><li><a href="https://medium.com/@oktay.ugurlu98">Oktay Uğurlu</a></li><li><a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></li><li><a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></li></ul><p><strong>References:</strong></p><ul><li><a href="https://arxiv.org/pdf/1802.03446.pdf">https://arxiv.org/pdf/1508.06576.pdf</a>, Pros and Cons of GAN Evaluation Measures</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a69947746c0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-7-image-transformation-according-to-art-style-5a69947746c0">Week 7 — Image Transformation According to Art Style</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 7 — Tune It Up]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-7-tune-it-up-5ce9542039f9?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/5ce9542039f9</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[music-style-transfer]]></category>
            <category><![CDATA[style-transfer]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Fidan Samet]]></dc:creator>
            <pubDate>Mon, 31 May 2021 05:59:56 GMT</pubDate>
            <atom:updated>2021-05-31T05:59:56.050Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 7 — Tune It Up</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n5NXm2y2aZfIoYsWDpmsAg.png" /></figure><p>Hello world,<br>We are <a href="https://medium.com/u/cd8ccccf75e5">Fidan Samet</a>, <a href="https://medium.com/u/14dffa16a20b">Oğuz Bakır</a> and <a href="https://medium.com/u/a7c6d50a6d2f">Adnan Fidan</a>. In the scope of the <a href="https://web.cs.hacettepe.edu.tr/~erkut/bbm406.s21/index.html">Fundamentals of Machine Learning course</a> project, we have worked on music genre transfer and prediction. We have been writing blogs about our progress throughout the project and this is the last one of our blog series. The final results obtained according to our contributions to the baseline model and the last remarks will be covered in this post. So let’s get started!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*LgKhq2QOA3ihxsfjGZARog.gif" /></figure><h4>Previously on Tune It Up…</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*MpdTlfnrbxySkV0PL6z8JQ.png" /><figcaption>Timeline of Tune It Up</figcaption></figure><p>Last week, we talked about eliminating Pop tracks from our dataset, the genre classification results we obtained on this updated dataset, our contributions to CycleGAN baseline model and the visual results on genre style transfer. You can find last week’s blog <a href="https://medium.com/bbm406-spring-2021-projects/week-6-tune-it-up-ebe4cea4f99d">here</a>. This week, we will talk about the last results obtained according to our contributions to the baseline model and the last remarks.</p><h3>Experimental Results</h3><p>Last week, we talked about the contributions we made on the baseline model. After the model trainings were finished, we tested the models. By giving these test results to the music genre classifier model that we built with the Multi-layer Perceptron algorithm, we evaluated our style transfer models. So let’s see those accuracy results according to the contributions we made.</p><h4>1. Generator Networks</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UorvsGpak0n1itin4Aoy_w.png" /><figcaption>Test Results — ResNet vs U-Net</figcaption></figure><p>As we mentioned last week, CycleGAN uses ResNet as its default generator network. To improve the baseline model according to our task, we experimented with another well-known generator network, U-Net. However, ResNet performed significantly better than U-Net generator network.</p><h4><strong>2. Auxiliary Discriminators</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3XiN5EpmXJomePS7YgP7PA.png" /><figcaption>Test Results — Baseline vs Auxiliary Discriminators</figcaption></figure><p>As you can recall, we added auxiliary discriminators to our baseline for model to stick the music manifold and generate more realistic music. However, it did not help to increase the baseline performance.</p><h4>3. Auxiliary Discriminators &amp; Triplet Loss</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*964i0qXabEDgh3fK6UI5eg.png" /><figcaption>Test Results — Baseline vs Auxiliary Discriminators &amp; Triplet Loss</figcaption></figure><p>We also added triplet loss to the model we used auxiliary discriminators for obtaining better style transfer results. As you can see from the table above, triplet loss increased the performance of the model. Below are the examples of this setup according to Jazz2Classic and Classic2Jazz translation tasks.</p><ul><li><strong>Jazz2Classic</strong></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1058639743%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffidan-samet%2Fjazz2classic-example-real-aux-triplet&amp;image=https%3A%2F%2Fsoundcloud.com%2Fimages%2Ffb_placeholder.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/6523964eadda7f5e76f51267653b2e46/href">https://medium.com/media/6523964eadda7f5e76f51267653b2e46/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1058640907%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffidan-samet%2Fjazz2classic-example-fake-aux-triplet&amp;image=https%3A%2F%2Fsoundcloud.com%2Fimages%2Ffb_placeholder.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/f848c8783062c07de4f13aeca7184dfd/href">https://medium.com/media/f848c8783062c07de4f13aeca7184dfd/href</a></iframe><ul><li><strong>Classic2Jazz</strong></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1058651164%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffidan-samet%2Fclassic2jazz-example-real-aux-triplet&amp;image=https%3A%2F%2Fsoundcloud.com%2Fimages%2Ffb_placeholder.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/3174f6421b623180867d5e24c2136856/href">https://medium.com/media/3174f6421b623180867d5e24c2136856/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1058651302%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffidan-samet%2Fclassic2jazz-example-fake-aux-triplet&amp;image=https%3A%2F%2Fsoundcloud.com%2Fimages%2Ffb_placeholder.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/198b6d7414a435c4f35fefac639ec66d/href">https://medium.com/media/198b6d7414a435c4f35fefac639ec66d/href</a></iframe><h4>4. Triplet Loss</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCkhszO6heqxqUHDJUEVKw.png" /><figcaption>Test Results — Baseline vs Auxiliary Discriminators &amp; Triplet Loss vs Triplet Loss</figcaption></figure><p>To investigate the role of auxiliary discriminators in the previous model, we removed them and trained the model by only adding triplet loss. As above table shows, auxiliary discriminators have a little effect on the model performance. Below are the examples of this setup according to Jazz2Classic and Classic2Jazz translation tasks.</p><ul><li><strong>Jazz2Classic</strong></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1058652430%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffidan-samet%2Fjazz2classic-example-real-triplet&amp;image=https%3A%2F%2Fsoundcloud.com%2Fimages%2Ffb_placeholder.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/57e7b15dc6e04665c3700ac886b0325b/href">https://medium.com/media/57e7b15dc6e04665c3700ac886b0325b/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1058652556%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffidan-samet%2Fjazz2classic-example-fake-triplet&amp;image=https%3A%2F%2Fsoundcloud.com%2Fimages%2Ffb_placeholder.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/4e9189cfe113a5e24d606f5ad60b91c4/href">https://medium.com/media/4e9189cfe113a5e24d606f5ad60b91c4/href</a></iframe><ul><li><strong>Classic2Jazz</strong></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1058653288%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffidan-samet%2Fclassic2jazz-example-real-triplet&amp;image=https%3A%2F%2Fsoundcloud.com%2Fimages%2Ffb_placeholder.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/17daf7464922b005d371742584702b3d/href">https://medium.com/media/17daf7464922b005d371742584702b3d/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1058653462%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffidan-samet%2Fclassic2jazz-example-fake-triplet&amp;image=https%3A%2F%2Fsoundcloud.com%2Fimages%2Ffb_placeholder.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/1f0e345e92dccb861f0f74f08824d6f9/href">https://medium.com/media/1f0e345e92dccb861f0f74f08824d6f9/href</a></iframe><h3>Conclusions</h3><p>Our developed method benefits from our strong baseline CycleGAN. We contribute to this model by adding auxiliary discriminators and triplet loss. We improve the baseline model with these contributions. We especially obtain good results for Jazz2Classic music genre transfer.</p><p>One important weakness of our method is that we do not have an objective evaluation method. Therefore, we have to rely on the prediction model or make a subjective user study analysis. That is why, we prepared a subjective experiment. We would be more than happy if you could join our user study. You can find it <a href="https://forms.gle/3HFCJKpYkAh5q1BX7">here</a>.</p><p>Another weakness is that our method is not successful enough for the Classic2Jazz music genre translation. However, the prediction model also performs poorly on this task. Therefore, we think that Classic2Jazz task is more challenging than Jazz2Classic task.</p><p>In the future, we can improve our results further for instance by adding new losses. We can also use recent Generative Adversarial Networks models as our baseline. Later we can apply our model to the new music genres.</p><p>That is it. Thank you for being with us throughout our journey on this project. Take care!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*JVlypOW7ZKr7FH4F_xkxvA.gif" /></figure><h4>Past Blogs</h4><ul><li><a href="https://medium.com/bbm406-spring-2021-projects/week-1-tune-it-up-5aba2bc2d6b0">Week 1 — Tune It Up</a></li><li><a href="https://medium.com/bbm406-spring-2021-projects/week-2-tune-it-up-3e39594d6c6d">Week 2 — Tune It Up</a></li><li><a href="https://medium.com/bbm406-spring-2021-projects/week-3-tune-it-up-c0c94fdcb5f3">Week 3— Tune It Up</a></li><li><a href="https://medium.com/bbm406-spring-2021-projects/week-4-tune-it-up-4187fd8efeca">Week 4 — Tune It Up</a></li><li><a href="https://medium.com/bbm406-spring-2021-projects/week-5-tune-it-up-2a688a081bee">Week 5 — Tune It Up</a></li><li><a href="https://medium.com/bbm406-spring-2021-projects/week-6-tune-it-up-ebe4cea4f99d">Week 6 — Tune It Up</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ce9542039f9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-7-tune-it-up-5ce9542039f9">Week 7 — Tune It Up</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 6 — Copy Move Forgery Detection]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-6-copy-move-forgery-detection-b202093cf896?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/b202093cf896</guid>
            <category><![CDATA[bbm-406]]></category>
            <category><![CDATA[cmfd]]></category>
            <dc:creator><![CDATA[Eflatun Doğa AYDIN]]></dc:creator>
            <pubDate>Sun, 30 May 2021 07:05:46 GMT</pubDate>
            <atom:updated>2021-05-30T07:05:46.486Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 6 — Copy Move Forgery Detection</h3><p>Hello, in this week we completed the porting of the MATLAB algorithm to Python and ran some test cases in the program to get some outputs.</p><h3>Dataset</h3><p>Since our project was established upon an existing paper, we have different datasets that we can work with, the dataset that we used for our small example can be downloaded <a href="http://lci.micc.unifi.it/labd/cmfd/MICC-F220.zip">here</a>. It has 220 images in it and a ground truth file that describes them as 110 original and 110 forged images.</p><p>Our first task was to extract SIFT features on images to compare them. An example can be found in the images below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*rhgM7NV4JrrXL6i9Z0zJ8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*1Gw9LxC76TUCXNKM74s8yg.png" /><figcaption>(a) A forged image (b) SIFT keypoints extracted from it</figcaption></figure><p>We tried with many threshold values to minimize False Positives and Maximize True Positives which will be used as our evaluation metric through the project, we achieved a relative success with both values individually but not a great value that achieves a satisfactory result for both of them at the same time.</p><p>Our next goal is to change our matching and post processing algorithms in the dataset to achieve a better success.</p><h4>Project Participants</h4><ul><li><a href="https://medium.com/@cemresenokur">Cemre Şenokur - Medium</a></li><li><a href="https://b21126944.medium.com/">Eflatun Doğa AYDIN - Medium</a></li><li><a href="https://medium.com/@Mustafa_kucuk">Mustafa Kucuk - Medium</a></li></ul><h4>References</h4><p><a href="https://www.researchgate.net/publication/224225329_A_SIFT-Based_Forensic_Method_for_Copy-Move_Attack_Detection_and_Transformation_Recovery">https://www.researchgate.net/publication/224225329_A_SIFT-Based_Forensic_Method_for_Copy-Move_Attack_Detection_and_Transformation_Recovery</a></p><p><a href="https://www.researchgate.net/publication/270157882_STATE_OF_THE_ART_OF_COPY-MOVE_FORGERY_DETECTION_TECHNIQUES_A_REVIEW">https://www.researchgate.net/publication/270157882_STATE_OF_THE_ART_OF_COPY-MOVE_FORGERY_DETECTION_TECHNIQUES_A_REVIEW</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b202093cf896" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-6-copy-move-forgery-detection-b202093cf896">Week 6 — Copy Move Forgery Detection</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 6 — Image  Transformation According to Art Style]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/week-6-image-transformation-according-to-art-style-79bbcc368b6f?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/79bbcc368b6f</guid>
            <dc:creator><![CDATA[Oktay UĞURLU]]></dc:creator>
            <pubDate>Wed, 26 May 2021 10:32:28 GMT</pubDate>
            <atom:updated>2021-05-26T10:32:28.581Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 6 — Image Transformation According to Art Style</h3><p>Hi everyone! Last week, we have talked about our clustering results after applying the clustering on extracted features from the VGG19. Today, we will talk about more feature extraction methods that we have applied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*oKSdiejYgPXqxEp_cRSpMw.png" /><figcaption><a href="https://www.researchgate.net/publication/336545230_An_Improved_Style_Transfer_Algorithm_Using_Feedforward_Neural_Network_for_Real-Time_Image_Conversion">https://www.researchgate.net/publication/336545230_An_Improved_Style_Transfer_Algorithm_Using_Feedforward_Neural_Network_for_Real-Time_Image_Conversion</a></figcaption></figure><p>After applying the clustering on activation values extracted from the last layer activation functions, we have only got the object-based clustering method. When we research to find the best methodology to find style-based features of the artworks, we found a method which is proposed by A Neural Algorithm of Artistic Style paper. According to the paper, we can use the top layers of the VGG19 to extract texture information which composes style-based information. These layers are Conv1_1, Conv2_1, Conv3_1, Conv4_1, and Conv4_1. You can see these layer below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*44kqjgbeK0XLjxxb.png" /><figcaption>VGG19 architecture</figcaption></figure><p>After extract the activation values of these layers, these features need to extra pre-processing step to get rid of object structure and positioning information which is called Gram-Matrix. The Gram-Matrix method is applied according to the given formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*JkjnMuYCelHSUS07DSgJ1A.png" /><figcaption>Gram Matrix Formula</figcaption></figure><p>In the proposed model, these features are used directly in style transformation as an image processing operation. In the selective clustering paper, these features are used in the Robust Continuous Clustering algorithm to find the artist’s artworks that mainly contain his/her style. We have inspired this solution to separate the artist’s works into different sub-styles, and After this feature extraction step, we have composed all 5 feature vector and create one vector to use in the K-means clustering. When we applied this methodology to Van Gogh artworks, we got good results on 3 number clusters. You can see 2 different clustering sets below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E0Lb9tahrpCUnO45y8fNOA.png" /><figcaption>Example of a cluster which contains more sketch artworks of Van Gogh</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-uiLBMbXCb3JTXtJRhQo3g.png" /><figcaption>This cluster more includes Van-Gogh style</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EphcJZ9SoBtGAkfEzLVwcg.png" /><figcaption>This also contains more cold and dark coloured artworks</figcaption></figure><p>We will apply style-based clustering. Our final step is to run the cycle-gan method on different clusters which is generated by object-based and style-based clustering methods and evaluating the final results. See you next week!</p><p><strong>Contributors:</strong></p><ul><li><a href="https://medium.com/@oktay.ugurlu98">Oktay Uğurlu</a></li><li><a href="https://medium.com/@ahmetdenizguner">Ahmet Deniz Güner</a></li><li><a href="https://medium.com/@koray.kara98.kk">Koray Kara</a></li></ul><p><strong>References:</strong></p><ul><li><a href="https://arxiv.org/pdf/1508.06576.pdf">https://arxiv.org/pdf/1508.06576.pdf</a>, A Neural Algorithm of Artistic Style</li><li><a href="https://kops.uni-konstanz.de/bitstream/handle/123456789/45588/Deng_2-o7wcklpfg6zr4.pdf?sequence=1">https://kops.uni-konstanz.de/bitstream/handle/123456789/45588/Deng_2-o7wcklpfg6zr4.pdf?sequence=1</a>, Selective clustering for representative paintings selection</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79bbcc368b6f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/week-6-image-transformation-according-to-art-style-79bbcc368b6f">Week 6 — Image  Transformation According to Art Style</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Poefier Week-6]]></title>
            <link>https://medium.com/bbm406-spring-2021-projects/poefier-week-6-7ca23efbad72?source=rss----53f429690c81---4</link>
            <guid isPermaLink="false">https://medium.com/p/7ca23efbad72</guid>
            <dc:creator><![CDATA[alihan]]></dc:creator>
            <pubDate>Wed, 26 May 2021 10:32:24 GMT</pubDate>
            <atom:updated>2021-05-26T10:32:24.556Z</atom:updated>
            <content:encoded><![CDATA[<p>We have come to the end of our project. So far, we have seen how a machine learning project can be done by taking a dataset from scratch and processing it step by step. Before moving on to the last week report, let us briefly examine what we have done week by week so far.</p><p>WEEK-1</p><p>We started by explaining our subject in the first week. We tried to answer following questions. What do we want to do? Why we chose this subject? What paths we will follow? Also, we talked about our dataset and briefly give information about it. For more information you can check <a href="https://medium.com/bbm406-spring-2021-projects/week-1-poefier-b067f2a38d0f">here</a>.</p><p>WEEK-2</p><p>In week 2 we started to investigate what text classification is and provide some academic papers about it. Then we move on with the investigate our dataset. How many poems in it? What is the distribution of type? What is the distribution of age? And many other features about our dataset represented in this week. Please follow this <a href="https://medium.com/bbm406-spring-2021-projects/week-2-poefier-16542a6c2894">link </a>for further information.</p><p>WEEK-3</p><p>Bag of words and word-embedding methods were discussed in week 3. Related academic papers were shared. You can check this <a href="https://medium.com/bbm406-spring-2021-projects/blog-post-3-poefier-e1acb7dbea8e">link</a> to see it.</p><p>WEEK-4</p><p>This week we went into practice and wrote some code. These were the most well-known machine learning algorithms. We tested our data with these algorithms and compared them. These algorithms are KNN, W-KNN, Logistic Regression, SVM, Naive Bayes, Decision Tree and Random Forest Classifier, respectively. The results of the algorithms were analyzed in two different categories as age and type. Sample codes related to algorithms were shared. You can click <a href="https://alihankaratatar.medium.com/week-4-poefier-f9d15ac8c69a">here </a>for more.</p><p>WEEK-5</p><p>It was decided to use deep learning methods to make our model more complex. As a result of the meetings, we held with the teaching assistant, the decision was made on the BERT algorithm. It was explained what this algorithm is and how it works. Academic papers related to the algorithm were shared. You can see it from the link <a href="https://medium.com/bbm406-spring-2021-projects/week-5-poefier-c878f5aa0a96">here</a>.</p><p>After all this summary, coming this week, we have modeled the BERT algorithm. We managed to run it on our data. We also shared our results with the course assistant. I want to leave some of these results below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*n-vH1XJPtDk1dfSYY1NUZw.png" /><figcaption>Accuracy result for BERT algorithm</figcaption></figure><p>The results are pretty accurate for age classification but for type classification basic machine learning algorithms had better result. It can be seen in week 4.</p><p>It was a tiring but fun process for us. We were very motivated to do such a project in a lesson where we worked and worked hard. We will present the finalized version of the project next week. See you next week!</p><h3>Dataset</h3><p>You can reach our dataset from <a href="https://www.kaggle.com/ultrajack/modern-renaissance-poetry">here</a>.</p><h3>Group Members</h3><p><a href="https://medium.com/@alihankaratatar">Alihan Karatatar</a> — 21904324</p><p><a href="https://medium.com/@atakanyuksel1997">Atakan Yüksel</a> — 21627892</p><p><a href="https://ceren-korkmaz.medium.com/">Ceren Korkmaz </a>— 21995445</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ca23efbad72" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bbm406-spring-2021-projects/poefier-week-6-7ca23efbad72">Poefier Week-6</a> was originally published in <a href="https://medium.com/bbm406-spring-2021-projects">BBM406 Spring 2021 Projects</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>