<?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 Shreyashkar lal on Medium]]></title>
        <description><![CDATA[Stories by Shreyashkar lal on Medium]]></description>
        <link>https://medium.com/@ishreyashkar06?source=rss-afceee24eb09------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qLF6KRBb_Ls80QGj9g7UPg.jpeg</url>
            <title>Stories by Shreyashkar lal on Medium</title>
            <link>https://medium.com/@ishreyashkar06?source=rss-afceee24eb09------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 14:14:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ishreyashkar06/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 Quick Guide to Setting Up a Python Virtual Environment Through WSL in VS Code.]]></title>
            <link>https://medium.com/@ishreyashkar06/a-quick-guide-to-setting-up-a-python-virtual-environment-through-wsl-in-vs-code-f23c233a313f?source=rss-afceee24eb09------2</link>
            <guid isPermaLink="false">https://medium.com/p/f23c233a313f</guid>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Shreyashkar lal]]></dc:creator>
            <pubDate>Sun, 05 May 2024 09:17:33 GMT</pubDate>
            <atom:updated>2024-05-05T09:17:33.009Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently got stuck in using PyMC MMM tools due to Jax and Jaxlib dependency issues on Windows 11.</p><p>After searching a lot and not being able to find any straightforward solution for resolving the issue. The better solution seemed to be to work with WSL on Windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXF8-U9f76SJrS9zWggmLw.jpeg" /></figure><p>Here’s a quick setup guide for working with Python virtual environment in WSL through VS Code.<br>[Note: Attached blog post links in reference dive deeper into all the solutions available, use this just as a quick guide if you’re working with Windows 11 and are okay with Ubuntu distribution installation for WSL]</p><h3>Setup WSL and Python</h3><ul><li>Open Command Prompt or Windows PowerShell as administrator.</li><li>Run the command wsl --install and restart the computer. This will install WSL along with Ubuntu Linux distribution.</li><li>Python comes pre-installed in Ubuntu. Check if python is installed using python3 --version.</li><li>Check the installation location of Python using which python</li><li>Update all the packages using sudo apt update &amp;&amp; sudo apt upgrade</li><li>Update only Python 3 using sudo apt upgrade python3</li></ul><h3>Setting up pip and virtual environments</h3><ul><li>Install pip using sudo apt install python3-pip</li><li><strong>venv</strong> is useful for managing virtual environments in python</li><li>Install venv using sudo apt install python3-venv</li></ul><h3>Setup multiple python versions using <strong><em>deadsnakes ppa</em></strong></h3><ul><li><strong>deadsnakes ppa</strong> contains multiple versions of python that can be installed and used in Ubuntu.</li><li>Add deadsnakes ppa repository using sudo add-apt-repository ppa:deadsnakes/ppa</li></ul><pre># Example installations<br># install python 3.7<br>sudo apt install python 3.7-distutils<br><br># install python 3.12<br>sudo apt install python 3.12-distutils</pre><ul><li>After installation, multiple python versions can be used e.g., python3.12 --version command will use python 3.12 and python3.7 --version will use python 3.7</li></ul><h3>Setting up VS code for WSL</h3><ul><li>Download and install VS Code (on Windows side)</li><li>Install WSL extension in VS Code.</li></ul><h3>Complete the setup and launch your private virtual environment instance from WSL to VS code</h3><ul><li>Create a virtual environment for your Python 3.12 version (choose the version you need) using python3.12 -m venv mmm_code. A folder named “<strong>mmm_code</strong>” should be created, change your folder name accordingly.</li><li>Activate the virtual environment using the command source ./mmm_code/bin/activate</li><li>The installed packages can be checked using the command python3 -m pip list</li><li>Use code . to launch WSL instance in VS code (this will happen after completion of a few installations in WSL to support VS code).</li></ul><p>Happy Coding!</p><p>References:</p><ol><li><a href="https://nagasudhir.blogspot.com/2023/02/setup-python-on-linux-in-windows-using.html">WSL Installation</a></li><li><a href="https://nagasudhir.blogspot.com/2023/01/setup-ubuntu-or-similar-linux.html">Setup Ubuntu or Linux Distribution in Windows using WSL</a></li><li><a href="https://www.youtube.com/watch?v=y3TquoKDTPs">Using WSL with Python in VS Code</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f23c233a313f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Intuitive Introduction to Marketing Attribution and Media Mix Modeling]]></title>
            <link>https://medium.com/@ishreyashkar06/an-intuitive-introduction-to-marketing-attribution-and-media-mix-modeling-87c311ac16b3?source=rss-afceee24eb09------2</link>
            <guid isPermaLink="false">https://medium.com/p/87c311ac16b3</guid>
            <category><![CDATA[marketing-analytics]]></category>
            <category><![CDATA[attribution]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[media-mix-modeling]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Shreyashkar lal]]></dc:creator>
            <pubDate>Thu, 15 Feb 2024 19:57:55 GMT</pubDate>
            <atom:updated>2024-02-15T19:57:55.854Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine being a marketer spending clients’ fortune on Digital Marketing. Well, the big money folks want answers now, answers about “Where has all the money gone?” and “What do we get in return?”. It’s a simple answer when your $5 Facebook Ad brings a customer for the home-made dynamite (DON’T!!), but dauntingly complex when it’s a soup of Facebook, Google, Online, Referrals, and other Marketing Channels with a &gt;100k USD budget (monthly).</p><p>Turns out the smart marketers have already solved (or approximated??) part of the problem, but a large part remains. And the part that’s solved is often up for debate. <strong>Marketing Attribution</strong> answers some of the questions in a simple and intuitive manner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eOMWP46u9A2Mp-3frMrkbw.jpeg" /><figcaption>Marketing Analytics</figcaption></figure><p>Imagine running an ad for your local cloud kitchen, the highlight being the buy-one get-one Pizza Combo, well, they registered great sales last month. John (the owner) spent $2000 last month, and this month he is trying to understand what’s the most efficient use of his money been. Marketing Attribution presents an intuitive (<em>and perhaps naïve</em>) solution to this, looking closely at the journey of users. When a user starts with a Facebook ad, then searches for the best local pizza restaurant, and finally orders a bunch of pizzas for Boys’ Friday night, the <strong>first-touch attribution</strong> assumes the Facebook ad needs to be credited for the orders on the Friday Night (SEO guy is not happy with this!), while the <strong>last-touch attribution</strong> assumes the organic click from blog post to website needs to be credited for the orders (PCM guy is fuming right now!), and the other <strong>Multi-touch attributions</strong> divides the credits onto various touchpoints (everyone is happy! Or no one is?).</p><p>Well, a local cloud kitchen still presents a simplified case where the order directly translates to revenue but turns out the modern B2B and B2C world are not so simple after all! A user starts with a simple logon into the service, or sign up for an event, and might register a sale a year later for a product or service. The surface-level information of looking just at the user-journey is no longer entirely sufficient for the big ask of what’s the driving force behind. Modern Marketing arrangements require a much greater deal of sophistication for understanding the users, identifying the premier segments, identifying their efficient marketing channels, and optimizing their budgets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kGEbsy281KPMi7nqOIYqeQ.jpeg" /><figcaption>Digital Marketing</figcaption></figure><p><strong>Media Mix Modeling (MMM)</strong> is gaining popularity these days in getting seekers to the right market (the market of science). While the biggest criticism behind the science of MMM is its lack of depth into user behavior analysis (customer journey, brand’s impact) and hollow insights (an aggregate overview, low in scopes of personalized recommendations, no individual in mind), its ability to track the patterns of marketing spends and lead/client generations over different levels of hierarchical structures (geo-divisions, demographics segments, targeted groups) have been a strong proponent of practical data-driven insights.</p><p>Media Mix Models are primarily divided into two categories, the Frequentist faction (Facebook’s Robyn) and the Bayesian faction (Google’s LightweightMMM, PyMC-Marketing MMM, etc.). We’ll not dive deeper into Frequentist vs Bayesian approach today but will look more into the data utilized by MMMs to deliver insights.</p><blockquote>Media Mix Models at a broader level leverage the hidden patterns in Marketing Spend and Revenue/Lead/Client Generation at granular levels.</blockquote><p>Wait, what does that mean? This means that the more structured the approach to data collection at each segment in a top-to-bottom fashion, and the higher the amount of data available at each smaller segment, the better a Media Mix Model performs.</p><p>How, may you ask? And the answer lies in our good-old correlation to causation (be cautious while intermingling these). MMM models such as Robyn relies on regression analyses (such as multi-linear regression) to link independent variables (such as Marketing Spend, User Activity, etc.) with dependent variables (Revenue generated, Lead/Client Generation, etc.), and the performance of this is heavily dependent on the quality of data the model consumes. There are other factors to account for too, such as Seasonality, multi-collinearity, etc. From an introductory point of view, this much suffices for now!</p><h3>References:</h3><p>The Challenges to Attribution Modeling in Modern Digital Marketing — <a href="https://medium.com/@ishreyashkar06/the-challenges-to-attribution-modeling-in-digital-marketing-d38cdf42ff4">https://medium.com/@ishreyashkar06/the-challenges-to-attribution-modeling-in-digital-marketing-d38cdf42ff4</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87c311ac16b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Challenges to Attribution Modeling in Modern Digital Marketing]]></title>
            <link>https://medium.com/@ishreyashkar06/the-challenges-to-attribution-modeling-in-digital-marketing-d38cdf42ff4?source=rss-afceee24eb09------2</link>
            <guid isPermaLink="false">https://medium.com/p/d38cdf42ff4</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[cookieless-future]]></category>
            <category><![CDATA[attribution-modeling]]></category>
            <dc:creator><![CDATA[Shreyashkar lal]]></dc:creator>
            <pubDate>Sat, 19 Aug 2023 17:25:00 GMT</pubDate>
            <atom:updated>2023-08-19T17:26:34.305Z</atom:updated>
            <content:encoded><![CDATA[<p>In the ever-growing landscape of marketing channels, and social platforms to increase your outreach for branding, lead generation, and client conversion, it becomes a necessity to track the effectiveness of media and outreach spend.</p><p>Attribution Modeling has increasingly become the norm to address this need, though it does come with its own array of challenges.</p><figure><img alt="Bar Graphs to symbolize different kinds of attribution." src="https://cdn-images-1.medium.com/max/1024/1*wNgaBQQKi1s-CDY4V1EdGQ.jpeg" /></figure><h3>The Evolution of Attribution Modeling: From Simple to Complex</h3><p>In the past, attribution modeling leaned heavily on rule-based methods, such as First-Touch (crediting the initial touchpoint) or Last-Touch (crediting the final touchpoint) Attribution. However, as user journeys have become more intricate, these approaches fall short in capturing the full picture. Cross-channel engagements have become commonplace, rendering such simplistic models ineffective in a multi-touchpoint environment.</p><h3>Challenges on the Rise</h3><p>As the digital landscape evolves, mobile devices are taking center-stage, and unconventional channels are proving surprisingly fruitful for lead generation and client conversion. But alongside these advancements, with the advent of privacy focused laws and regulations such as GDPR, and CCPA, governments worldwide are tightening regulations to safeguard user privacy. Consequently, the availability of surface-level interaction data for attribution modeling is diminishing, posing a challenge for marketers aiming to glean insights from user behavior.</p><h3>The Real-World Data Dilemma</h3><p>Looking back at an instance from the banking sector where three distinct marketing platforms were employed, including Google Analytics and a Customer Relationship Management Tool. The biggest challenge posed was the data loss during the integration of user data across diverse platforms. In this case, over 10% of the data was lost in each integration, leaving less than 50% of users with fully attributable data. With over half the user-behavior data being untraceable, the attribution models developed never really captured the complete figure providing a broader insight for entire user base.</p><h3>Crafting Solutions for Actionable Insights</h3><p>To overcome these challenges and craft actionable insights, a more sophisticated approach to attribution modeling is necessary. Here’s a roadmap to navigate the evolving landscape:</p><ol><li><strong>Embrace Multi-Touch Attribution:</strong> Relying on single-touch attribution models limits your understanding of user behavior. Adopt multi-touch attribution methods like Linear Attribution (distributing credit evenly across touchpoints), or Time Decay Attribution (assigning more credit to recent touchpoints), or Data-driven Multi-touch Attribution (such as Shapley Value and Markov-Chain based) to capture the holistic user journey.</li><li><strong>Leverage Advanced Tools:</strong> The era of spreadsheet-based attribution is fading. Advanced attribution tools with capabilities to include data from various sources, while minimizing the data loss are the new norms providing a unified view of user interactions.</li><li><strong>Incorporate Machine Learning:</strong> Machine learning algorithms now employing deep learning and attention mechanism for attribution have far evolved from the simpler rule-based or even statistical modeling-based Shapley Value and Markov-Chain based attribution models. These algorithms can unravel complex user journeys, attributing the right weight to each touchpoint and ensuring more accurate attribution insights.</li><li><strong>Prioritize Data Privacy:</strong> With stringent privacy regulations, prioritize obtaining anonymizing data to comply with legal requirements.</li><li><strong>Test and Optimize: </strong>Attribution modeling is an ongoing process. Continuously test different attribution models, channels, and touchpoints to identify what works best for your unique audience and objectives.</li></ol><h3>References</h3><ol><li>What is Attribution Modeling and Why it’s So Important — <a href="https://blog.hubspot.com/marketing/attribution-modeling">https://blog.hubspot.com/marketing/attribution-modeling</a></li><li>Data-Driven Marketing Attribution — <a href="https://towardsdatascience.com/data-driven-marketing-attribution-1a28d2e613a0">https://towardsdatascience.com/data-driven-marketing-attribution-1a28d2e613a0</a></li><li>The Shapley value approach to Multi-Touch Attribution Model — <a href="https://towardsdatascience.com/data-driven-marketing-attribution-1a28d2e613a0">https://towardsdatascience.com/data-driven-marketing-attribution-1a28d2e613a0</a></li><li>State-Of-The-Art Approaches to Attribution in Marketing — <a href="https://www.topbots.com/marketing-ai-research-attribution/">https://www.topbots.com/marketing-ai-research-attribution/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d38cdf42ff4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>