<?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 Jordonbirks on Medium]]></title>
        <description><![CDATA[Stories by Jordonbirks on Medium]]></description>
        <link>https://medium.com/@jordonbirks?source=rss-1efb764c74e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Jordonbirks on Medium</title>
            <link>https://medium.com/@jordonbirks?source=rss-1efb764c74e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 20:06:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jordonbirks/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[A Non-Technical Example Of Modeling Data With Random Forest Regression]]></title>
            <link>https://jordonbirks.medium.com/a-none-technical-example-of-modeling-data-with-random-forest-regression-8cf04d64d630?source=rss-1efb764c74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cf04d64d630</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[videogames]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[random-forest]]></category>
            <dc:creator><![CDATA[Jordonbirks]]></dc:creator>
            <pubDate>Fri, 02 Jul 2021 20:00:43 GMT</pubDate>
            <atom:updated>2021-07-05T10:04:33.520Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/273/1*i8zTkLfPNNgmO7W7hejW3Q.jpeg" /></figure><p>The main purpose of this article is to present a clear description of how I used random forest regression to predict the global sales of video games. I had two data sets to work with, a train and a test set. These dataset were given to me as a part of the Datern ML Kaggle Competition, they included the following variables.</p><ul><li>Global sales of the video game</li><li>ID</li><li>Name of the video game</li><li>The platform it was on (E.G. PS4)</li><li>Year of release</li><li>Genre</li><li>Publisher</li><li>Developer</li><li>Sales in the EU</li><li>Critic score</li><li>Critic count</li><li>User score</li><li>User count</li><li>Rating</li></ul><p>However the test set didn’t have the global sales because our task was to predict the global sales. This data and other infomation about the competition are available at this link: <a href="https://www.kaggle.com/c/datern-ml-competition/data">https://www.kaggle.com/c/datern-ml-competition/data</a></p><h4>Exploratory Analysis</h4><p>Using this dataset alongside several machine learning techniques I hope to find an optimal model for this data with a minimal root mean square error. After cleaning the data I went on to do some exploratory data analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*S-Pzyr7MRX568Et7_gs09Q.png" /><figcaption>Figure 1</figcaption></figure><p>From the heatmap in figure 1 we can see a strong positive correlation between global and EU sales. We can also see a mild negative correlation between global sales and ID. There also seems to be a weak positive correlation between global sales with user count, global sales with critic count and global sales with critic score.</p><p>There are some useful patterns to the categorical data however because of the messiness of the dataset I opted out of using most of these. Actually the only categorical variable I ended up using was rating. So the variables I decided to use to train my model were ID, EU sales and rating.</p><h4>Modeling</h4><p>After splitting the train data up into the sub train and test sets called X_train(80%) and X_test(20%) respectively, I was ready to train the model. I tried several different models, however none came close to the accuracy of the random forest regression model. Random forest regression works by making multiple different decision trees at the same time and giving an average result, which leads to a very complex prediction system (see figure 2 below). To do this I used a random forest regression function in the python package sklearn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*tHASoMrj4JHEtH-mmE3xvg.png" /><figcaption>Figure 2</figcaption></figure><p>After training the model on the X_train data I used trial and error methods to find the optimal number of trees to use, by estimating the global sales of the remaining X_test data. For this dataset the optimal number of trees turned out to be around 90. I then went on to make a prediction with the original test data. After this the results were transformed into the required format for the competition and submitted to Kaggle.</p><h4>Results &amp; Summary</h4><p>All the data cleaning and model selection ended up paying off with a high performance model, which had a root mean square error of 0.00661 when tested on the original test dataset. Overall this was a successful project not only because I ended up with a good model, but also because I gained knowledge and hands on experience of implementing random forest regression models.</p><p>Since I only had twenty four hours to complete this project, there are plenty of ways in which I would like to expand on what I have done. For one I would have liked to try some more machine learning methods such as neural networks or support vector regression. I would have also liked to use more of the categorical data but the cleaning was just too time consuming to justify for this project.</p><p><em>Written by Jordon Birks</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cf04d64d630" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is The Best Way To Advertise On Social Media?]]></title>
            <link>https://medium.com/analytics-vidhya/what-is-the-best-way-to-advertise-on-social-media-ee04da783b6?source=rss-1efb764c74e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee04da783b6</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[Jordonbirks]]></dc:creator>
            <pubDate>Sun, 27 Jun 2021 15:38:26 GMT</pubDate>
            <atom:updated>2021-07-15T13:02:38.260Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*-AjINhaErDwMdJSlVypiNg.jpeg" /></figure><p>Online advertising has rapidly become a huge part of most peoples business and personnel lives. In this article I will investigate the best conditions for posting an ad on facebook to maximise the attention it gets from consumers.</p><p>We will be using Facebook post data from a renowned cosmetics firm in 2014 which includes variables such as post date, post type, if it was sponsored and total post interactions for 500 posts. This dataset is publicly available for research, the details are described in (Moro et al., 2016).</p><p>All data cleaning, analysis and visualisations in this article were achieved using Python, Power BI and SQL.</p><h4>Does Sponsored Content Get More Attention?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*ROlnHz1qHTrcLaHnC7iMfA.png" /><figcaption>Figure 1</figcaption></figure><p>We can see from figure 1 that on average in this sample paid posts get 90 more interactions than unpaid posts. Although paid posts do get more attention, this doesn’t necessarily mean they are the better choice for companies. To investigate this we would need data on pricing ads and how interactions on a post relate to real sales.</p><h4><strong>What Is The Best Month And Day Of The Week To Post An Ad?</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*VeFoK_eNZgHTjrXU5p0PWA.png" /><figcaption>Figure 2</figcaption></figure><p>We can see from the above funnel chart in figure 2 that posts made in July got the highest average total interactions by a significant amount. We also see that March had the lowest number of mean total interaction with less than 30% of what they had in July. Now lets look at which weekday is best to post on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*eY5_Cn-bXApUg3fx3mDeqA.png" /><figcaption>Figure 3</figcaption></figure><p>The line graph in figure 3 shows that the mean total interactions on a post peak on Wednesdays and bottom out on Sundays. We can also see that comments and shares are practically flat throughout the week, so the swings in interactions were mostly due to the changing number of likes. Let’s now see how the results in figure 2 &amp; 3 hold up when looking at them in unison.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*0Oyhf1lUCAt3IPD5HytuXA.png" /><figcaption>Figure 4</figcaption></figure><p>Figure 4 shows a peak of mean total interaction on Wednesdays in July, which is quite intuitive from our analysis so far. However there are some contradictions in this plot, for example we can see that in most months Wednesday wasn’t the best day of the week to post. It also shows on some days like Thursdays, that July wasn’t necessarily the best month to post in to get the most attention.</p><p>This shows evidence against there being an “optimal time to post”, but instead that we should use data to find the best options under certain restrictions E.G. has to be in a certain month.</p><h4>Which Type Of Post Gets The Most Attention?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*Ix_ulX0MyyilFNY_1U2D_A.png" /><figcaption>Figure 5</figcaption></figure><p>The donut plot in figure 5 shows that pictures get the most total interactions on facebook in this data. Note that the above graph is based on the sum of the totals, not average of the totals this will be important later. Figure 5 also show links and videos only got around 2% of the aggregate total number of interactions each.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*nm7vYzS6klMARduo8L1wKQ.png" /><figcaption>Figure 6</figcaption></figure><p>Figure 6 shows an interesting result as even though videos only got 2% of the sum of total interaction they actually get the highest average total interactions. Pictures and statuses got roughly the same average interactions, we can use this info along with figure 5 to deduce that the vast majority of posts made by this company are pictures. Links got the least attention from consumers out of the four types.</p><h4>Summary</h4><p>The key results from this research are summed up here. Statistically sponsored posts get more interactions than unpaid posts. This data also shows that Wednesdays in July are the best time to post since these posts get the highest average total interactions. We also showed that videos were the most popular type of post in terms of mean interactions and links were the least popular.</p><p>Since this is a business focused research article it is important to remeber that businesses will have certain requirements for their adverts E.G. certain a month or type of ad. So the best method to find the peak conditions for an ad in a real world scenario would be to analyse the data including the companies restrictions and see what results are found.</p><p>There are many ways I would like to expand on this research. For one this dataset only had 500 instances and it was only from one company. To make the results more rigorous I would like to analyse more data from more companies and different social media platforms. I would also like to look at time of day and pricing data for sponsored ads, as I think this could reveal some enlightening and very helpful insights.</p><p><em>Written by Jordon Birks</em></p><p>Citation: (Moro et al., 2016) Moro, S., Rita, P., &amp; Vala, B. (2016). Predicting social media performance metrics and evaluation of the impact on brand building: A data mining approach. Journal of Business Research, 69(9), 3341–3351.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee04da783b6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/what-is-the-best-way-to-advertise-on-social-media-ee04da783b6">What Is The Best Way To Advertise On Social Media?</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>