<?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[Unsupervised Learnings - Medium]]></title>
        <description><![CDATA[Learning data science, one tutorial at a time - Medium]]></description>
        <link>https://medium.com/unsupervised-learnings?source=rss----55ceb5b5f290---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Unsupervised Learnings - Medium</title>
            <link>https://medium.com/unsupervised-learnings?source=rss----55ceb5b5f290---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:58:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/unsupervised-learnings" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How we came third in the Melbourne Datathon 2018]]></title>
            <link>https://medium.com/unsupervised-learnings/how-we-came-third-in-the-melbourne-datathon-2018-441f5333dea2?source=rss----55ceb5b5f290---4</link>
            <guid isPermaLink="false">https://medium.com/p/441f5333dea2</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[mode-analytics]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Heath Gilham]]></dc:creator>
            <pubDate>Thu, 11 Oct 2018 22:38:14 GMT</pubDate>
            <atom:updated>2018-10-11T22:36:25.798Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-pM10sSXzewt0cYucSDhig.png" /></figure><p>After spending two long months competing in the <a href="http://www.datasciencemelbourne.com/datathon">2018 Melbourne Datathon</a>, here are the tools we used to find our insights and achieve 3rd place in the Data2App competition.</p><h3>The Context</h3><p>Phil Brierley put together an amazing datathon with hackdays and tutorials along the way to help over 1,000 data science enthusiasts learn essential data science skills and apply them to help improve the public transport system. The datathon involved two competitions, Insights and Data2App.</p><p>The Insights competition was focused on finding useful actionable insights from the data and putting these together in a slide deck that would be presented by the top 5 teams at the Data Science Week Symposium.</p><p>The Data2App competition was focused on creating an interactive app / dashboard that allows people to interact with the data and extract insights from the data themselves.</p><p>With little direction, we had to extract insights from the PTV dataset of 1.8 billion touch on and touch offs from the last three years. This can seem like a lot of data to handle but we simply used a random 20% of the data to find our insights.</p><p>Our team, the Data Hawks, had twelve people who were keen to test their skills with a practical project which made the Datathon a great opportunity. After thinking of many ideas, we decided to focus our analysis on an important part of Melbourne culture, footy. We found an external footy dataset with data for all AFL matches since 2015 which allowed us to get unique insights from the dataset.</p><h3>The Team</h3><p>Our team was made up of <a href="https://www.linkedin.com/in/anisaistadi/">Anisa Istadi</a>, <a href="https://www.linkedin.com/in/krasikovanton/">Anton Krasikov</a>, <a href="https://www.linkedin.com/in/dain-thengunnal-74149618/">Dain Thengunnal</a>, <a href="https://www.linkedin.com/in/eng-lai-ng/">Eng-Lai Ng</a>, <a href="https://www.linkedin.com/in/heath-gilham-0460229a/">Heath Gilham</a>, <a href="https://www.linkedin.com/in/jessicayxcheng/">Jess Cheng</a>, <a href="https://www.linkedin.com/in/klaudia-magda/">Klaudia Magda</a>, <a href="https://www.linkedin.com/in/pooja-anand-bhat-1733549/">Pooja Bhat</a>, <a href="https://www.linkedin.com/in/rajat7582/">Rajat Khare</a>, <a href="https://www.linkedin.com/in/scott-meads-b3479240/">Scott Meads</a>, <a href="https://www.linkedin.com/in/timur-vafin-3861b243/">Timur Vafin</a>, <a href="https://www.linkedin.com/in/yashanyu/">Yashan Yu</a>.</p><h3>The Output</h3><p>Insights Competition: <a href="https://docs.google.com/presentation/d/1Q8Haa9lSjnZIIFJa_zwuyV3JjyeUxOVY55ZzDrWXT9Y/edit#slide=id.g41efc6ec6d_0_0">Slide Deck</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*BmObg3Sq2k6uXP2OdRdyJw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*KV_o4rgrtDBltTZBL86x1g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*-wluEoUefBjCkIOZ8RxVKw.png" /></figure><p>Data2App Competition: <a href="https://tonymontana.shinyapps.io/dashboard/">R Shiny App</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S7IKMftyrFuRtzwyLF7a2A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wmv_17wWUKSY29EsZ_zReg.png" /></figure><h3>The Results</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShDoPryIuQKRk74nzlEOKA.jpeg" /><figcaption>Picking up our third place cheque in front of a packed crowd</figcaption></figure><p>We came third in the app competition! This was a great achievement for all of our hard work.</p><p>Unfortunately, we didn’t make it to the finals of the Insights competition to present our slide deck.</p><h3>The Tools</h3><p>It was important for us to complete the whole datathon without having to pay for anything which we accomplished with the below tools.</p><h4>Getting the Insights</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*b6gDrcHGG3ThfTUVrWMUeg.png" /><figcaption><a href="https://cloud.google.com/bigquery/">https://cloud.google.com/bigquery/</a></figcaption></figure><p>We needed an easy way to discover insights without having to setup a server, that’s why we used Google BigQuery.</p><p>Google BigQuery is a fully managed data warehouse so it allowed us to get the dataset into a database ready to query with little setup. The team wasn’t familiar with Google Cloud Platform at the start of the competition however, Timur was able to show us how it worked and get us setup with our own account with $300 of free credits. Those free credits allowed us to query for two months with plenty of credits to spare.</p><p>Step one of any data science project is getting the dataset ready. The csv files we received for touch ons, touch offs, stop locations, etc were uploaded to a Google Bucket and loaded into Google BigQuery tables by running commands on the Google Cloud Shell such as the one below. The touch on data from the Google Bucket <em>gs://ptv_all_touchons/sample0_and_1*.csv</em> was loaded into the <em>touchons </em>table of the <em>ptv </em>database using this command:</p><blockquote>bq load -source_format=CSV -skip_leading_rows=1 ptv.touchons gs://ptv_all_touchons/sample0_and_1*.csv</blockquote><p>After that, we moved on to trying to extract insights from the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*F6QxMRWUquxR6ehdgb0oxQ.png" /><figcaption><a href="https://modeanalytics.com/">https://modeanalytics.com/</a></figcaption></figure><p>We needed an easy way to analyse the data and share our findings with the rest of the team, that’s why we used Mode Analytics.</p><p>Mode Analytics allows you to create analytics dashboards (known as reports) using SQL, R, and Python. They are similar to Tableau dashboards except they are focused on the output of SQL queries and are restricted when dealing with location data. These reports can be shared within the team to allow everyone in the team to see the insights and access the underlying SQL, R and Python code for use in another report.</p><p>The team wasn’t familiar with Mode Analytics however, Scott helped get us started with creating reports and sharing them with the team.</p><p>We had to connect BigQuery to Mode so that we could start creating reports. This involved creating a service account in Google Cloud Platform and linking the account to Mode Analytics (<a href="https://help.modeanalytics.com/articles/database-specific-connection-information/">Instructions</a>).</p><p>I found the Mode reports useful for documenting every idea I looked into. Since they stay the same over time, it was easy to look back at different ideas I had looked into to see what useful insights I had identified. This helped prevent us from wasting time looking into the same idea multiple times.</p><p>Here are a few examples of our workings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f4DYHyl6X-mzx9YAXBEYXg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AJNMJKpH48pmhqrTJEC5zQ.png" /></figure><p>After finding the insights and creating the slide deck, we needed to create an interactive dashboard for the Data2App competition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/211/1*tVhs439DsSV0Bygeif_jOQ.png" /><figcaption><a href="https://shiny.rstudio.com/">https://shiny.rstudio.com/</a></figcaption></figure><p>We needed a simple way to create an interactive dashboard with our R knowledge, that’s why we used R Shiny.</p><p>R Shiny allows you make nice looking dashboards with custom R code. Anton helped make our dreams a reality by building the interactive R Shiny app and deploying it publicly. We had to think of a way to show off the data in a useful way so we gave footy supporters information on when the stations closest to the MCG (Richmond &amp; Jolimont) will be busiest so that they can prepare.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wmv_17wWUKSY29EsZ_zReg.png" /></figure><p>We also combined the two datasets to predict what team a footy supporter goes based on what teams they have gone to support in the past. This allowed us to predict the team someone goes for based on what public transport stop they use and show where around Melbourne fellow supporters live. The map below is not currently displaying correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*alluVBXhuik7Q7Jic6IZnQ.png" /></figure><p>While creating the R Shiny app, we needed to keep track of all code changes on the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*WAhIuQSpJVyDgS-gUIc4zA.png" /><figcaption><a href="https://gitlab.com/">https://gitlab.com/</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*kRUkD1EAibzjxpI9wZt2nA.png" /><figcaption><a href="https://www.gitkraken.com/">https://www.gitkraken.com/</a></figcaption></figure><p>We needed to track R code changes and share privately with the team, that’s why we used Gitlab.</p><p>We needed a simple way to visualise code changes and merges, that’s why we used GitKraken.</p><h4>The Organisation</h4><p>We had twelve team members. While having a lot of team members does mean more brain power, we had to make sure everyone knew what they were focusing on and what task they had to do so that we didn’t waste time.</p><p>We had a weekly meeting on the weekend to get together. This was important as the datathon was only 8 weeks long and time can get away from you with a team who are all working full time. We would get together to think of ideas and work on our tasks together. After the meeting I would send out a summary email for those that couldn’t make it to detail what was discussed and what tasks were pending. This helped keep everyone updated and on focused.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gs0Hu5wmCWntOXqdhTZbnw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*8grN2kaZWlgl-38CzYiT8A.png" /></figure><p>Along the way we had many ideas that needed to be centralised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/231/1*StHoJvffoxJte34FnW_N3Q.png" /></figure><p>We needed to keep all of our ideas together in one place, that’s why we used Google’s apps (docs, sheets, slides, drive).</p><p>We kept all of our notes in docs and sheets when we were researching PTV and thinking of ideas to look into. We kept everything in Google Drive so that we could share ideas, publicly available PTV reports, and research papers with the team.</p><p>Once we got up to the slide deck we began using Google Slides to see everyone’s changes in real time which was important when were finalising the deck with so many people making changes at the same time.</p><h3>The End</h3><p>The Melbourne Datathon incorporated two months of learning and teamwork which I recommend to anyone interested in data science.</p><p>You learn things from the community and from your fellow teammates which helps everyone improve and grow together.</p><p>I hope you have learnt something useful from this post and consider entering the Melbourne Datathon next year!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=441f5333dea2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/unsupervised-learnings/how-we-came-third-in-the-melbourne-datathon-2018-441f5333dea2">How we came third in the Melbourne Datathon 2018</a> was originally published in <a href="https://medium.com/unsupervised-learnings">Unsupervised Learnings</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>