<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://pleonova.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://pleonova.github.io/" rel="alternate" type="text/html" /><updated>2025-08-03T23:35:34+00:00</updated><id>https://pleonova.github.io/feed.xml</id><title type="html">Paula Leonova</title><subtitle>A data science portfolio with projects and posts</subtitle><author><name>Paula Leonova</name></author><entry><title type="html">My MLOps Journey - Getting Started</title><link href="https://pleonova.github.io/mlops-getting-started/" rel="alternate" type="text/html" title="My MLOps Journey - Getting Started" /><published>2021-06-24T00:00:00+00:00</published><updated>2021-06-24T00:00:00+00:00</updated><id>https://pleonova.github.io/mlops-getting-started</id><content type="html" xml:base="https://pleonova.github.io/mlops-getting-started/"><![CDATA[<p>This is a somewhat lengthy post, but I wanted to provide you, the reader, with a bit more background about how I approach learning, specifically MLOps, in the hopes of either reducing the cold start problem of finding your first resource in the area or perhaps reducing some anxiety around the perceived linearity of learning and the importance of getting your feet wet, even if it means just dipping your toes in (my sad attempt at a metaphor of how it is better to try something, even if it is very small, rather than standing on the sidelines because you are afraid of jumping in headfirst - though, when it comes to swimming, sometimes the latter is actually easier - but I digress).</p>

<p>Below, I’ve outlined three steps that I have been following and the resources I have found invaluable in my learning journey.</p>

<h1 id="step-1-familiarize-myself-with-the-mlops-landscape">Step 1: Familiarize myself with the MLOps landscape</h1>
<p>Finding a good starting learning resource to reference makes a whole lot of difference. However, this can take time as there are lots of resources and the first one may not always be a good fit, therefore I tend to jump around a bit in the beginning between different resources until I find something that I can sink my teeth into. My go to strategy to get a solid foundation in a topic is to audit online courses and read through O’Reilly textbooks, which I supplement with blog posts, tutorials and eventually papers. Sometimes I do the latter in order to get a better lay of the land.</p>

<p>Initially, in my Machine Learning Operations journey, I was following <a href="madewithml.com">Goku Mohandas’ MLOps lessons</a> as he was posting them. I came across his website madewithml.com before the pivot from an AI forum aggregator of sorts to a more MLOps focused course. There were certain topics I wanted to jump to that he hadn’t yet posted about, so I started looking around for additional resources (at time of writing this, he has posted all the lessons and I would highly recommend his free course).</p>

<p>It wasn’t too much later that DeepLearning.ai announced their newest MLOps specialization. I had, for a brief period, however, actually taken a small pause from my initial MLOps goal while Goku uploaded the remaining lessons, to focus on NLP - another topic I was particularly interested in. <em>Thankfully</em> there is no shortage of material to learn in data science (I say that both sarcastically and enthusiastically). I had bookmarked a while back <a href="http://web.stanford.edu/class/cs224n/">Stanford’s CS 224: Natural Language Processing with Deep Learning</a> and so started going through the material. I wanted to supplement the class with another one and also started taking Deeplearning.ai’s NLP courses, which is where I heard about the latest specialization MLOPs launch. Andrew Ng was teaching the first course in the MLOPs series and since I am a big fan of his teaching style, which tends to focus on practical hands-on experience with just enough theory so you understand the formulas and tradeoffs at a high level, I was really excited about the course. At this point, I got back on track to my MLOps journey.</p>

<h1 id="step-2-get-to-coding-as-soon-as-possible">Step 2: Get to coding as soon as possible</h1>
<p>The labs in the first course <a href="https://www.coursera.org/learn/introduction-to-machine-learning-in-production?specialization=machine-learning-engineering-for-production-mlops">Introduction to Machine Learning in Production</a> of the MLOps deeplearning.ai specialization were great as they focused on getting a model up and running and were super well documented. I pretty much immediately jumped to these after only an hour of watching the material so I could see how the course content was applied to a problem (I would highly recommend reading through and running the <a href="https://github.com/https-deeplearning-ai/MLEP-public/blob/main/course1/week1-ungraded-lab/server.ipynb">Ungraded Lab Part 1 - Deploying a Machine Learning Model</a> notebook).</p>

<p>I also searched for additional tutorials to see what other approaches there were. I found this fantastic youtube tutorial by Mike Nemke: <a href="https://www.youtube.com/watch?v=Maj9v-Ev7-4">Rapidly build &amp; deploy an NLP / Machine Learning App with Poetry, FastAPI, Docker, Spacy &amp; GCP</a> and his accompanying blog post <a href="https://www.mktr.ai/building-and-deploying-an-ml-app-part-1/">here</a> and coded along with the step by step youtube tutorial. I thought that it was very easy to follow and provided just enough information about the various tools used that you knew how they fit into the overall picture. Since the video is a little older, a few dependencies needed to be handled differently, but otherwise you can get an NLP model up and running on the Google Cloud Platform within a few hours.</p>

<p>I’ll admit that I often have more questions after following these tutorials and go back to step 1 instead of 3. I can sometimes find myself going down a rabbit hole by trying to get a solid foundation in every topic/concept I encounter. At a certain point, once I have enough of the basics down however, I need to get to step 3. Inevitably, more questions will arise and it will become an even less linear of a learning process, the goal is however to get a version of my minimum viable product up and running, rather than just following along a tutorial.</p>

<p>I think trying to have every step in MLOps perfected/fully understood is futile (I think this is true for many topics in Data Science). In order for it to be more manageable, from a learning perspective, I think a more iterative approach is best. Get something to work, review reference material, add another part of the pipeline working, look up a new step, just keep further optimizing the steps, the key is do it in parts, so something is working, even if it is not the most optimal at first, afterall “Perfect is the enemy of good”.</p>

<h1 id="step-3-apply-what-i-have-learned-so-far-to-my-own-problem">Step 3: Apply what I have learned so far to my own problem</h1>
<p>Once I get a few practical examples under my belt and am aware of a couple of different approaches, I try to fit my own problem into the solutions I’ve found. I don’t try to upend everything at once, but rather modify parts that will help me get closer to solving my problem. Here, I also try to simplify my own problem, perhaps reducing it to its absolute core, so that my model is not the most accurate but requires less computation and fewer steps. In this case, the goal isn’t a perfect model, but rather an MVP.</p>

<p>This is the most important step and where a lot of learning takes place. It’s also the hardest, but the most rewarding, if you keep at it. Getting practical hands-on experience is key and overcoming the hurdles that you will inevitably encounter will make you a better data scientist as those are the types of problems you’ll face on a day to day.</p>

<h2 id="list-of-mlops-resources-in-this-blogpost">List of MLOps resources in this blogpost:</h2>
<ul>
  <li><a href="https://www.coursera.org/learn/introduction-to-machine-learning-in-production?specialization=machine-learning-engineering-for-production-mlops">Andrew Ng: Deeplearning.ai’s Introduction to Machine Learning in Production</a></li>
  <li><a href="https://www.youtube.com/watch?v=Maj9v-Ev7-4">Mike Nemke: Rapidly build &amp; deploy an NLP / Machine Learning App with Poetry, FastAPI, Docker, Spacy &amp; GCP</a></li>
  <li><a href="https://www.madewithml.com">Goku Mohandas: Made with ML - MLOps course</a></li>
</ul>

<p>Also, if there are any resources you have found invaluable in your journey, I would love to hear about them!</p>]]></content><author><name>Paula Leonova</name></author><category term="MLOps" /><category term="Deeplearning.ai" /><category term="Machine Learning" /><summary type="html"><![CDATA[How I approached learning MLOps and what resources I started with.]]></summary></entry><entry><title type="html">How has my life changed since shelter-in-place (in charts)?</title><link href="https://pleonova.github.io/shelter-in-place/" rel="alternate" type="text/html" title="How has my life changed since shelter-in-place (in charts)?" /><published>2020-05-16T00:00:00+00:00</published><updated>2020-05-16T00:00:00+00:00</updated><id>https://pleonova.github.io/shelter-in-place</id><content type="html" xml:base="https://pleonova.github.io/shelter-in-place/"><![CDATA[<figure align="center">
	<a href="/images/shelter-in-place/meme_reddit_theweirdinstruction.png">
    <img src="/images/shelter-in-place/meme_reddit_theweirdinstruction.png" style="width:100% !important;" /></a>
    <figcaption><a href="https://www.reddit.com/r/dankmemes/comments/fjtg9v/hol_up/" title="theweirdinstruction">via theweirdinstruction</a></figcaption>
</figure>

<p>I am no stranger to a Netflix season binge accompanied by some takeout and perhaps a bottle of wine. Youtube and I were also quite well acquainted before the shelter-in-place went into effect. I am familiar with the illusion of the short 5 minute video and how easily it turns into just 5 more minutes and before you know it, it’s been 45 minutes.</p>

<p>So how exactly has my life changed?</p>

<h2 id="exercise-or-the-lack-thereof">Exercise, or the lack thereof</h2>

<p>Too bad watching someone exercise on Youtube doesn’t count. Walking from the couch to the kitchen back to the couch, then to my desk just doesn’t add up to that many steps (it’s less than 2k steps, but who’s counting).</p>

<p>I realized that I am a destination walker, I need purpose other than the walk itself. I used to walk to work when I got off the Caltrain in SF, not because I wanted exercise, but primarily because they moved the bus stop one street in the opposite direction of my office. I walked further to avoid paying extra parking fees. I’d walk to the field where pickup ultimate was, and if it was possible to park any closer to the field, I would have.</p>

<p>Nowadays if I get more than 6K steps, that’s a good day (though that was also a good day before, it was just less effort). Maybe I should consider adopting a dog, that is if there are any left in shelters. I have now walked around my neighborhood more in the last 2 months than I have in the 4 years that I lived here (who knew there was such a nice residential area several blocks over and even a couple of “hidden” parks).</p>

<figure align="center">
	<a href="/images/shelter-in-place/active_daily_rolling.png">
    <img src="/images/shelter-in-place/active_daily_rolling.png" style="width:100% !important;" /></a>
    <figcaption>A chart of daily time spent moving with a rolling average. </figcaption>
</figure>

<p>So how does my activity level compare to before? If I just look at time spent moving, I spent an average of 3 hours doing some sort of physical activity before, whether it was walking over to the kitchen in the office or snowboarding on the weekend. I am currently spending 2 hours moving, on average (you can only go on so many walks, imo).</p>

<p>Just eyeballing the chart below, the two density plots don’t look all <em>that</em> different, right? At this point, that’s wishful thinking. Sadly, technically speaking, they actually are <em>quite</em> different (running a Welch’s t-test on the data shows that there is actually a significant difference in average time spent moving). This does not come at that much of a surprise.</p>

<figure align="center">
	<a href="/images/shelter-in-place/active_differences_pre_post.png">
    <img src="/images/shelter-in-place/active_differences_pre_post.png" style="width:75% !important;" /></a>
    <figcaption>Comparison of my active hours before and after shelter-in-place.</figcaption>
</figure>

<p>What is interesting, though not really surprising if I think about it more, is how much variability I had before. I definitely had a handful of days where I got fewer steps in than I do now, but I would “make up for it” on the weekend (that’s how exercise works, right). Ultimately, those “make up” days, at least time wise (not accounting for intensity), did result in moving the average up. I had enough of those days to offset the low activity days.</p>

<p>Since I have gotten a bit tired of walking, I’ve recently started to add a bit more variety to my activities (and intensity to my occasional workouts), I have started cycling and, having watched enough Youtube videos, actually feel confident enough to give some of them a try (my recommendations <a href="https://www.youtube.com/channel/UCaBqRxHEMomgFU-AkSfodCw">Chris Heria</a>, <a href="https://www.youtube.com/channel/UCjfG0dyMUiqKleUnkX6zBrA">Natacha Oceane</a>, <a href="https://www.youtube.com/channel/UCpQ34afVgk8cRQBjSJ1xuJQ">MadFit</a> and <a href="https://mrandmrsmuscle.com/pages/workouts">MrandMrsMuscle</a> ). I am curious to see the variations of difficulty of my workouts, which I will take a closer look at in a future post.</p>

<p>Hopefully some of these newer habits stick around after we return to some level of normalcy, but who knows, this might be the new normal for a while.</p>

<p>So if I am spending less time moving, what am I spending more time on?</p>

<h2 id="my-laptop-and-smartphone-are-my-new-best-friends">My laptop and smartphone are my new best friends</h2>

<p>Let’s be real, they aren’t new friends, we are just getting acquainted on a whole new level.</p>

<p>My previous device usage was like a pendulum; I would have stretches of time that I would spend long hours on the computer and periods where I would achieve a better balance. Now, most days are the same, with an occasional day here and there where I manage to spend fewer than 4 hours staring at a screen.</p>

<figure align="center">
	<a href="/images/shelter-in-place/device_daily_rolling.png">
    <img src="/images/shelter-in-place/device_daily_rolling.png" style="width:100% !important;" /></a>
    <figcaption>A chart of daily time spent on a device with a rolling average. </figcaption>
</figure>

<p>I am surprised that I previously had several days where I spent even more time on the computer then I did during shelter-in-place. I was even more surprised that the number of days which exceeded 10 hours only differed by two days, with 10 days exceeding 10 hours of screen time during shelter-in-place.</p>

<p>I’ve definitely spent a lot of time obsessing over the news, whether it was following along what was happening in Wuhan on Twitter back in January when it all first started or the hourly updates as the shelters started to take place to now as parts of the country start to re-open.</p>

<p>Youtube, HBO and Netflix have been my escape. I watched so much stand up comedy (I feel like I owe a special thank you to the following comedians: Sam Morril, Mae Martin, Josh Johnson, Emily Heller, Jim Gaffigan, Taylor Tomlinson, Rachel Mac), finished a handful of shows (Westworld, Unorthodox, Feel Good to name a few) and started watching youtube videos of tiny homes (I find them theraputic and love seeing how different people design essentially the same tiny space).</p>

<p>I have been able to complete an online course in this time (here’s my final project: <a href="https://github.com/pleonova/stat-tests">A statistical flow chart</a>) and wrap up the first phase of a <a href="https://github.com/pleonova/data-diary">semi-automated self tracking project</a> used to <a href="https://github.com/pleonova/data-diary/blob/master/pre_post_shelter_in_place.ipynb">generate the charts for this post</a>.</p>

<p>Since my day job entails a lot of computer time, I picked up an old textbook, old being a relative term, on TensorFlow just so I can get a break from my screen.</p>

<p>I’d say I have been both productive and uproductive, in a way, my old pendulum self, just within the realm of a device. Whereas before I was spending 67% of my awake time on a device, I am now up to 78% (yikes, that’s a lot!).</p>

<figure align="center">
	<a href="/images/shelter-in-place/device_differences_pre_post.png">
    <img src="/images/shelter-in-place/device_differences_pre_post.png" style="width:75% !important;" /></a>
    <figcaption>Comparison of my device usage before and after shelter-in-place.</figcaption>
</figure>

<p>This chart, just like the first chart on exercerise, just emphasizes how little variety there was day-to-day. And if we run a formal Welch’s t-test on the data (I am certain that is where your mind went after seeing those Gaussian distributions), I am, statistically speaking, spending on average more time staring at a screen now than I was prior to the shelter-in-place.</p>

<h2 id="surely-i-am-sleeping-more">Surely I am sleeping more…</h2>

<p>The sad reality is that despite being within a 5 second walk of my bed at almost any given moment, I am not sleeping any more than I was before.</p>

<figure align="center">
	<a href="/images/shelter-in-place/sleep_daily_rolling.png">
    <img src="/images/shelter-in-place/sleep_daily_rolling.png" style="width:100% !important;" /></a>
    <figcaption>A chart of daily time spent on a device with a rolling average. </figcaption>
</figure>

<p>There is no statistical difference in the average amount of sleep I get now versus what I used to get.</p>

<figure align="center">
	<a href="/images/shelter-in-place/sleep_differences_pre_post.png">
    <img src="/images/shelter-in-place/sleep_differences_pre_post.png" style="width:75% !important;" /></a>
    <figcaption>Comparison of my sleep before and after shelter-in-place.</figcaption>
</figure>

<p>However, it does look like I actually have slightly reduced my restlessness during sleep, which is very surprising because I would have thought otherwise (significant at the 5% level).</p>

<figure align="center">
	<a href="/images/shelter-in-place/restless_differences_pre_post.png">
    <img src="/images/shelter-in-place/restless_differences_pre_post.png" style="width:75% !important;" /></a>
    <figcaption>Comparison of my restlessness during sleep before and after shelter-in-place.</figcaption>
</figure>

<h2 id="summary">Summary</h2>

<p>To nobody’s surprise, life right now is very different than it was before. How different exactly - in some respects very and in others not much at all.</p>

<ul>
  <li>Dinners and board game evenings with friends have turned into zoom hangouts and sessions on Tabletopia.</li>
  <li>Instead of trips over the weekend, we stay in and work.</li>
  <li>An occasional body pump class at the local 24 hour fitness is now substituted by an occasional Youtube fitness workout.</li>
  <li>Snowboarding was cut short and swimming pools are not an option so I am trying cycling now.</li>
  <li>Insomnia caused by inconsistent bedtimes and anxiety is replaced with insomnia caused by inconsistent bedtimes and other types of anxiety.</li>
  <li>Visits to friends apartments replaced with walks around our neighborhood and perhaps a balcony conversation with the friends nearby.</li>
  <li>Date nights out are now date nights in (watching Westworld or playing a round of Brass Birmingham or 7 Wonders Duel).</li>
  <li>Rather than eating out, we cook most of our meals (at least we did initially).</li>
  <li>In-person woodworking classes replaced with online courses.</li>
  <li>Tri-weekly 3-hour commutes reduced to 5-second commutes.</li>
  <li>Visits to see family substituted with more frequent phone calls and an occasional visit in the backyard, 6 feet apart with masks.</li>
</ul>

<p>Despite all the changes, I feel extremely fortunate that my family is healthy (knock on wood that they stay that way) and that I am able to work remotely.</p>

<figure align="center">
	<a href="/images/shelter-in-place/daily.png">
    <img src="/images/shelter-in-place/daily.png" style="width:75% !important;" /></a>
    <figcaption>My daily record of sleep, screen time and exercise.</figcaption>
</figure>

<h2 id="why-write-all-this">Why write all this?</h2>

<p>Well I got more time on my hands now…</p>

<p>I am trying out new hobbies. I used to journal when I was a kid and I enjoy tracking behavior so I thought I’d combine the two.</p>

<p>Hopefully, if you made it this far (or skipped to the bottom which is what I would have done), that you enjoyed some parts and maybe even found them relatable, perhaps you even discovered a couple of youtube channels or comedians or learned about a new statistical test. :)</p>]]></content><author><name>Paula Leonova</name></author><category term="Shelter-in-place" /><category term="Data-Diary" /><category term="Visualization" /><category term="Covid19" /><summary type="html"><![CDATA[I looked at 2 months of my data before the Bay Area Covid19 shelter-in-place orders and 2 months after...]]></summary></entry><entry><title type="html">How do employers distinguish Data Scientists and Data Analysts?</title><link href="https://pleonova.github.io/jd-classification/" rel="alternate" type="text/html" title="How do employers distinguish Data Scientists and Data Analysts?" /><published>2018-08-21T00:00:00+00:00</published><updated>2018-08-21T00:00:00+00:00</updated><id>https://pleonova.github.io/jd-classification</id><content type="html" xml:base="https://pleonova.github.io/jd-classification/"><![CDATA[<h2 id="motivation">Motivation</h2>
<p>Being a data practitioner, I often get asked the question <em>What is the difference between a Data Scientist and a Data Analyst?</em> Though I usually answer this question empirically, I decided to take a data-driven approach and build a model to more systematically identify the distinction between these two roles.</p>

<h2 id="process">Process</h2>
<p>What I ended up doing was collecting job descriptions for Data Scientist and Data Analyst roles posted by the big tech companies in Silicon Valley on job boards and training a model on a subset to see if I could accurately predict the remaining titles from just the job descriptions.</p>

<p>For a more in depth explanation of the process and accompanying code for this project, please see my <a href="https://github.com/pleonova/jd-classifier">my github repo</a>.</p>

<h2 id="results">Results</h2>
<p>I ended up training a Multinomial Naive Bayes model to predict the job titles. My final Multinomial Naive Bayes model had an <strong>ROC AUC of 88%</strong>. Unsurprisingly, the top key words/phrases for Data Scientist were: <em>machine learning</em>, <em>models</em>, <em>algorithms</em> while that for Data Analysts were: <em>reports</em>, <em>dashboards</em>, and <em>excel</em>.</p>

<h2 id="takeaways">Takeaways</h2>
<p><strong>Examining the results that my model classified incorrectly actually gives insight into employers and their expectations.</strong></p>

<p>There are several reasons why a company might choose to display a title where the description does not match the role. Lyft, for example, on their blog, wrote the following article <a href="https://eng.lyft.com/whats-in-a-name-ce42f419d16c">What’s in a name?</a>, where they explained that they strategically chose to change the title of a Data Analyst to a Data Scientist to retain talent (in my model, this role comes up as a false negative). However, instead of encompassing both roles in one title, they updated that of Data Scientist to Research Scientist. Others have done it to attract talent and get a pool of applicants that are simply drawn to the <a href="https://hbr.org/2012/10/data-scientist-the-sexiest-job-of-the-21st-century">Sexiest Job of the 21st Century</a>, as proclaimed by Harvard Business Review. While others have changed the title to Data Scientist, but kept the Data Analyst description to attract more skilled workers.</p>

<p>I am curious if other companies will follow this example and broaden the definition of a Data Scientist. Will more companies use these two terms interchangeably or create new terminology like research scientist?</p>

<p><strong>Frequent terms establish the baseline knowledge expected in both roles, while frequent but unique terms per role highlight key differences.</strong></p>

<p>It is no surprise that <em>SQL</em> and <em>analysis</em> show up frequently in both postings (see chart below). What is interesting, however, is that <em>statistics</em> shows up in both. Context is very important; the words that show up surrounding this term provide additional information about the level of expertise required. Upon further inspection, it looks like this term frequently shows up alongside a list of other quantitative degrees, for both roles, so it is less surprising than it was at initial glance.</p>

<p>Another term that appears frequently for both is <em>Python</em>. The frequency of which this word shows up for Data Scientist roles is, however, considerably higher than the times it appears in Data Analyst JDs. Almost 90% of the data science roles contain the key term, while only 60% of the Data Analyst JDs have it, indicating that Python is an expected skill for a Data Scientist.</p>

<figure align="center">
	<a href="/images/jd-classifier/TorandoChart_TermSensitivity_BothRoles.png">
    <img src="/images/jd-classifier/TorandoChart_TermSensitivity_BothRoles.png" style="width:50% !important;" /></a>
    <figcaption>   Click image to enlarge</figcaption>
</figure>

<p>Surveying the top terms for Data Scientist, results in a collection of words that are more technical in nature. Some of the top terms are: <em>machine learning</em>, <em>platform</em>, <em>algorithms</em>, <em>models</em>, <em>Java</em>, <em>programming</em>, <em>development</em> (see chart below). Because data science is more of a mix of a statistics and a computer science, these terms are not surprising at all.</p>

<figure align="center">
	<a href="/images/jd-classifier/TorandoChart_TermSensitivity_DataScientist.png">
    <img src="/images/jd-classifier/TorandoChart_TermSensitivity_DataScientist.png" style="width:50% !important;" /></a>
    <figcaption>Click image to enlarge</figcaption>
</figure>

<p>For Data Analysts, the key words tend to focus more on information dissemination, whether it be through through verbal or written form: <em>reports</em>, <em>reporting</em>, <em>dashboards</em>, <em>communication</em>, <em>verbal</em>. Data retrieval and organization is another theme that comes up: <em>excel</em>, <em>strong SQL</em>, <em>SQL skills</em>, <em>trends</em>.</p>

<figure align="center">
	<a href="/images/jd-classifier/TorandoChart_TermSensitivity_Analyst.png">
    <img src="/images/jd-classifier/TorandoChart_TermSensitivity_Analyst.png" style="width:50% !important;" /></a>
    <figcaption>Click image to enlarge</figcaption>
</figure>

<h2 id="applications">Applications</h2>
<p>For someone who is looking to go into the field of analytics, perhaps focusing on the skills that overlap between the two roles could be a good starting point. However, for someone looking to transition from a Data Analyst role to a Data Scientist role, focusing on the most frequent distinct skills could be of better use.</p>

<p>For employers uncertain what to add to their job descriptions, the above key terms could be used to determine what is the industry defacto and then modify the requirements based on company needs.</p>

<h2 id="final-thoughts">Final Thoughts</h2>
<p>Though there is quite a bit of overlap between these two roles, there are enough unique key terms that are common for one role but not the other that help to differentiate the roles. As a result, the model did fairly well in distinguishing these two roles. However, as industry standards change and new hybrid roles are created (without modification to the titles), distinguishing these roles will become harder.</p>

<p>To address this role <em>inflation</em>, it might be interesting to instead use an unsupervised clustering model to see what roles get grouped and whether new titles could be derived from these clusters.</p>]]></content><author><name>Paula Leonova</name></author><category term="Classification" /><category term="Python" /><category term="Naive Bayes" /><summary type="html"><![CDATA[A model that predicts the title from just the job description.]]></summary></entry><entry><title type="html">Introduction to Data Analysis and Visual Design with Tableau</title><link href="https://pleonova.github.io/visualization-tableau/" rel="alternate" type="text/html" title="Introduction to Data Analysis and Visual Design with Tableau" /><published>2018-08-03T00:00:00+00:00</published><updated>2018-08-03T00:00:00+00:00</updated><id>https://pleonova.github.io/visualization-tableau</id><content type="html" xml:base="https://pleonova.github.io/visualization-tableau/"><![CDATA[<h2 id="intro">Intro</h2>
<p>Back in 2017, I was invited to give a talk at Product School at their San Francisco office about data analysis and visualization in Tableau. Since then I have given a variation of this talk at their other location in Santa Clara and was invited to give the talk at San Jose State University to a class of Business School students.</p>

<p>If you would like to watch the talk, you can either watch in on Facebook <a href="https://www.facebook.com/productschool/videos/1899646390253735/">here</a> or watch it below. If you would like to review the slides, with the animated instructional GIFs, I’ve attached them below as well. The two dashboard views can be found on my public tableau page <a href="https://public.tableau.com/profile/paula">here</a>.</p>

<iframe width="640" height="360" src="https://www.youtube.com/embed/JZ1rGCAcQC0?controls=0&amp;showinfo=0" frameborder="0" allowfullscreen=""></iframe>
<p><br /></p>

<h2 id="process">Process</h2>
<ol>
  <li>Data Collection</li>
  <li>Dashboard Creation</li>
  <li>Slide Deck with Instructional GIFs</li>
  <li>Presentations</li>
</ol>

<h2 id="1-data-collection">1. Data Collection</h2>
<p>I initially set out to use previous work projects as examples but instead opted to collect my own data to make this project more personal. Since I embedded detailed GIFs into my deck, I did not want to use any proprietary data. I chose to track the places that I visited and length of each visit for an entire month.</p>

<p>I tracked how much time I spent: working, eating out, exercising, doing chores, cooking, etc. One of my personal goals was to learn something new about myself and potentially change some of my hehavior based on what patterns I saw. I actually did end up changing 2 things after visualizing my data.</p>

<h2 id="2-dashboard-creation">2. Dashboard Creation</h2>
<p>I created two interactive dashboards to explain the thought process behind data design as well as to show the breadth of visualizations available in Tableau. The first one was a <a href="https://public.tableau.com/profile/paula#!/vizhome/GuesstheUnderlyingDataexposed/SampleReport">general overview of my month</a>, which is typical of the types of high level dashboards companies use to summarize data. These type of views are used to monitor as well as identify any big changes, which would then require further investigation.</p>

<p>For instance, week 21 jumps out at me immediately as there is a dip in the brown category in the upper right chart. There is also something interesting going on in the bottom left chart with the green spike.</p>

<figure>
	<a href="/images/tableau-visual/month-summary.JPG"><img src="/images/tableau-visual/month-summary.JPG" /></a>
	<figcaption><a href="https://public.tableau.com/profile/paula#!/vizhome/GuesstheUnderlyingDataexposed/SampleReport" title="Summary View of My Monthly Activities">General Overview of My Month</a></figcaption>
</figure>

<p>The second one was a <a href="https://public.tableau.com/profile/paula#!/vizhome/WhatdidIdoinMay2017/Activity1vsActivity2">deep dive into my activities</a>. This is the dashboard I would use to understand the trends and patterns on a more micro level. I could select a different activity and investigate the dip in work that occured on week 21. I could also examine the current chart to see what happened to that green spike (hint this is when I started creating my report and realized I wasn’t working out much, hence I immediately went to the gym).</p>

<figure>
	<a href="/images/tableau-visual/drill-down-part1and2.jpg"><img src="/images/tableau-visual/drill-down-part1and2.jpg" /></a>
	<figcaption><a href="https://public.tableau.com/profile/paula#!/vizhome/WhatdidIdoinMay2017/Activity1vsActivity2" title="Summary View of My Monthly Activities">A Deep Dive into My Activities</a></figcaption>
</figure>

<h2 id="3-slide-deck-with-instructional-gifs">3. Slide Deck with Instructional GIFs</h2>

<p>Other than having a fun data source to work with and something that everyone could relate to, I wanted to put together a presentation that others could refer back to if they got stuck on something. I decided that GIFs would be a good way to help walk people through the steps needed to complete a chart from start to finish.</p>

<iframe src="https://docs.google.com/presentation/d/e/2PACX-1vQEKBE8RtjzS680eFkozAaHOs5CL7rOx1F5KEedjV86rGXpuzTJeSPT2GPsz-clDvxRkgC4OwrONT3y/embed?start=false&amp;loop=false&amp;delayms=3000" frameborder="0" width="600" height="500" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>

<h2 id="4-presentations">4. Presentations</h2>

<p>In the above recorded 20 minute talk, I presented some general tips for creating data reports as well as how to build indepth and dynamic dashboards in Tableau. The second part of the talk went into detail about how to build various types of visualizations, where I went over 5-25 second instructional GIFs that I created. I made this second part as modular as possible so that it would be easy to refer back to later if there were any specific questions about creating the charts. Each of my talks also had a 15 minute Q&amp;A session where I answered more general questions (the first one is recorded above).</p>

<h2 id="concluding-thoughts">Concluding Thoughts</h2>
<p>I really enjoyed giving this presentation and hope that those who attended my sessions were able to take something away from my talks.</p>

<p>I also learned one or two things about myself from the data that I collected. I realized that I wasn’t exercising as much as I’d like and so I immediately started to work out more (you can see the green spike in the chart above). Also 
seeing where I ate out and that it was only within a 2 mile radius of my house made me re-evaluate my decisions.</p>]]></content><author><name>Paula Leonova</name></author><category term="Visualizations" /><category term="Tableau" /><category term="Talks" /><category term="Tutorials" /><summary type="html"><![CDATA[A presentation I gave about creating visualizaions and dashboards in Tableau.]]></summary></entry><entry><title type="html">How to set up and evaluate an AB test</title><link href="https://pleonova.github.io/ab-testing-proportions/" rel="alternate" type="text/html" title="How to set up and evaluate an AB test" /><published>2018-08-02T00:00:00+00:00</published><updated>2018-08-02T00:00:00+00:00</updated><id>https://pleonova.github.io/ab-testing-proportions</id><content type="html" xml:base="https://pleonova.github.io/ab-testing-proportions/"><![CDATA[<p>So you need to run an A/B test and you need to figure out how many users you need in order to have valid results. What does “valid” results even mean? How do you decide what is the proper test to use and what does a p-value mean?</p>

<p>In the following jupyter notebook, which you can access <a href="https://github.com/pleonova/ab-testing">here</a>, I go into how to run an AB Test from start to finish. I’ve highlighted which cells you need/might want to edit so that you can just step through the notebook. Think of it as a step by step guide or a template that you can plug in your own data.</p>

<h3 id="feedback">Feedback</h3>
<p>I wanted to share some of the kind words that my colleagues used to describe the notebook.</p>
<ul>
  <li>“I used a bunch of your code from the AB testing notebook for proportions in a HP testing notebook. It worked pretty smoothly!”</li>
  <li>“This is a fantastic notebook. It is thorough and comprehensive. You’ve left no stone unturned.”</li>
  <li>“Isn’t it great how fast I can asnwer all these questions?! (love this notebook)”</li>
  <li>“Starting to see some positive results… Thanks again for all your help getting the analysis notebooks together”</li>
</ul>]]></content><author><name>Paula Leonova</name></author><category term="AB Testing" /><category term="Statistics" /><category term="Python" /><category term="Tutorial" /><summary type="html"><![CDATA[A how-to guide on running AB tests in python]]></summary></entry><entry><title type="html">The 60 Second Pitch</title><link href="https://pleonova.github.io/sixty-second-pitch/" rel="alternate" type="text/html" title="The 60 Second Pitch" /><published>2015-11-29T00:00:00+00:00</published><updated>2015-11-29T00:00:00+00:00</updated><id>https://pleonova.github.io/sixty-second-pitch</id><content type="html" xml:base="https://pleonova.github.io/sixty-second-pitch/"><![CDATA[<h2 id="a-bit-of-context">A bit of context</h2>
<p>I wanted to share something that I hope one day I can revisit. This was an idea I pitched at a startup weekend that I and several other amazing folks actually ended up working on for a little bit.</p>

<h2 id="the-pitch-learningforest">The Pitch: learningForest</h2>
<p>Imagine 100 people go through a forest, but do not leave any markings on the trees behind. New people entering the forest will be just as lost as the those before them.</p>

<p>Now imagine 100 people go through a forest which HAS markings. (1) They do not have to start from scratch. (2) These markings help to guide them through. (3) And as more people go through, pathways begin to form.</p>

<p>When I am learning a new skill, the internet can feel like that unmarked forest. There are so many resources, I don’t always know where to start or what to even search. It can be quite overwhelming.</p>

<p>I want to create a tool that tracks people’s learning pathways AND an online platform that curates, aggregates and displays that information, so now learners don’t have to start from scratch.</p>

<p>Not only would they be able to see how others have learned before them and what websites and tools they found useful, but they could also find fellow learners on the same learning path or reach out to those who are further along in their progress (path).</p>

<p>The more this tool/platform gets used, the better it becomes, just like how the paths in the marked forest become clearer as more travelers go through.</p>

<p><a href="https://kevinhuang9.wixsite.com/learningforest"><em>Teaser</em></a></p>]]></content><author><name>Paula Leonova</name></author><category term="e-learning" /><category term="startup" /><summary type="html"><![CDATA[An idea for an online community of learners that I pitched at a hackathon.]]></summary></entry></feed>