<?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[Exploring Data Science Through Udacity - Medium]]></title>
        <description><![CDATA[The Udacity data science course goes over a few different projects, and I would like to blog about them here. Just a place to document my experience. - Medium]]></description>
        <link>https://medium.com/exploring-data-science-through-udacity?source=rss----ade9cf291665---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Exploring Data Science Through Udacity - Medium</title>
            <link>https://medium.com/exploring-data-science-through-udacity?source=rss----ade9cf291665---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:34:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/exploring-data-science-through-udacity" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Sparkify Capstone Project — User Churn Prediction on an AWS Cluster]]></title>
            <link>https://medium.com/exploring-data-science-through-udacity/sparkify-capstone-project-user-churn-prediction-on-an-aws-cluster-fbddc134c636?source=rss----ade9cf291665---4</link>
            <guid isPermaLink="false">https://medium.com/p/fbddc134c636</guid>
            <category><![CDATA[sparkify]]></category>
            <category><![CDATA[data-sience]]></category>
            <category><![CDATA[churn]]></category>
            <category><![CDATA[spark]]></category>
            <category><![CDATA[udacity-nanodegree]]></category>
            <dc:creator><![CDATA[Joseph Alan Epstein]]></dc:creator>
            <pubDate>Sat, 24 Oct 2020 18:49:32 GMT</pubDate>
            <atom:updated>2020-10-23T09:36:25.519Z</atom:updated>
            <content:encoded><![CDATA[<h3>Sparkify Capstone Project — User Churn Prediction on an AWS Cluster</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PB8HCwQGO3s5xY2z0xmlQ.jpeg" /><figcaption>Why cancel a subscription with your music streaming service?</figcaption></figure><h3><strong>Introduction</strong></h3><p>Welcome to my capstone project, for the Udacity Data Science Nanodegree. For this final Capstone Project, I have chosen to work on the Sparkify option, which, like the some of the other projects, emphasizes prediction to enhance a product, but, unlike the other projects, emphasizes Spark. The idea with this project is to look at log files for a fictitious music streaming service, Sparkify, and predict whether or not a given user will cancel their subscription with the service. We will be leveraging Spark, and subsequently Scala, in order to look at the small dataset (128MB) or the large dataset (12GB). When looking at the large dataset, we will be using AWS, to rent a Hadoop Cluster with their EMR service.</p><h3>Small Dataset</h3><p>I decided that the best way to approach this project would be to do everything first on the small dataset: exploratory data analysis, feature engineering, and modeling.</p><p>The dataset contains log files that generate entries whenever a user makes an action on a site, like picking the next song, giving a song a ‘thumbs down’, or landing onto a new page. These files take into account information about the user, such as their location, user agent string for accessing the site, and account level: free or paid. It’s important to note that those who use the free service receive advertisements. Let’s take a look at the schema of this log file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B389PjhOolLBvMQM_DfILg.png" /></figure><h4>Checking for Missing Data</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QSS08zfgWU7OvsxNopAsGQ.png" /></figure><p>There’s an empty string for the userId, and many nulls, but more importantly the user has reached the “Logged Out” authentication status</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZpxLPvUIlGb2MP7N74tAcg.png" /></figure><p>Some actions also generate nulls, like “add to playlist”, “Roll Advert”, and “Thumbs Up”</p><p>In the future, we are going to want to run aggregations on the userId column, so that cannot be an empty string to predict on. So we will remove all userId values for an empty string. The other columns will not need the cleaned, as it will not impact the calculations or predictions in further steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H5B6BNCAbLXTyTMGVVGKKQ.png" /><figcaption>Wow, that operation removed 8,346 entries</figcaption></figure><h4>Exploratory Data Analysis</h4><p>Now, it is time to break down the dataset into the classes we will eventually try to predict, between the users who did or did not cancel their subscription with the service. After we can define the different classes, then the distribution between these two groups can be observed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0TfHhvj1Zjmcuyd6SdyNcg.png" /></figure><p>After running the above operation, the (small) dataset shows that 52 people have left their service, with 225 total being having signed up.</p><p><strong>Looking Deeper at the Columns</strong></p><p>Before addressing each column, and their distributions, I want to first take mention of the columns that will not require further analysis:</p><p><strong>auth</strong>: This column is used to talk about the user authentication steps, such as logging in and out of the service. Information like this can also be found in looking at unique sessionId’s, which are generated, and terminated based on the actions defined in this column.</p><p><strong>firstName, lastName</strong>: These columns contain unique identifiers, which would only aid in directly identifying that the userChurned. Furthermore, I’m not sure that people avoid using a particular service because of their first, or last name (ok, maybe I can think of examples, but it doesn’t seem likely).</p><p><strong>length</strong>: This column will not be looked at as it simply describes the length of the song that is currently being listened to. This choice seems up to the user, and would happen regardless of the music streaming service.</p><p><strong>method</strong>: Certain page actions will happen through GET or POST methods, so it is more informative to look at the more meaningful action that cause the GET or POST.</p><p><strong>registration</strong>: This is an informative column, but the same information may be obtained by looking at the minimum value of a particular userId’s ts column.</p><p><strong>song</strong>: There are simply too many songs for this information to be informative. As the service is only about the end user listening to music, other metrics about total amount of usage can offer the same information.</p><p><strong>status</strong>: This column refers to the http response status code. Values other than 200, for a successful response will be captured by the “Error” value in the page column.</p><p><strong>userId</strong>: userId will be leveraged for aggregation, and later deduplication of the data, to ensure each entry represent a user and their features. However, at that point we should not use this for prediction, as it will correlate directly with the value we want to predict, userChurned.</p><h4>Bar plots — for count of categorical data</h4><p><strong>Gender</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*it4EbrbMOQKxO11Ecd1BKw.png" /></figure><p><strong>Level</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*1GVY0gfAH3iwRlWRV1QjeQ.png" /></figure><p><strong>Page</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AfjUFwzs5ow0U-g_IyC2Ug.png" /></figure><h4>Let’s make more meaningful columns for location and userAgent</h4><p>The location column, and the user agent column, contain data that can be split into separate, more sensible, columns. The location column can become a city, and a state column. Also, the user agent column provides information about the user, such as the browser and platform, used to access the service (both becoming their own columns). Let’s take a look at this data, and compare users who did or did not churn from the service.</p><p><strong>State</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oOTkRAQn8HHfely0d_6h6g.png" /></figure><p><strong>Browser</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*Ng_VO-9DiCYZWOLBhb2RJg.png" /></figure><p><strong>Platform</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*nidoAahb2GtIevGTQW6H4Q.png" /></figure><p>Looking at this graph, my immediate insight is the difference in mac and windows users, seems that you’re much more likely to stay, if you are using a Mac or a Windows machine to access the service. But, we will look further at feature importance, after the modeling step.</p><h4>Box and Whisker plot — for numerical data</h4><p><strong>Artist column</strong>:</p><p>Maybe, people who do not like the music service do not explore as many artists. So, create a column for the number of distinct artists each user listened to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*4lDnq6c4gce-tOvNIB_1eA.png" /></figure><p><strong>Session columns — itemsInSession and sessionID</strong>:</p><p>From these values, we will discern the length of the average sessions, number of entries it generated, and the number of sessions used by a user, by looking at the distinct number of session ID’s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*jQHF4fhHjxW4qDoQh6Mqow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*Nx1DWII3xCBfRCMhNv3aWQ.png" /></figure><h4>Feature Engineering and More Visualizations</h4><p>After getting acquainted with the data, cleaning it and analyzing the values of different columns, I began to think of different ways this information could be represented. Having the ts (timestamp) column made me think of tracking the users actions on a daily basis, and creating columns for those. I then created another column based on the ts data, called uniqueDay, so I could run aggregations on this value. First I amassed the total number of interactions for each day, then those were averaged and created into a new column for the average daily interaction.</p><p><strong>Thumbs up</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*9C63l9DbwRSh2h4ZtmWV6Q.png" /></figure><p><strong>Thumbs Down</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*5T-3gK1KExc9NEVZ5uJdow.png" /></figure><p>If we remove the outliers from this graph, then the difference is clear, maybe these users are not being recommended songs that they like, discouraging them from using the service.</p><p><strong>Errors</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*syPXeOEWZXvQfT_CLJj7kg.png" /></figure><p><strong>Advertisements</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*PgyunO8VY5TIs8hrEJEtqA.png" /></figure><p><strong>Next Songs</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*vXyadxaUX5_bdHjpj1mbow.png" /></figure><p>I then engineered another feature that was not based on daily metrics. Instead I looked at some other feature that would apply to the user over the entirety of their time using the service, like the duration of time passed since registering with the service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*cB1-DavDCP9LqRTQF9LHmA.png" /></figure><p>Before we begin the modeling step, let’s take a look at the result of engineering our features, and pick and choose which of these features we are going to keep.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*vRhSJyX9z3fpr3f-Pegxrg.png" /></figure><p>We will now construct a dataset containing just the variables for prediction., deduplicating on the ‘userId’ column, in order to predict the userChurned column for a given user. Then we will select the important features to define a user, for the categorical variables: ‘gender’, ‘level’,’browser’, ‘platform’, ‘state’, ‘city’ , and numerical variables: ‘avgDailySessions’, ‘avgSessionLength’, ‘avgDailyThumbsUp’, ‘avgDailyThumbsDown’, ‘avgDailyErrors’, ‘avgDailyAdvertisements’, ‘avgDailyNextSong’, ‘totalDistinctArtists’, ‘durationUsingService’.</p><h4>Feature Preprocessing</h4><p>The modeling step will be broken down into vectorizing the data, training a few models, and improving the best performing model through cross validation.</p><p>Vectorizing the data took the form of leveraging StringIndexer, for categorical variables, and VectorAssembler for numerical variables. It’s important to note that the numerical variables were scaled, and then passed through another VectorAssembler, along with the categorical variables, to produce one vector representing all of the features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qRMKOhE-6Tzc0jlAXN_mWg.png" /></figure><h4>Performance Metrics</h4><p><strong>F1 Score</strong>: The target variable that we are trying to predict, whether or not a user churned, is represented by a 1 or a 0. Therefore, we should be solving this problem as a binary classification. Sometimes, we will predict the existence of the userChurned property, and it will be correct, or incorrect, the difference here is between a false positive and a true positive. The same can be said about the negative results. Taking into account these different areas of accuracy, we can calculate “Precision” and “Recall”, but also the more robust F1-Score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Jl8sPFVC4JxK-MuaN9X4w.png" /><figcaption>See <a href="https://en.wikipedia.org/wiki/F-score">wiki</a> for more on these calculations</figcaption></figure><p><strong>Area Under ROC</strong>: I will be using this metric as well to measure the results of my models, since it also leverages binary classification. This metric is also based on binary classification, but instead of using precision and recall, it uses sensitivity and (1-specificity). These metrics are calculated with true positives, false negatives, etc. but looks at the rate that these values increase. Thus, a high score in Area Under ROC will demonstrate accuracy, but also emphasize the gap between number of true positives and true negatives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KBZN4BGNBoM8nCgCWapO2g.png" /></figure><h4>Modeling</h4><p>I then split the data to create a training and test set to train a few models: Logistic Regression, Random Forest, and Gradient Boosted Trees.</p><p><strong>Step 1</strong>: I began by testing for the F1 score and Area Under ROC for a Logistic Regression model. I chose this model as the baseline for my other models because the model is a generally simple classifier, and a more complicated model should produce better results. Here are the baseline metrics to compare the more complex models against: F1 score of 79.55% , and Area Under ROC score of 85%.</p><p><strong>Step 2</strong>: I then tried out a Gradient Boosted Trees model, to see if this would improve the results of the baseline. However, this was not the case, with the following metrics returned: F1 score of 60.27% , and Area Under ROC score of 72.71%. As this model is more complicated, I concluded that this model performed much worse because it needed more data to work with, we are currently only using the small dataset locally.</p><p><strong>Step 3</strong>: I wanted to try out one more complex model, to see if maybe the issue was the model itself in the previous step, and not the lack of data. However, this model also did not perform as well as the baseline logistic regression model: F1 score of 71.97% , and Area Under ROC score of 77.08%. The F1 score is slightly better, but the Area Under ROC is significantly worse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*AHgHg7xx8QUlt_y4JYbMtQ.png" /></figure><p><strong>Step 4</strong>: Since the baseline model ended up working the best, I decided to run a crossvalidator on it and hypertune the parameters: <strong>elasticNet and maxIter</strong>, though only increasing the max iterations improved the model. Of course increasing iterations will force the model to learn more patterns, and it’s important that when choosing a solution like this to check the potential for overfitting. As a counter to increasing the iterations, I used elasticNet to potentially regularize the regression, and reduce complexity. Here are the results: F1 score of 79.55%, and Area Under ROC of 83.33%. It will now be interesting to see how these results change when looking at the full dataset. These values are lower, but according to the table below, there was an increase in value when setting maxIter to 50, not just 10. So, the elasticNetParam must not affect this data as much.</p><p><strong>Hyper-parameter values</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*pS8IuJm8E4F2vXcoTzlTwA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*VAqfDEJthUkfhPNaPb8CCQ.png" /></figure><h4>Feature Importance</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*EX_fPhvQKTULOEBBOJPyxg.png" /></figure><h3>Large Dataset</h3><p>In order to look at the large dataset, I turned to AWS, and used their EMR service. Through this service, I was able to leverage a Jupyter notebook to look at a 12GB dataset, 25 million rows.</p><p>I went through the same steps as the above data cleaning, and data preprocessing, but when I got to the checking the model performance, I noticed a clear difference. This time, they were all returning an F1 score of a little over 80%. I guess the other 2 models needed much more data in order to achieve a reasonable accuracy.</p><p>I improved the logistic regression model through cross validation, but there were barely any improvements. I then ran cross validation on the Random Forest model (for the following parameters: maxDepth, and impurity).</p><p><strong>Hyper-parameters</strong>: The following parameters were chosen to increase accuracy on the dataset. The first <strong>maxDepth</strong> allows for the Decision Trees within the random forest to grow to a larger depth, learning more combinations, but risking overfitting. I thought that this would not be such a risk, as the dataset is now much larger, and more difficult to overfit on.<strong> </strong>The second,<strong> impurity</strong>, helps to define the method of the classifying a node with ‘Gini’ classifying for an exact index value, and entropy running calculations to find the closest value. So, the Gini index should work best for our binary classification problem.</p><h3>Final Results</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WhNxHA9QIbxEzBxdK2gfXg.png" /></figure><p>In utilizing the cross validator, and a much larger dataset, the Random Forest model ended up returning the best results in predicting User Churn. With the help of Spark, and AWS, the training of these models was fairly cheap, and quick (it took longer to look run these models locally on the smaller dataset)!</p><h3>Be Careful when Using Spark</h3><p>When using Spark, there is the consideration of memory, and delegating Spark jobs to workers. Spark retains calculations in memory before giving the answer to the end user, this is to create a DAG. The DAG will efficiently run through the operations, in the most efficient order possible, to reduce runtime and memory. Here are some problems I ran into when using Spark casually, and the solutions that I came up with.</p><ol><li>If you’re working on feature engineering, chances are you’re creating columns and appending them to your dataframe. It’s possible, you want to run an aggregation, create a new table, and run a join with the original dataframe. However, there are issues when running joins on a clone of the original dataframe! See this <a href="https://stackoverflow.com/questions/45713290/how-to-resolve-the-analysisexception-resolved-attributes-in-spark">stackoverflow</a> for a full discussion and the location for my solution.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pzbghRUwYjKeLDmpCn_Xxg.png" /><figcaption>I had to rename the column to have the same name…</figcaption></figure><p>2. After running the code many times over, calling user_log.show(5) whenever I felt like it, and running multiple models, everything stopped working. I couldn’t output anything related to the user_log, what happened? Well, after forcing the model to deliver the output multiple times, interrupting the DAG, and running fit methods for multiple models, the driver ran out of memory. The solution here was to reduce the number of times I called for results, and simply cache the training and test datasets, to safely run my models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*soxfxretCqQZ1q_em7AFaQ.png" /></figure><h3>Further Improvements</h3><ol><li>I think that designing more complicated features from the dataset would help to improve these predictions. Such as taking into account not only daily behavior, but weekly and monthly as well. I’d also like to look at specific user journeys, like number of times a user ended a session immediately after receiving an advertisement.</li><li>The model could be run for much longer, trying out more hyper-parameters, to achieve the best combination of options.</li><li>Lastly, the models performance could be tested against realtime log files, to see if a user that is predicted to eventually leave can be targeted and convinced to stay with the service. The model can then predict which users are worth targeting.</li></ol><h3>Github</h3><p>Check out my <a href="https://github.com/joepstein/udacity-data-science-capstone-sparkify">code</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbddc134c636" width="1" height="1" alt=""><hr><p><a href="https://medium.com/exploring-data-science-through-udacity/sparkify-capstone-project-user-churn-prediction-on-an-aws-cluster-fbddc134c636">Sparkify Capstone Project — User Churn Prediction on an AWS Cluster</a> was originally published in <a href="https://medium.com/exploring-data-science-through-udacity">Exploring Data Science Through Udacity</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stack Overflow Survey — How to be Satisfied in the Field]]></title>
            <link>https://medium.com/exploring-data-science-through-udacity/stack-overflow-survey-how-to-be-satisfied-in-the-field-d3e664e939b2?source=rss----ade9cf291665---4</link>
            <guid isPermaLink="false">https://medium.com/p/d3e664e939b2</guid>
            <category><![CDATA[stackoverflow-survey]]></category>
            <category><![CDATA[descriptive-statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Joseph Alan Epstein]]></dc:creator>
            <pubDate>Sun, 23 Aug 2020 19:28:23 GMT</pubDate>
            <atom:updated>2020-08-23T19:28:23.016Z</atom:updated>
            <content:encoded><![CDATA[<h3>Stack Overflow Survey — How to be Satisfied in the Field</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o8vwR3fGT4jiXaU3YzdC3w.jpeg" /></figure><p>Hey everyone! Here to talk about that ever relevant StackOverflow survey. Maybe, every Data Scientist has looked at it, but it’s always interesting to want to check back in, and start exploring the information that fellow developers are giving us. One of the questions that I’ve seen explored, in regards to this dataset (see here <a href="https://medium.com/@josh_2774/how-do-you-become-a-developer-5ef1c1c68711">https://medium.com/@josh_2774/how-do-you-become-a-developer-5ef1c1c68711</a>), is how a person becomes a developer. I started to think of other insights that this dataset could provide. I started from the stance of someone who has already become a developer (I work in web development), and asked myself a question, that I think many other people have asked themselves, “How do I become a happy developer?”. As well as a hypothesis, maybe looking at the happines (‘JobSatisfaction’ in the dataset) over a period of time in the career would shed some light on this question.</p><p>The inspiration for this came from the ‘JobSatisfaction’ column, and, after sifting through the columns in the dataset, I decided that these ones may be relevant to my question: ‘Professional’, ‘Country’, ‘FormalEducation’, ‘HomeRemote’, ‘CompanySize’, ‘CompanyType’, ‘YearsProgram’, ‘DeveloperType’, ‘JobSatisfaction’, ‘Salary’. It will be interesting to take a look at the values of their R2 error, once converting these categorical variables to dummy variables. In looking at the data, I noticed many values for the ‘YearsProgram’ column, and I decided to reduce the number of columns here, as well as remove any missing values (The categories are already too broad to impute with something sensible, like the mode).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vJI42tqV3tk-hgKIG2lNEQ.jpeg" /></figure><p>My first step in analysis was to take a look at the means of the quantitative values in the working set: ‘Salary’ and ‘JobSatisfaction’. It’s probably easy to guess what trend I saw here, but it’s nice to have the numbers support it. As the years increased, so did the values for both ‘Salary’ and ‘JobSatisfaction’. After looking at the quantitative variables, naturally, I began to wonder about the qualitative variables, which were better predictors. Next step was to build a function that calculated the R2 error for a particular categorical variable, and pass the rest of them through. I found that the best predictor of JobSatisfaction, across all age ranges was HomeRemote. Not a huge surprise there, as developers are generally independent workers. There was a lot of interest though, in the 2nd best predictors, which changes after 0–10 years. Secondarily, people under 10 years of programming, the best predictor is the ‘Professional’, and afterwards it is the ‘CompanyType’ category. I made some bar plots here, to see which values of these categorical variables would produce the highest JobSatisfaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*MzqYqghW3tZ4tckYnPiA0Q.png" /></figure><p>Wow, I know I went digging for these answers, but sometimes, they can be hard to face. After college, I was all self-taught in terms of web development, and that was certainly when I was the least satisfied with my job. At that time, I was working at CVS, trying to get that big break into development. It’s hard to break into the field, that’s for sure, but it’s the commitment to the time to learn how to code, that prepares anyone for this kind of job. After 10 years, of programming I can understand that, whether or not you consider yourself a professional starts to matter less, you are what you are at that point. And yet, something else becomes more important, the CompanyType.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*__0Vhk3uiuIZIrjwqRC8Sw.png" /></figure><p>Continuing with the trend of HomeRemote, the developers who are the most satisfied within the CompanyType category are those working independently. More sepcifically though, these developers are working at startups, and the least satisfied developers are working within state owned companies, or a publicly traded organization. It has become more clear to me that, developers need their space to produce work in a happy way. Now, I know the “happy way” is not necessarily the best way, but it was the intended question to answer. So, how to be happy in development, a few pointers from this dataset:</p><h3>1. Stick with it!</h3><p>As you continue to progress this skill, you will simply start to see more money coming in. Yes, money does not equal to happiness, but it is important to see the fruits of your labor. In other words, there is a lot to gain from continuing to work hard, and not worrying too much.</p><h3><strong>2. Improve your day to day responsibilities.</strong></h3><p>If you have spent time learning how to program, well, you should be spending time in the office programming. Putting in effort outside of work, and not utilizing it, will cause anyone to be less satisfied in there day to day. This is always relevant to developers, who are constant learners by nature. This may mean having a conversation with your boss, and if that doesn’t go well, having a conversation with a recruiter. Do not compromise the things you spend time teaching yourself.</p><h3><strong>3. Be realistic about the company you work for.</strong></h3><p>So you stuck with it, and you’re a bonafide developer. You’re making more money and you’re more satisfied. That’s great, but don’t be complacent. There are many companies that are not structured correctly to manage their developers, so you have to be the change you want to see. Take the leap, and become a part of a startup. You’ll have to push yourself harder, but you’ll find yourself more satisfied than you were at that job where you were merely complacent.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3e664e939b2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/exploring-data-science-through-udacity/stack-overflow-survey-how-to-be-satisfied-in-the-field-d3e664e939b2">Stack Overflow Survey — How to be Satisfied in the Field</a> was originally published in <a href="https://medium.com/exploring-data-science-through-udacity">Exploring Data Science Through Udacity</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>