<?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 Ibnfarabishihab on Medium]]></title>
        <description><![CDATA[Stories by Ibnfarabishihab on Medium]]></description>
        <link>https://medium.com/@ibnfarabishihab3?source=rss-b2389176b910------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Kex52EK9BcGZK0ob.jpg</url>
            <title>Stories by Ibnfarabishihab on Medium</title>
            <link>https://medium.com/@ibnfarabishihab3?source=rss-b2389176b910------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 07:17:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ibnfarabishihab3/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[Famous and commonly used programming languages and salary of programmers in Bangladesh]]></title>
            <link>https://medium.com/@ibnfarabishihab3/famous-and-commonly-used-programming-languages-and-salary-of-programmers-in-bangladesh-631e262a7d0?source=rss-b2389176b910------2</link>
            <guid isPermaLink="false">https://medium.com/p/631e262a7d0</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[moving-business-questions]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Ibnfarabishihab]]></dc:creator>
            <pubDate>Sat, 11 Jul 2020 06:08:50 GMT</pubDate>
            <atom:updated>2020-07-11T06:40:29.424Z</atom:updated>
            <content:encoded><![CDATA[<p>A data analysis based approach using Stackoverflow’s 2017,2018 and 2019 Annual Developer Survey data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*e42aZTxR5ZDBbrv-ioIKFA.jpeg" /></figure><h3>Introduction</h3><p>In this era where fields like Machine Learning, Data Science and Artificial intelligence are taking a rise, it is most likely that programming languages related to these fields will be in heavy use in a certain country. Being from Bangladesh, I am just curious if it is true or not. is Python or R the most used and popular language in my country ? Are these languages booming enough the way it is doing in other countries? My whole data analysis approach in these notebook will be to find the answer of these above questions and few other relevant questions.</p><p>In the following parts of this article, we will trying to find the answer of our questions by analyze real data to verify if our assumptions are right or it is just a hoax. We will be using data from annual survey of StackOverflow, a famous website to programmers from all over the world. The survey from 2017,2018 and 2019 in taking into account for the purpose of our analysis.</p><p>Before jumping into the analysis it is necessary to give a brief introduction about the data. Every year, Stack Overflow conducts a massive survey on the programmers on the site, covering all sorts of information starting from education to used programming languages, jobs, code style the follow and so on. We will picking few columns from the data to answer our questions. There were 150 questions on that survey and few sample of those questions are given below :</p><p>- What frameworks do you work with?<br>- What is your undergrad institution?<br>- Which programming language you are using this year?<br>- Which language are you planning to use next year ?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*dF1MoG1QIY-dy3dCjAgVcw.png" /></figure><p>It is visible that classic languages like: <strong>Java Script</strong>, <strong>SQL</strong>, <strong>Java</strong> are still in the top positions of Stack Overflow 2018 survey data and Stack Overflow 2019 survey data. Add to that, we can see that in 2018 ​​<strong>HTML/CSS </strong>has risen which is obvious as Bangladeshi people are more keen into web development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IKSiXEVHq6t2bDHrDQeu9g.png" /></figure><p>Figure 1 — Percentage of use of programming languages among programmers in Bangladesh</p><p>As we have seen the popular language , it makes sense to look at the desired languages of these people. We will be looking into this below:</p><h3>Part 2 — What are the most desired programming languages in Bangladesh?</h3><p>We know that <strong>Python</strong> have grown tremendously in recent days . This is happening because its’s a programming language that is very versatile and has been used extensively in data related areas. But, in our both part 1 and part 2, we cant see python which indicates that people have not adopt the rise of ML and DS which proves our hypothesis as wrong in the introduction.</p><p>Most of the programming languages ​​that have appeared as programming languages ​​most used at work, also appeared in the ranking of most desired programming languages, this show us that are many people wanting to learn these languages in Bangladesh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*wk3PwylL_Ap_5FSoTemEqA.png" /></figure><p>Figure 2 — Percentage of desire of programming languages among programmers in Bangladesh</p><h3>Part 3 — What is the average salary for each programming language in 2017 in Bangladesh ?</h3><p>It’s obvious that the programmers in developing counties earn less salary than their counterparts in developed countries during the whole period. The top three countries where programmers make the most salary. This exact scenario is visible in figure 3. It is some what weird to see why C# programmers earn less even though it is not a popular language. For popular languages, it makes sense to earn less as there a lot of supplies of programmers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*_0SCVSdOFg_DQbpyDriGKQ.png" /></figure><p>Figure 3 — Percentage of relationship of work programming languages and desire programming languages ​​in 2017 and 2018.</p><h3>Conclusion</h3><p>In this article, what were the most popular and most wanted programming languages have been found out using Stackoverflow’s 2018 and 2019 Annual Developer Survey report.</p><p>1. We have seen that some older programming languages such as JavaScript, SQL, and Java still seems to be popular.<br>2. Programming languages like HTML/CSS have been in top demand to be learned because of peoples interest in web development though the oldest ones still are in high demand.<br>3. It is visible from the bar chart that the average salaries for each language range from pretty low(around 1k) to over 100K. What’s interesting is that the most popular languages that we found in the last section are of a lower salary expectation. This makes sense as if more people know how to use a language, that skill will result in a low salary.</p><p>To see more about this analysis, see the link to my <strong>Github </strong>available <a href="https://github.com/farabi1038/Online-Course-Project/tree/master/Data%20Scientist%20Nano%20Degree/Write%20a%20Data%20Science%20Blog%20Post"><em>here</em></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=631e262a7d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dog Breed Classifier — Udacity Data Scientist Nano degree blog]]></title>
            <link>https://medium.com/@ibnfarabishihab3/dog-breed-classifier-udacity-data-scientist-nano-degree-blog-8bf4702d4cf2?source=rss-b2389176b910------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bf4702d4cf2</guid>
            <category><![CDATA[image-classification]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[classification]]></category>
            <dc:creator><![CDATA[Ibnfarabishihab]]></dc:creator>
            <pubDate>Mon, 06 Jul 2020 02:23:42 GMT</pubDate>
            <atom:updated>2020-07-06T02:28:57.058Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dog Breed Classifier — Udacity Data Scientist Nano degree blog</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*cVCG2zo3UTVsQFzuezZcsw.png" /><figcaption>An example of dog breed classification</figcaption></figure><p>github link : <a href="https://github.com/farabi1038/Online-Course-Project/tree/master/Data%20Scientist%20Nano%20Degree/dog%20app">https://github.com/farabi1038/Online-Course-Project/tree/master/Data%20Scientist%20Nano%20Degree/dog%20app</a></p><h3><strong>Overview</strong> :</h3><p>Currently, I am participating in a Nano Degree(ND) from Udacity named Data Scientist ND. As part of that ND, I need complete a capstone project , from where I chosen that Dog Breed Classifier as my capstone project. Being ML/DL enthusiast for last few years, I have not worked on a classification project where I have to classify more than 20 classes. For that particular reason, I found this Dog breed classification as a good one as this one has 133 classes or in other words 133 type of dogs.</p><p>The objective of this project is to to build a classifier that could first classify from a image whether it is a image of dog or a human and then, classify the detected dog into one of 133 dog breed categories (and in case of a human, what dog breed the detected human looks like).</p><p>The whole work will breakdown in the following steps:</p><ul><li>Step 0: Import Datasets and libraries in use</li><li>Step 1: Detection of Humans</li><li>Step 2: Detect of Dogs</li><li>Step 3: Create a CNN to Classify Dog Breeds (from Scratch)</li><li>Step 4: Use a CNN to Classify Dog Breeds (using Transfer Learning)</li><li>Step 5: Create a CNN to Classify Dog Breeds (using Transfer Learning)</li><li>Step 6: Write your Algorithm</li><li>Step 7: Test Your Algorithm</li></ul><p>We will go over every step at a time in the following section.</p><h3>Step 0: Import Datasets and libraries in use</h3><p>8351 dog images has been split into training,validation and testing following 80:10:10 ratio. The images of dog are divided almost evenly in 133 dog breed categories while a dog breed having, on average, about 50 images with an Standard deviation of about 12. In the human data set, we have 13233 images for this project.</p><p>For accomplishing the project, popular libraries like scikit-learn, keras, numpy libraries has been used to data separating, model related work and pre and post processing purpose respectively.</p><h3>Step 1: Detection of Humans</h3><p>OpenCV’s implementation of <a href="http://docs.opencv.org/trunk/d7/d8b/tutorial_py_face_detection.html">Haar feature-based cascade classifiers</a> is being used to detect human faces in images for this part. Firstly, the colored images has been converted to gray scale so that it’s easier to process those and later, cascade classifier is being used to point out the number of human faces present in the image. Finally, 100% of the images where a human was presented has been correctly identifying humans in . On contrary, 11% images have been incorrectly classified as human to be in those images, when there really wasn’t any.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*LaM4coMdd90ZMKDflN6_hg.png" /><figcaption>Detected human face in the image</figcaption></figure><h3>Step 2: Detection of Dogs</h3><p>Pre-trained <a href="http://ethereon.github.io/netscope/#/gist/db945b393d40bfa26006">ResNet-50</a> model from Keras, a tensorflow wrapper , has been to detect dogs in images. IN the ResNet-50 ImageNet weights is being used as pre-trained weights. This pre-trained model returns a prediction for the object that is contained in the image for a given image.</p><p>A string-valued file path to a color image as input and return a 4D tensor suitable for supplying to a Keras is being taken as a first step of pre-processing while later, the image has been resized to a square consist of 224×224 pixels. After that, pre-processing steps like converting the image to an array , which is then being converted to a 4D tensor, converting the RGB to BGR by reordering the channels have been done so that it fits the required size of ResNet-50. In the final step, these processed images is being feed to the pre-trained Resnet50 where it outputs the probabilities for a particular image from ImageNet category. As we are working on dogs, we checked for index ranging from 151–268(inclusive). The reason for doing is that these particular indexes are for dogs. We ended up with 100% accuracy(correctly identify the respective class) in both cases where there is dog or human in images.</p><h3>Step 3: Create a CNN to Classify Dog Breeds (from Scratch)</h3><p>In this step, a a CNN from scratch to classify the dog breeds is needed to be created which should achieve an accuracy of 1% to the least. Accuracy was chosen as our performance metric as it is a classification problem where the data are almost evenly distributed.The whole point of building a CNN from scratch is to get the notion of the working process of CNN’s like, how the learning is being done ,the significance of different types of layers like convoluted and max-pooling layers, for example.</p><p>The hinted architecture was used as it is assumable from previous experience that does not matter how hard you try unless, you train on pretty complex model with ImageNet data, the accuracy will be poor. Hence, we hinted one is used and the accuracy bar which is set to at least 1%, has been crossed.</p><p>However, by adding a fully connected layer with 133 nodes to match the classes of dog breeds with a softmax activation function, an accuracy of 4% was gained.</p><h3>Step 4: Use a CNN to Classify Dog Breeds (using Transfer Learning)</h3><p>After drastic failure in the previous step which is normal (as it is from scratch and with few data), a pre-trained VGG-16 model as a fixed feature extractor, where the last convolutional output of VGG-16 is fed as input to our model through what is called bottleneck features has been used. A global average pooling layer followed by a fully connected layer is being added, where the later one contains one node for each dog category and is accommodated with a softmax activation function.</p><p>This way of doing takes the liability of heavy processing as we are using those bottleneck features by reduces the waffling of our code and helps to gain an accuracy of around 36% with 20 epochs.</p><h3>Step 5: Create a CNN to Classify Dog Breeds (using Transfer Learning)</h3><p>In search of finding a better CNN , VGG-19, Resnet50, Inception and Xcpetion pre-trained models’ bottleneck features were given as options to choose from and the objective is to achieve an accuracy of 60% to the least.</p><p>Resnet50 model has been picked as an ideal candidate where a Global Max Pooling Layer,a fully connected layer followed by a dropout layer and finally a densed layer of 133 output have been added. By following the norm Softmax has been used as an activation function. As all of the above mentioned models, including ResNet-50, have been trained on a huge number of ImageNet images using large computational resources and known to be work best, using one of them look like a viable option for the problem we have rather than creating a CNN from scratch. On top of that, categorical cross-entropy ,sgd(stochastic gradian descent) have been used as a loss function and as optimizer respectively. After training with 20 epochs with batch size of 24, 81% of accuracy has been obtained.</p><h3>Step 6: Write your Algorithm</h3><p>The final steps in term of building is is to write an algorithm that can be use to predict the dog breed based on the provided image (dog or human). It accepts a file path to an image and first determines whether the image contains a human, dog, or neither. Then,</p><ul><li>if a <strong>dog</strong> is detected in the image, return the predicted breed.</li><li>if a <strong>human</strong> is detected in the image, return the resembling dog breed.</li><li>if <strong>neither</strong> is detected in the image, provide an output that indicates an error.</li></ul><p>This particular algorithm creates synergy among all the previously written functions ,detecting a human face, detecting a dog face, for example.</p><h3>Step 7: Test Your Algorithm</h3><p>In the last step a few sample images were tested to see the results and the it seems the classifier is doing a descent job on the given ones .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nJR8pkhWVA51xhIOft_D3A.png" /><figcaption>Few test images and the output of classifier</figcaption></figure><h3>Concluding remarks</h3><p>Though the pre-trained model did great by giving 85% accuracy, it is clearly visible from the training and validation accuracy is that model is overfitting. Using dropout of 40% did not help either which show the necessity of using batch normalization. Increasing the number of epochs might be an idea one might though but again, it won’t help until we are dealing with overfitting. Using regularization or making few layers trainable might be a good idea to try on while a complicated but effective idea would be using a grid search to find a suitable parameters. Lastly, increasing the amount of data can be a good idea depending on how well the model generalize.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bf4702d4cf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>