<?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 Hyacinth Ampadu on Medium]]></title>
        <description><![CDATA[Stories by Hyacinth Ampadu on Medium]]></description>
        <link>https://medium.com/@joamps?source=rss-323bb6f24c2d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bRfD8v5zly4TNvcf3wb2lA.png</url>
            <title>Stories by Hyacinth Ampadu on Medium</title>
            <link>https://medium.com/@joamps?source=rss-323bb6f24c2d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 03:43:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joamps/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[Drowning in Disconnected Data?]]></title>
            <link>https://joamps.medium.com/drowning-in-disconnected-data-5aa0c461795e?source=rss-323bb6f24c2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aa0c461795e</guid>
            <category><![CDATA[airtable]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-consulting]]></category>
            <category><![CDATA[agents]]></category>
            <dc:creator><![CDATA[Hyacinth Ampadu]]></dc:creator>
            <pubDate>Wed, 05 Feb 2025 17:46:10 GMT</pubDate>
            <atom:updated>2025-06-11T17:38:27.154Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Drowning in Disconnected Data? See How this Investment Firm Used AI Agents to Transform Decision-Making Across Platforms</strong></h3><blockquote>This article was originally published on <a href="https://www.joampsconsult.com/">JoAmpsConsult.com</a>.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WZnECkmVAiQz47vs8CTlIw.png" /></figure><p>An investment firm faced challenges quickly gathering and analyzing data on potential investment targets. The manual process of sourcing information from multiple platforms was time-consuming, delaying decision-making. They needed a more efficient and automated solution to enhance their investment decision process.</p><h3>The Problem</h3><p>The firm encountered several challenges with its existing manual research process:</p><ul><li><strong><em>Time-Consuming</em></strong><em>: Gathering data from various sources like company websites, Google, LinkedIn, and Crunchbase took significant time and effort.</em></li><li><strong><em>Inefficiency</em></strong><em>: Manual data entry into Airtable slowed operations and delayed investment decisions.</em></li><li><strong><em>Limited Scalability</em></strong><em>: As the firm grew, the process struggled to keep up with increasing data and companies.</em></li></ul><p>They needed a solution to:</p><ul><li><em>Automate data collection and enrichment from various platforms.</em></li><li><em>Reduce manual data entry into their Airtable database.</em></li><li><em>Speed up decision-making with accurate, up-to-date information.</em></li></ul><h3>The Solution</h3><p>To address these challenges, we created an AI-powered research and investment agent that automated the data-gathering process and integrated seamlessly with their workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I8X0KUcvoWGeATn7vicQTg.png" /></figure><p>Key features of the solution:</p><ul><li><strong><em>AI Agents for Data Enrichment</em></strong><em>: Integrated AI agents with access to multiple data sources (Website, Google, LinkedIn, Crunchbase) to automatically enrich company profiles with critical insights such as financial metrics and competitor analysis.</em></li><li><strong><em>Real-Time Airtable Integration</em></strong><em>: The system was designed to trigger automatic data sourcing and enrichment whenever a company name and website were added to Airtable.</em></li><li><strong><em>Scalable Deployment</em></strong><em>: The solution was deployed on the Amazon Web Services(AWS) Platform, ensuring scalability and reliability as the firm expanded its data needs.</em></li></ul><h3>The Outcome</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vn3C5A9ohmmSUioJ84n5Tg.png" /><figcaption>These are not the actual companies or all the columns from the client, just an example of how the structured insights are stored on airtable</figcaption></figure><p>The AI-powered solution brought significant improvements to the firm’s research and decision-making process<em>:</em></p><ul><li><strong><em>Time Savings</em></strong><em>: The automation reduced research and data entry time by over 75%, significantly boosting productivity.</em></li><li><strong><em>Enhanced Decision-Making</em></strong><em>: Faster access to enriched data enabled the firm to make quicker and more informed investment decisions.</em></li><li><strong><em>Scalability</em></strong><em>: The solution scaled effortlessly with the firm’s growing data needs, handling more companies and data fields without performance degradation.</em></li><li><strong><em>Improved Collaboration</em></strong><em>: Real-time updates and shared access to enriched data in Airtable improved cross-functional teamwork and collaboration.</em></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F1053846805%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F1053846805&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1979092941-31fa29865a35833164bc57d451f48f655ede3c48d01a7680648961b605762aef-d_1280&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="646" frameborder="0" scrolling="no"><a href="https://medium.com/media/4e51dc898068cdf5f438223142079c78/href">https://medium.com/media/4e51dc898068cdf5f438223142079c78/href</a></iframe><h3>Technology Stack</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_FtCLGWRmHoyYXaQAXN8QA.png" /></figure><p>(For the tech-savvy reader, here’s what we used to build this solution.)</p><ul><li><strong>Frameworks</strong>: FastAPI for API development</li><li><strong>AI Models</strong>: GPT-4o and GPT 4o mini</li><li><strong>AI Integration</strong>: <strong>LangGraph</strong> for building AI-driven workflows and automation, <strong>LangSmith</strong> for observability and debugging AI agents, <strong>PyTorch</strong> for custom machine learning models</li><li><strong>Infrastructure &amp; Deployment</strong>: <strong>AWS Services</strong> (S3, ECS, EC2, Amazon SQS, Amazon EventBridge, CloudWatch, ECR, etc.)</li><li><strong>Docker</strong> for containerization</li><li><strong>Experimentation &amp; Observability</strong>: <strong>Weights &amp; Biases</strong> for tracking machine learning experiments and performance metrics</li><li><strong>Database Integration</strong>: <strong>PostgreSQL</strong> for structured company data storage, <strong>Pinecone</strong> for vector-based search and retrieval</li><li><strong>CI/CD</strong>: Github Actions</li></ul><h3>Key Takeaway</h3><p>AI agents are revolutionizing workflows by automating tasks across various platforms, streamlining operations, and enhancing efficiency. Their integration can be applied to nearly any system, and in this case, leveraging AI agents with Airtable empowers businesses to automate data gathering, enrichment, and analysis, leading to faster and more accurate decision-making</p><h3>Ready to Transform Your Business?</h3><p>Need AI Agents to Automate and Optimize Your Data Workflows? Let JoAmpsConsult help you develop and deploy AI agents that seamlessly integrate into tools you already use, such as Airtable, Slack, Google Sheets, etc. <em>Visit us at </em><a href="https://joampsconsult.com/"><em>JoAmpsConsult</em></a><em> or </em><a href="https://calendly.com/hyacinth-joampsconsult/30min"><em>book a consultation</em></a><em> to get started today!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DxkFaGombDLQ5DERGzLGKg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aa0c461795e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Overwhelmed by WhatsApp Customer Queries?]]></title>
            <link>https://joamps.medium.com/overwhelmed-by-whatsapp-customer-queries-8973cda226c4?source=rss-323bb6f24c2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/8973cda226c4</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[consulting]]></category>
            <category><![CDATA[generative-ai-consulting]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Hyacinth Ampadu]]></dc:creator>
            <pubDate>Mon, 27 Jan 2025 18:51:21 GMT</pubDate>
            <atom:updated>2025-06-11T17:38:47.823Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Overwhelmed by WhatsApp Customer Queries? See How Generative AI Revolutionized Customer Support for This E-commerce Business</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ttEJ-EEXafUsFxSZ9KGYw.png" /></figure><blockquote><em>This article was originally published on </em><a href="https://www.joampsconsult.com/"><em>JoAmpsConsult.com</em></a><em>.</em></blockquote><p>Imagine repeatedly answering the same customer question — day in, day out. That’s the reality our client faced on WhatsApp. Their <strong>support team was overwhelmed, response times suffered, and customers grew frustrated</strong>. They needed a <strong>24/7 solution</strong> to meet <strong>demand and deliver a better experience.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vI3f9fxh3zHudMIcUvkUAw.png" /></figure><p>Here’s how we helped them transform their operations with an <strong>AI-powered conversational chatbot</strong> integrated directly into their WhatsApp platform.</p><h3><strong>The Problem</strong></h3><h4>Our client faced several challenges:</h4><p><em>• </em><strong><em>High volumes of repetitive inquiries</em></strong><em> that bogged down their WhatsApp support.</em></p><p><em>• </em><strong><em>Longer response times </em></strong><em>due to limited human support availability.</em></p><p><em>• </em><strong><em>Inconsistent customer experiences</em></strong><em>, leading to dissatisfaction.</em></p><h4>What they needed:</h4><ul><li><em>Automated responses to </em><strong><em>the majority of user queries</em></strong><em>.</em></li><li><strong><em>Reduce dependency </em></strong><em>on human agents.</em></li><li><strong><em>Escalate complex issues</em></strong><em> to human agents seamlessly</em></li><li><em>Provide a seamless, </em><strong><em>always-available customer experience</em></strong><em>.</em></li></ul><h3><strong>The Solution</strong></h3><p>We developed and deployed a custom <strong>AI-powered chatbot</strong> tailored to their unique needs. This chatbot handled <strong>complex customer interactions with ease</strong> and was fully integrated into their WhatsApp platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*IQV_G1WQWdTYAysJVUC4oA.png" /></figure><h4>Key Benefits:</h4><ul><li><strong><em>Personalized Responses</em></strong><em>: Integrated with the client’s CRM and FAQ to provide tailored, real-time answers.</em></li><li><strong><em>Custom AI Models</em></strong><em>: We trained a lightweight AI model (DistilRoberta) to classify inquiries and efficiently route them.</em></li><li><strong><em>Natural Conversations</em></strong><em>: Utilized large language models (LLMs) to handle complex, conversational queries seamlessly.</em></li><li><strong><em>24/7 Availability</em></strong><em>: Ensured the chatbot operated around the clock.</em></li><li><strong><em>Real-Time Optimization</em></strong><em>: We monitored performance continuously to enhance accuracy and speed.</em></li></ul><h3><strong>The Results</strong>:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*hf18inGflNct89kceiA86w.gif" /></figure><ul><li><strong>Improved Efficiency</strong>: Reduced reliance on human agents by automating over 80% of repetitive customer queries.</li><li><strong>24/7 Availability</strong>: Customers received instant, accurate responses around the clock.</li><li><strong>Enhanced Customer Experience</strong>: Personalization and real-time data access resulted in higher customer satisfaction scores.</li><li><strong>Scalability</strong>: The solution was designed to handle increasing user traffic without performance degradation.</li></ul><h3><strong>The Technology Stack</strong></h3><p>(For the tech-savvy reader, here’s what we used to build this solution.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_FtCLGWRmHoyYXaQAXN8QA.png" /></figure><p><strong>AI Frameworks</strong>: PyTorch, Hugging Face, Langchain, LangGraph</p><p><strong>Infrastructure &amp; Deployment</strong>: Google Cloud Platform <em>(Cloud storage, Cloud Run, Compute Engine, Cloud Tasks, Cloud Scheduler, Cloud Monitoring, Artifact Registry, etc.)</em></p><p><strong>Containerization</strong>: Docker</p><p><strong>Databases and Vector Storage</strong>: Pinecone (Vector Database) for semantic search and fast retrieval, MySQL and MongoDB for structured and unstructured data storage</p><p><strong>API Integration</strong>: OpenAI APIs for GPT models, Official WhatsApp API for customer communication</p><p><strong>Frameworks for Orchestration</strong>: FastAPI</p><p><strong>AI/ML models</strong>: Llama-3.1–8B-Instruct, <strong>GPT-4o/GPT-4o mini</strong>, Distilroberta-base</p><p><strong>Monitoring</strong>: Weights and Biases for model performance tracking</p><h3><strong>Key Takeaway</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*on4iLNAwGF5bSeBB9ny7rw.jpeg" /></figure><p>AI-powered chatbots are transforming customer support by automating repetitive tasks, ensuring 24/7 availability, and delivering highly personalized experiences. For businesses facing overwhelming customer inquiries, investing in a chatbot solution could be the game-changer they need.</p><h3>Client Testimonial</h3><p><strong><em>JoAmpsConsult </em></strong><em>quickly understood our needs and delivered fantastic results, setting us up for future success</em></p><h3><strong>Ready to Transform Your Business?</strong></h3><p><em>Struggling to manage customer inquiries efficiently? Let JoAmpsConsult help you build AI-powered solutions to streamline your support processes. Visit us at </em><a href="https://joampsconsult.com/"><em>JoAmpsConsult</em></a><em> or </em><a href="https://calendly.com/hyacinth-joampsconsult/30min"><em>book a consultation</em></a><em> to get started today!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DxkFaGombDLQ5DERGzLGKg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8973cda226c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking ML Opportunities: Building a Strong Portfolio for Self-Taught Career Launch- PART 1]]></title>
            <link>https://medium.com/aimonks/unlocking-ml-opportunities-building-a-strong-portfolio-for-self-taught-career-launch-part-1-c2df991bfb65?source=rss-323bb6f24c2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2df991bfb65</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[portfolio]]></category>
            <dc:creator><![CDATA[Hyacinth Ampadu]]></dc:creator>
            <pubDate>Sun, 28 May 2023 11:13:51 GMT</pubDate>
            <atom:updated>2023-05-29T10:44:54.026Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>INTRODUCTION</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZXDXV1DtmxLo9YR4-Jmd_Q.png" /></figure><p>Embarking on a thrilling journey through countless online courses, conquering the Kaggle challenges of Titanic and Boston housing pricing, and finally breaking free from the clutches of ‘<strong>tutorial hell</strong>’ — we’ve all been there. But what lies beyond? The road ahead can be bewildering, leaving you wondering, ‘<strong>What’s the next step</strong>?’ I vividly recall that moment, grappling with the same question over 5 years ago.</p><p>Your current project and skillset might be shared by numerous ML enthusiasts who have dabbled in simple Kaggle projects. It’s natural to ponder what it takes to <strong>truly stand out and secure that coveted first job</strong>. You may even question whether you <strong>possess the necessary skills</strong> to land a job or pass an interview. Rest assured, I’ve been in your shoes, and I’m here to offer invaluable insights, delving into the depths and p<strong>roviding concrete examples</strong> of the most effective approach to take.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*qudsyUrCp-gaZb_4G1OusQ.jpeg" /></figure><p>An <strong>ML portfolio</strong> is crucial for showcasing your <strong>machine-learning skills, expertise, and real-world problem-solving abilities</strong>. It demonstrates your <strong>technical proficiency, adds credibility, and increases your competitiveness in the job market</strong>. It’s vital to have a <strong>very good portfolio</strong>, especially for one that is self-taught. A well-constructed portfolio serves as <strong>tangible evidence</strong> of your capabilities and opens up exciting opportunities for career growth in the field of machine learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*BgZn6meDmXyF4aAmT5yMeA.png" /></figure><p>This would be a 3 part series, explaining and going through the ML lifecycle and the tools and tech to give an idea of what is expected and how an end-to-end ML project should be. I would also give ideas on what projects to pursue and give advice on what I have seen over the years that can make the journey of an aspiring ML professional <strong>much easier</strong> than I experienced when starting. So sit tight grab a cup of coffee and let’s dive in.</p><h3>STRUCTURING THE PROJECT</h3><h4>Introduction</h4><p>To create a compelling and impactful portfolio project, adopting a structured approach that addresses real-world problems and utilizes <strong>unique datasets</strong> is crucial, ensuring the project stands out.</p><p>I recommend undertaking 4–5 comprehensive projects that <strong>span the entire project lifecycle</strong>, from <strong>defining the business objective and scoping the project to delivering a user-accessible application or product</strong>. These projects should encompass a range of domains such as <strong>healthcare, finance, e-commerce, social media, blockchain, education</strong>, etc, and they should cover diverse machine learning problems such as <strong>regression, classification, time series, NLP, and computer vision</strong>, depending on individual interests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2AFU_DV91JctPGT4O0pHuQ.jpeg" /></figure><p>For instance, one portfolio could include 1 regression, 1 classification, and 2 NLP projects, while another might feature 1 classification, 2 computer vision, and 1 time-series project. The goal is to cover diverse projects and leverage a variety of tools and techniques, so you are better prepared for a lot of job opportunities that require expertise in an area or a set of tools and technologies.</p><p>These are example projects, that cover the domains and problems I mentioned earlier that one can dive into, or use as a guide to building outstanding portfolio projects</p><p><strong><em>Healthcare (Classification)</em></strong>: Build a classifier to identify and flag misleading or false health-related information in online articles and social media posts.</p><p><strong><em>Finance (Regression)</em></strong>: Predict the future stock prices of a particular company based on historical market data and financial indicators.</p><p><strong><em>E-commerce (Time Series)</em></strong>: Forecast the sales demand for a specific product category during holiday seasons using historical sales data.</p><p><strong><em>Social Media (NLP — GPT)</em></strong>: Create a chatbot powered by a GPT-based language model that engages in conversational interactions with social media users, providing personalized recommendations</p><p><strong><em>Blockchain (Computer Vision)</em></strong>: Build an image recognition system that verifies and authenticates digital signatures on blockchain-based documents.</p><p><strong><em>Education (Classification)</em></strong>: Develop a model to classify student exam papers as pass or fail based on the answers provided.</p><p>The examples provided above are just a glimpse of the diverse range of projects that you can undertake to differentiate yourself in the field of machine learning</p><p>In the following sections, we will delve into the various aspects of a machine learning project and, explore how to approach them and select a diverse set of tools and technologies. By the end, you will have gained hands-on experience with a wide range of tools and techniques, enabling you to showcase your proficiency and versatility in machine learning.</p><h4>ML Project lifecycle</h4><p>The machine learning project lifecycle encompasses <strong>various components</strong> that form the foundation of any project. While the specific implementation may vary across projects, the <strong>underlying concept remains consistent</strong>. The simplified figure below provides an overview of the lifecycle, and in the subsequent sections, we will explore each stage in detail, offering a comprehensive understanding of the process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*GNzoKDM099S7PWoDbJmcpw.png" /></figure><h4>Business Goal</h4><p>The initial step in embarking on a machine learning project is to carefully select the project and determine its <strong>significance to the business</strong>. Whether it involves <strong>boosting revenue, minimizing losses, enhancing customer satisfaction, or streamlining processes</strong>, clearly defining the business goal is crucial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*VZH23IED5gHoGii8iZkpoQ.jpeg" /></figure><p>This serves as a guiding principle, providing insights into the approach and optimization strategies required. It is imperative to always keep the <strong>business objectives at the forefront</strong>, recognizing their paramount importance throughout the project lifecycle.</p><h4>ML Problem Facing</h4><p>Once the business goal is established, the next step is to determine how machine learning (ML) can be leveraged to address the problem. It is important to note that <strong>not all business problems necessarily require ML solutions</strong>, despite assumptions made by business owners. However, since our focus is on ML-based solutions for our projects, we approach each problem with the assumption that ML can offer a viable solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*lfPmO3dqZPxHbzZYOIlOSQ.jpeg" /></figure><p>It is essential to recognize that ML has its own set of evaluation metrics, such as recall and precision, which may differ from the business metrics used to assess success. To bridge this gap, it is crucial to <strong>align the business metrics with the ML metrics</strong>, ensuring that the ML models are optimized to effectively address the underlying business problems. By framing the business metrics as ML metrics, we can <strong>optimize our models to provide meaningful solutions that align with the desired business outcomes</strong>.</p><h4>Data</h4><p>Once the business and ML metrics are defined, the next crucial step is to gather and prepare the data. Data plays a <strong>pivotal role in machine learning projects, as the quality and quantity of the data</strong> directly impact the performance and effectiveness of the models. As the saying goes, “You can’t outrun a bad diet,” in the context of machine learning, it can be rephrased as “<strong>You can’t outbuild bad data</strong>.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ODRLKBAV2XcLcV49qHmsbA.jpeg" /></figure><p><em>Data Extraction</em></p><p>During this stage, you embark on sourcing and extracting data from various reliable and relevant sources. This can involve methods such as <strong>sourcing data from APIs, extracting data from databases, or even utilizing web scraping techniques</strong>. It is essential to prioritize obtaining unique datasets that are specific to your project’s requirements and align with the business problem at hand.</p><p>For example, in one of your projects, you may choose to integrate with <strong>APIs to fetch data</strong>, while in another project, you might <strong>build a web scraper to extract the necessary information</strong>. These approaches not only provide you with practical experience in data extraction but also <strong>showcase your ability to work with APIs and employ web scraping techniques</strong>. By diversifying your data acquisition methods across different projects, you demonstrate your adaptability and proficiency in obtaining data from various sources, which is a valuable skill in the field of machine learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YcJwvG9dnJj1VHQv8J7jSw.png" /></figure><p><em>Databases</em></p><p>Once the data is obtained, it needs to be stored in a suitable repository. The most common storage option for data in machine learning projects is <strong>databases</strong>, which can be either <strong>relational (such as PostgreSQL or MySQL) or non-relational (such as MongoDB)</strong>. The choice of the database depends on the specific requirements of your project and the nature of the data you have acquired.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*38V42PS2Nhwit3HBua9lFA.jpeg" /></figure><p>For instance, you might opt for PostgreSQL to store and manage data for one project while using MongoDB for another project. This approach allows you to showcase your proficiency in handling different types of data and working with various database management systems, be it SQL or NoSQL. By demonstrating your versatility in <strong>data storage and management</strong>, you highlight your ability to adapt to different project needs and handle diverse datasets effectively.</p><p><em>Data Cleaning and processing</em></p><p>Once the data extraction and database decisions are made, the crucial step of data cleaning ensues, ensuring that the <strong>data is formatted appropriately to meet the specific project requirements</strong>. The data cleaning and processing procedures vary depending on the nature of the data, be it textual, visual, tabular, or time series. While I won’t delve into the intricate details of these processes here, ample online resources exist that provide comprehensive guidance on these essential data preparation tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*e7lYKpF5FJYjNMVPlQgaKg.png" /></figure><p>For effective data cleaning and processing, a range of powerful libraries and tools are available, including popular options like pandas, Spark (for big data), and sci-kit-learn. By utilizing these tools strategically for each project, you can showcase your versatility and mastery in employing diverse technologies for data cleaning and processing tasks. Leveraging pandas, Spark, sci-kit-learn, etc. <strong>demonstrates your proficiency in handling various data types and scales, thereby highlighting your adaptability and expertise in employing cutting-edge tools to deliver robust data pipelines.</strong></p><p><em>Key takeaway</em></p><p>The key takeaway from this data section is the importance of <strong>diversifying your tools and techniques for each project</strong>. So as an example, for Project 1, you can <strong>leverage APIs to obtain unique data, store it in a Postgresql database, and utilize the power of pandas for data processing and analysis</strong>. This approach demonstrates your proficiency in accessing external data sources and effectively managing structured data.</p><p>In contrast, for Project 2, you can <strong>explore web scraping techniques to gather data from websites, store it in a Mongo Db database, and employ spark for large-scale data processing and manipulation</strong>. By employing web scraping and working with unstructured data, you showcase your ability to handle unconventional data sources and extract valuable insights, and so on for the different projects you pursue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R9LehhQ1gQ-mJcOB4KqGGQ.jpeg" /></figure><p>By embracing different methodologies and utilizing a diverse set of tools, such as APIs, web scraping, Postgresql, Mongo Db, pandas, and spark, across your projects, you not only expand your skill set but also demonstrate your versatility in tackling various data challenges. This adaptability and breadth of knowledge make you a valuable asset in the job market, as you can confidently approach different projects with the right tools and techniques, ensuring success in diverse data-driven environments.</p><h3>Conclusion</h3><p>Congratulations on completing Part One of this series! We’ve delved into the crucial steps of problem framing that align with business goals and objectives, as well as harnessing the power of machine learning to tackle these challenges head-on. Additionally, we’ve explored the pivotal role of data in the project lifecycle and examined the diverse range of techniques, tools, and technologies available to acquire, process, and store data effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*OzNNgOHXaOw6H97ShP4u0g.png" /></figure><p>But wait, there’s more to come! In Part Two, we’ll embark on an exciting journey into the realm of machine learning itself. We’ll unravel the intricacies of training, evaluating, deploying, and monitoring models, uncovering the array of cutting-edge tools and technologies that can enhance each stage of the ML pipeline.</p><p>So, stay tuned for the next installment, where we’ll dive deeper into the world of machine learning, equipping you with invaluable insights and practical know-how to excel in your ML endeavors. Get ready to unlock the secrets of model development and deployment!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2df991bfb65" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aimonks/unlocking-ml-opportunities-building-a-strong-portfolio-for-self-taught-career-launch-part-1-c2df991bfb65">Unlocking ML Opportunities: Building a Strong Portfolio for Self-Taught Career Launch- PART 1</a> was originally published in <a href="https://medium.com/aimonks">𝐀𝐈 𝐦𝐨𝐧𝐤𝐬.𝐢𝐨</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transforming Leads into Customers: Optimizing Lead Conversion with Predictive Modeling]]></title>
            <link>https://medium.com/aimonks/transforming-leads-into-customers-optimizing-lead-conversion-with-predictive-modeling-e7189d1f6e35?source=rss-323bb6f24c2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7189d1f6e35</guid>
            <category><![CDATA[lead-conversion]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[predictive-modeling]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Hyacinth Ampadu]]></dc:creator>
            <pubDate>Thu, 11 May 2023 10:11:11 GMT</pubDate>
            <atom:updated>2023-05-11T13:38:20.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*SqOnWvmE3xb4JsbMQUckEQ.png" /></figure><h3>INTRODUCTION</h3><p><strong>Lead conversion</strong> is a crucial aspect of business, especially for companies that deal in apps and websites. <strong>Identifying and predicting</strong> which leads are likely to become paying customers is important since those individuals contribute a lot to the company’s <strong>profit margin</strong>. A lead conversion rate of around 11% is deemed to be a good percentage, so every company wants to achieve that and even more, and the best way to do that is to predict these so that the required and <strong>appropriate arrangements</strong> are made to enable them to complete the process of converting, to keep making profits for the company and business.</p><p>For a lead to convert, there are various processes, one of the ideal processes is, the lead hears about the app, leads checks out the app, leads reads more about the app elsewhere, leads registers with the app, and hence lead converts. During this process, the lead can stop at any time, so it’s important to be able to predict the ones that are likely to convert to enable them to complete the converting process successfully. The ability to <strong>identify and target leads</strong> that are likely to <strong>convert</strong> can be the difference between a <strong>profitable venture and a failed one</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bcx9aiGKV2du8UeYNPimng.jpeg" /></figure><p>In this project, the use case was a mobile company trying to improve its lead conversion by utilizing <strong>ML techniques</strong>, and in this blog, I will discuss my approach to helping this company <strong>improve its lead conversion by diving into the technical details of how I built and deployed the system to a simple streamlit web app</strong>.</p><h3>TOOLS &amp; TECHNOLOGIES</h3><p>Below are the tools and technologies employed in this project:</p><ul><li><em>Backend development</em>: Python</li><li><em>ML models: </em>Random forest, Logistic regression, Decision trees, Xgboost, LightGBM</li><li><em>Frontend</em>: Streamlit</li><li><em>Containerization</em>: Docker</li><li><em>Experiment tracking</em>: Weights and biases(WandB)</li><li><em>API</em>: Fast API</li><li><em>Version Control</em>: Git</li><li><em>Testing</em>: pytest</li><li><em>CI/CD</em>: Github actions</li></ul><h3>ANALYTICS</h3><p>The first and most important thing was to look at the characteristics of leads that converted</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XOROW5eHBmCQroFLW66XjA.png" /></figure><p>From the image above, most leads reside in the United States, with over 98% of leads, but <strong>only less than 5% of them converted</strong>, compared to the Uk which accounted for less than 1% of all leads, had the most leads converting, with around <strong>5.27% of leads converting</strong>, which suggests leads registering in the UK are to be <strong>targeted more</strong> since they tend to <strong>convert</strong> the most.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F603MBWvmWF9rA_BGafiQQ.png" /></figure><p>From the image above, Facebook is the source that most leads redirect from, with almost half of all leads redirecting from there, but <strong>only 3.73% of leads</strong> convert from there. Medium redirection accounts for the <strong>most lead conversion with 6.76%</strong>, even though less than 1% of all leads redirect from there, so leads that redirect from medium should be given the most attention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sMsAXNbrpCF1qr1ldO449w.png" /></figure><p>From the image above, the phone is the device most leads use to register for the app, with almost 94% of all leads registering with it, but <strong>only 4.43% of such leads are converted</strong>. The desktop has the highest conversion rate, with around <strong>6.69% of all leads converting</strong> when they used the desktop to sign up, but only 5% of all leads signed up using the desktop, this could be due to the fact that leads who use the desktop have a bigger screen to look at the app and see all its features, and its easier to navigate, for example clicking a link on the app could just redirect to a new tab, keeping the other tab open, whereas, in the phone, the old tab probably would be closed. <strong>So the best option here is to target leads using desktops as they are more likely to convert.</strong></p><h3>MODEL BUILDING &amp; EVALUATION</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lkqc68a6b7_TLALs5fmI6A.png" /></figure><p>In building the models, 5 algorithms were used: <strong>Random forest, Logistic regression, Decision trees, Xgboost, and LightGBM</strong>. These were chosen for the following reasons:</p><ul><li><strong><em>Random Forest</em></strong>: Random Forest was selected for binary classification of unbalanced data because it&#39;s an <strong>ensemble model that</strong> can handle high-dimensional data, it can capture <strong>complex interactions</strong>, and successfully <strong>address the class imbalance problem</strong> in this project</li><li><strong><em>Logistic Regression</em></strong>: Because of its <strong>computing efficiency</strong>, <strong>interpretability</strong>, and ability to handle <strong>linear relationships</strong> in the data, logistic regression is well suited for this project which is a binary classification with unbalanced data.</li><li><strong><em>Decision Trees</em></strong>: Decision Trees are selected for binary classification of unbalanced data as they can handle both numerical and categorical features, capture non-linear relationships, and effectively address the class imbalance.</li><li><strong><em>XGBoost</em></strong>: XGBoost was also selected due to its <strong>optimized gradient boosting approach</strong>, <strong>strong regularization techniques</strong>, and ability to handle class imbalance effectively while preventing overfitting.</li><li><strong><em>LightGBM</em></strong>: LightGBM is chosen here also because of its <strong>speed</strong>, efficiency, and ability to handle large datasets. Its <strong>leaf-wise tree growth strategy and histogram-based feature binning</strong> make it suitable for addressing the class imbalance in the data.</li></ul><h4>Final Features</h4><p>These are the final features used to build the predictive model:</p><ul><li><strong><em>Time of day user interacts with the app</em></strong>: This feature captures the specific time of day when users engage with the app, which can provide insights into their behavior patterns and preferences.</li><li><strong><em>App lead is redirecting from</em></strong>: This feature tracks the source or channel through which leads are coming to the app. It helps understand the effectiveness of different social marketing channels.</li><li><strong><em>Country of origin</em></strong>: This feature captures the geographical location of leads, which can be valuable for tailoring marketing strategies, understanding regional preferences, and localizing campaigns.</li><li><strong><em>Weekday or weekend</em></strong>: This feature categorizes leads based on whether their interaction occurs on a weekday or weekend, allowing you to analyze if conversion rates differ based on the day of the week.</li><li><strong><em>The time between the lead first opening the app and returning</em></strong>: This feature measures the time interval between a lead’s first interaction with the app and their subsequent visits. It provides insights into user engagement and helps identify active or potential leads.</li><li><strong><em>Device lead is using</em></strong>: This feature captures the type of device (e.g., mobile, tablet, desktop) that leads are using to access the app. It can help optimize the user experience and tailor marketing campaigns for different device types.</li></ul><h4><em>Experiment Tracking</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4oY9rY6U7umcAj0HS61xzg.png" /></figure><p><strong>Weights and biases</strong> was used to track the experiments. Experiment tracking is relevant to keep track of all the experiments I performed, recording the various parameters and configurations I tried, and comparing the performance of different models. I run a lot of experiments, so having this experiment tracker is vital in order to <strong>keep track of what I did, and know what worked and what didn&#39;t</strong>. This ultimately helps to increase efficiency, productivity, and accuracy in developing these machine learning models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tupdkvVr7ZexbyZeMYPm6g.png" /></figure><p>The figure above shows the experiments of the models built being tracked by wandb, and the <strong>best-performing model was the random forest algorithm</strong>, so that’s the model chosen for further development.</p><h4>Model Evaluation</h4><p>The performance of the model was evaluated on 5 metrics, accuracy(which isn’t a good metric for unbalanced datasets), recall, precision, f1score, and roc_auc. The model does not do quite that well in general, achieving scores of around 60% for the metrics, as it’s <strong>hard to predict leads that would convert as leads have very unique characteristics</strong>, but it makes an effort to predict them. The <strong>recall is the most important metric</strong> here, as we are interested in predicting all leads that convert, even if it means having a few leads that did not convert predicted as converted, so here having a few more false positives is acceptable. The Roc curve with the AUC score is shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NQDokO45fQZU79fLL04BPw.png" /></figure><p>The main thing here is to <strong>minimize false negatives</strong>, leads that converted but predicted to not convert, as <strong>having more false negatives would mean missing out on key leads that can potentially make the company profit</strong>.</p><h4>Feature Importance</h4><p>Every lead has different characteristics, where they are based, the device they use, the time they registered, etc. Still, there’s a pattern in which leads that converted or leads that did not take, so in coming up with the predictions, the model identified that some of the <strong>features were more important than others</strong> in predicting if leads would convert or not, below we can see the feature importance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jXEjA8vjvhqk462S_1xOSA.png" /></figure><p>The most important feature in predicting lead conversion is if the <strong>lead visited the app twice on the same day</strong>, which makes sense as those leads have the <strong>highest interest</strong> in the app. Generally, the length of time between registering and subscribing is the most important in predicting leads that would convert.</p><p>The country where the lead is based does not seem to be a very distinguishing feature, as no country makes the top 15 important features, but it still is important to predict lead conversion. The feature that was the least important is if the lead uses a set-top box to access the app, as it is an outmoded device.</p><h3><strong>CI/CD &amp; TESTING</strong></h3><p>GitHub Actions, which is my go-to CI/CD tool, was used here to <strong>automate the building, testing, and release</strong>. For this project, a very simple pipeline was built, which just installs dependencies, runs flake8 to make sure the code is readable and conforms to standards, and runs the testing to make sure the app is robust and would not break when deployed.</p><p>Pytest which is my preferred testing tool was used to <strong>build and run the unit tests</strong>, to make sure the app is behaving the way I expect it to. Very simple tests were written, such as:</p><ul><li>Test to check if no null values are present</li><li>Test to check if the data is now balanced</li><li>Test to check if both training and testing data have the same number of records for both features and target</li><li>Test to check if predictions and testing data have the same number of records</li></ul><h3>MODEL DEPLOYMENT</h3><p><strong>Fast API</strong> was used to create a robust and scalable API for serving the predictive model, which takes the trained model and outputs a prediction, and <strong>streamlit</strong> was used as the front-end, to display the results in a nice UI that company leaders can use to access their leads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*du7p50wS_fIsaC_lR18qsg.png" /></figure><p>The whole app was containerized using <strong>docker</strong>, so we can ensure that it runs consistently in any environment, regardless of the underlying system. <strong>Docker compose</strong> was also used to define the different services required for the application, which are the FastAPI and the streamlit, and run them all together in a single environment, as it allows you to easily manage and scale your services as needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-P14upUppzxkRVjolQfzZA.png" /></figure><h4>How data is gathered from users for real-time scoring</h4><p>To <strong>capture user data for real-time prediction</strong> by the ML models, these are some of the techniques used:</p><ul><li>Track user interactions by capturing the local time of their device</li><li>Monitor the referral source to determine how users are coming to the app</li><li>Extract country information from their IP address</li><li>Calculate whether interactions occur on weekdays or weekends using timestamps</li><li>Store and analyze the time difference between a user’s first app session and subsequent visits or time converted.</li><li>Retrieve device-related data such as device type and operating system using user-agent strings</li></ul><p>This data is obtained from each user as they <strong>interact with the app</strong>, and the data goes through the pipeline of cleaning, and feature engineering to a useable format and is passed to the web app(that would be shown in the next section) for real-time prediction to help understand which users are more likely to convert into customers.</p><h4>WebApp Demo</h4><p>Below is a demo of how the app works,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6GZe2R513agDiH--_zNc8w.gif" /></figure><p>So as you can see from the simple demo above, based on the user&#39;s activities on the app, the model can predict if this lead would convert or not, so based on that, recommended actions would be taken.</p><p>The web app is only available to the mobile company and not for the users, as ideally the data is automatically populated as explained in the previous section, <strong><em>but here, I made it a choice so we can mimic user details being captured</em></strong>, so the company heads can make informed decisions.</p><h4>Recommendations from predictions</h4><p>When a lead is predicted to convert, it’s crucial to capitalize on its potential.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*84ZV3AstvTLIqnJwu8rEmA.jpeg" /></figure><ul><li>Firstly, craft personalized messaging that speaks directly to their interests and needs. Tailoring your communication and marketing efforts can significantly increase the chances of conversion.</li><li>Secondly, take proactive steps by providing timely follow-up actions. This can involve sending targeted emails, offering additional resources or demos, and providing incentives to encourage the desired action.</li><li>Thirdly, ensure your sales team is aware of these high-converting leads so they can prioritize their outreach efforts and deliver personalized attention.</li></ul><p>On the other hand, when a lead is predicted to not convert, it’s essential to employ effective re-engagement strategies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*juHbFR5Xl5xQ5wrft5W96w.png" /></figure><ul><li>Begin by implementing targeted re-engagement campaigns such as personalized emails, offers, or relevant content to reignite their interest.</li><li>Next, focus on lead nurturing by placing non-converting leads into a nurturing workflow. Provide them with valuable information, educational content, and updates to stay on their radar and build trust over time.</li><li>Lastly, collect feedback from non-converting leads to gain insights into their reasons for not converting and use that feedback to inform future optimizations.</li></ul><h4>Additional Features to make the prediction more robust</h4><p>Certain user information can be added to make the predictions more robust, and to better predict leads likely to convert. These additional features have a great potential to even increase the accuracy and hence convert more leads into potential customers.</p><p>Some of these features are:</p><ul><li><strong><em>Previous Interactions</em></strong>: Tracking and analyzing the past interactions of leads, such as previous purchases, inquiries, or engagement with specific content, can indicate their level of interest and propensity to convert.</li><li><strong><em>Engagement Metrics</em></strong>: Monitoring user engagement metrics, such as the number of sessions, time spent on specific pages, click-through rates, or engagement with specific features, can help identify highly engaged leads who are more likely to convert.</li></ul><h3><strong>CONCLUSION</strong></h3><p>Predicting the leads that are likely to convert is of utmost importance to companies, and to this mobile company as well. Many leads start the process and fall by the way, so being able to identify such promising leads that have a high possibility of becoming paying customers is crucial, so certain incentives can be afforded them to help them complete the process. People&#39;s minds can change at any time, but with the company’s intervention obtained from the knowledge gained from this project, knowing those that are likely to convert, can become paying customers to keep the business afloat and make the company profits.</p><p>Some key MLOPS principles were followed to develop this application and also some analysis to further understand the data to help build a more robust predictive model. This can be further worked on to become a usable app or integrated into an existing system to derive value to help reduce losses at a company and increase profit. Engineers can follow some of these principles to begin building apps that are robust and can create value.</p><blockquote>Code used in this project can be found here → <a href="https://github.com/JoAmps/Lead_conversion_prediction_for_a_mobile_app_company">https://github.com/JoAmps/Lead_conversion_prediction_for_a_mobile_app_company</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7189d1f6e35" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aimonks/transforming-leads-into-customers-optimizing-lead-conversion-with-predictive-modeling-e7189d1f6e35">Transforming Leads into Customers: Optimizing Lead Conversion with Predictive Modeling</a> was originally published in <a href="https://medium.com/aimonks">𝐀𝐈 𝐦𝐨𝐧𝐤𝐬.𝐢𝐨</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MLOps Best Practices for Machine Learning Applications: A Case Study of KidFriendlySocial]]></title>
            <link>https://medium.com/aimonks/mlops-best-practices-for-machine-learning-applications-a-case-study-of-kidfriendlysocial-32fd27829af2?source=rss-323bb6f24c2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/32fd27829af2</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[gpt-3]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ml-system-design]]></category>
            <category><![CDATA[mlops]]></category>
            <dc:creator><![CDATA[Hyacinth Ampadu]]></dc:creator>
            <pubDate>Tue, 09 May 2023 15:08:02 GMT</pubDate>
            <atom:updated>2023-05-10T17:51:18.256Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UXvrb4GReEOXZQdVF-i3qg.png" /></figure><h3><strong>INTRODUCTION</strong></h3><p>With the rise of social media use among younger generations(in this case Twitter), it is important to ensure that the content they are exposed to is appropriate and free from harmful language that can negatively impact their development.</p><p>For a potential solution to the problem, I developed a simple web application called <strong>KidFriendlySocial</strong> which addresses this need by utilizing a <strong>predictive model</strong> and a <strong>generative model</strong> built using machine learning techniques to identify tweets that contain <strong>bad language content</strong>.</p><p>The app flags the tweet when they are composed, alerting the user(kid) of the potentially harmful content, and then offers <strong>recommendations</strong> on how to rephrase their tweets that are more <strong>kid-friendly</strong> or appropriate for children. This also helps children become more aware of what is acceptable and unacceptable online behavior, making them better digital citizens.</p><p>In this blog post, I will share my approach to building KidFriendlySocial, highlighting the <strong>MLOps</strong> best practices I used to ensure its <strong>reliability, scalability, and efficiency</strong> through the use of version control, CI/CD, data storage &amp; management, automated testing, deployment, monitoring and logging, retraining, cloud integration, containerization &amp; orchestration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lse1JGjCnuelQeUwkkKNKw.jpeg" /></figure><blockquote>A point of note is this project was not intended for public release but rather as a personal project to showcase my skills in machine learning(MLOPS) and software engineering and also to teach others. It was made available to a select few for testing purposes only and has not been integrated into any systems or applications</blockquote><h3>TOOLS &amp; TECHNOLOGIES</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9TH3r_cpIIocDcPZAPaHoA.jpeg" /></figure><p>Below are the various tools and tech used to develop the solution:</p><ul><li><strong>Backend development</strong>: Python for building the whole backend application</li><li><strong>Microservices</strong>: Used to separate the functionality of the application into smaller, more modular components, improving scalability and maintainability.</li><li><strong>Frontend development</strong>: HTML and CSS for the frontend</li><li><strong>NLP models</strong>: Distil-Roberta for bad language detection and GPT-3 for generating recommendations</li><li><strong>Deep learning</strong>: Pytorch framework for building the NLP deep learning model</li><li><strong>Web framework and APIs</strong>: Flask for building the web application and APIs</li><li><strong>Data APIs</strong>: Twitter API to obtain real-time data</li><li><strong>Containerization</strong>: Docker for packaging the application and dependencies</li><li><strong>Container orchestration</strong>: Kubernetes for deploying and managing containers</li><li><strong>Cloud hosting</strong>: Digital Ocean for hosting the application on the cloud</li><li><strong>CI/CD</strong>: Github actions for continuous integration and continuous delivery</li><li><strong>Database</strong>: MYSQL as the database</li><li><strong>Version Control</strong>: Git for code version control and DVC for data and model version control</li><li><strong>Testing</strong>: Pytest for unit and integration testing</li><li><strong>Monitoring</strong>: Prometheus for monitoring metrics and Grafana for visualizing them</li></ul><h3>SOLUTION OVERVIEW</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*65sRI89aoR5TYpXv-taovg.jpeg" /></figure><p>The model was built using the state-of-the-art natural language processing algorithm, <strong>DistilRobert</strong>a, to detect and classify bad language content. The app also leverages <strong>OpenAI’s GPT-3</strong> to generate recommendations for users to improve their tweets when bad language is detected.</p><p>The application was built using <strong>Flask</strong>, a lightweight Python web framework, and containerized using <strong>Docker</strong> to ensure that it can be deployed easily on any infrastructure. The app is hosted on <strong>DigitalOcean Kubernetes</strong>, a highly scalable and efficient cloud platform that can handle a large volume of traffic. The application is also monitored using <strong>Prometheus and Grafana</strong> to ensure optimal performance, and all data is stored and managed in an <strong>MYSQL database</strong> also hosted on the digital ocean cloud platform.</p><p>KidFriendlySocial incorporates several MLOps best practices, including version control of models and data, continuous integration and continuous deployment (CI/CD), and automated testing</p><h3>DATA</h3><h4>Dataset</h4><p>The data for this project was obtained from two distinct sources, firstly from available datasets on the internet, and from data extracted from the <strong>Twitter API</strong>. The data available on the internet was cleaned and put into a format that is usable, and it was already labeled, whiles I used <strong>Doccana</strong>, an open-source data labeling platform to label all the data extracted from the Twitter API. The data from Twitter API is very relevant in order to obtaining the latest data from Twitter to use to train the model.</p><p>An example of the way I used Doccana to label the dataset, by selecting good language tweet or bad_language_tweet and it gets labeled, is shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*XYj6toree15L2LzLyFMAfA.jpeg" /></figure><h4>Database</h4><p>Relational database, <strong>MYSQL</strong>, is the database of choice to store all user details related to authentications and user feedback in order to score the model in production and also to add actual tweets from users to use as training data to improve the model in the next version(retraining). The MYSQL database was hosted on the digital ocean platform to ensure high availability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*udMXCQ1YIOPXBQJv5BvM_w.png" /></figure><h3>ANALYTICS</h3><p>Firstly, wanted to see the most common unique words(unigram) that appeared in tweets that contain bad language:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pgWTdevaV9PxnzgkJqJEyQ.png" /></figure><p>As can be seen, there are some words that are more general such as want, human, etc, these are included here because they were used in contexts of tweets that are not kid appropriate but the words themselves are appropriate but the words that are strictly for bad language can be seen in there such as fuck, stupid, niggers, etc.</p><p>Also, it was ideal to visualize a <strong>word cloud</strong> of tweets that contain good language and ones that contain bad language, to see how different they are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qV2Zrf9QnePZFXnehBjkrw.png" /></figure><p>As can be seen above, there is a clear difference between good and bad language texts, which is useful for us to differentiate and build a model to try and classify tweets according to this.</p><h3>MODEL BUILDING &amp; EVALUATION</h3><h4>Predictive Model</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_QCMv6fALarT_QKZzORbgA.jpeg" /></figure><p>The Distil Roberta model which has been pretrained on a huge corpus of tweets(model name: vinai/bertweet-base) was used as the base model of choice for training, because the model already understands how tweets are constructed so it can easily generalize to our tweets, and also since its a distil roberta model, it&#39;s a smaller model that still has excellent accuracy, and most importantly, it&#39;s smaller in size, so it trains faster and the <strong>inference speed(latency speed)</strong> is lower. 4 metrics were used ( accuracy, recall, precision, and f1), but the most important metric here is <strong>recall</strong>, as the key is to identify as many potentially bad language tweets as possible to protect children. Here, the focus is on <strong>minimizing false negatives</strong>(the situation where the tweet contains bad language but the model predicts it to contain good language). It&#39;s okay to allow flag some good language as negative, but it&#39;s not good to allow bad language to get out there, so reducing this situation(higher recall) is the most important here. However, precision is also important to ensure that the recommendations provided by the application are accurate and trustworthy. Below are the metrics obtained:</p><h4>accuracy: 0.949936717761215</h4><h4>precision: 0.9477199286616215</h4><h4>recall: 0.9464880338247377</h4><h4>f1: 0.9470952154920613</h4><p>The performance seems good, with the recall being almost 95%, which suggests the model does well in catching bad language tweets. To visualize all these metrics, the confusion matrix was used, the result is below here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*novV2-z8SYj36Fquyz_56w.png" /></figure><p>As can be seen, a lot of bad language tweets were correctly predicted with only <strong>376 out of 5483</strong>(false negatives) incorrectly predicted, also for good language tweets, only 336 were wrongly predicted as being bad language tweets. This shows the model would be robust in predicting if a tweet contains bad language or good language. The key here is to try to <strong>reduce the 376 false negatives to capture more bad language tweets</strong>, as that&#39;s the one we are most interested in predicting.</p><h4>Generative Model</h4><p><strong>GPT3</strong> was used for generating the recommendations when bad language is detected, the <strong>temperature</strong>(how random the generations should be) was set to 0.8 to allow for variations in modifications generated but not too much to distort the context, the <strong>max length</strong> to 256, to allow users to express themselves more, <strong><em>text davicni 003</em></strong> which was the most advanced model at the time of building was used, and an excellent <strong>prompt</strong> written to generate the recommendations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*-rFyYpdaHMvPJuEVVR76Ww.jpeg" /></figure><p>The GPT3 was <strong>finetuned</strong> using 150 tweets of bad language-good language pairs to enable the model to understand the <strong>context</strong> a little better to generate <strong>relevant recommendations</strong>.</p><h3>CI/CD</h3><p>GitHub actions was used as the CI/CD tool, to automate the process of <strong>building, testing, and deploying</strong> the web app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*ZAYeg0aUNrfqi1VPhzyekg.png" /></figure><p>It makes sure all the parts of the project work, are robust, and would not break in production. Any change made to the code or any aspect of the project, would need to build again, pass all tests and deploy the modified version of the app, this ensures the reliability and scalability of the application. For the pipeline made in this case, firstly, all dependencies are installed, so if any new version is released, it&#39;s updated here, then <strong>flake8</strong> is run which makes sure the code is consistent, readable, and maintainable. The <strong>AWS credentials</strong> are configured as the predictive model is stored in an <strong>S3 bucket via DVC</strong>, and the model is then pulled from the s3 bucket, then all the <strong>tests</strong> are performed(which is discussed in the next sections). This is the current implementation of the Ci/CD pipeline.</p><h3>TESTING</h3><p><strong>Pytest</strong> was used for performing all the tests in this project for both unit tests and integration tests. The testing is essential to catch any bugs or errors before pushing the app to production. It ensures a correct and robust app that works exactly how we want to and the users have a seamless experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*o-aGa0MQp17YO_tEJ3muFA.png" /></figure><p>The tests written were in three parts, the <strong>authentication aspec</strong>t, the <strong>data aspect</strong>, and the <strong>model aspect</strong>. The authentication tests ensure all aspects of user authentication, such as signing up and logging in, work correctly without any issues. The data aspects test for the <strong>correctness and validity of the data</strong> to ensure the right format of data is being used and accessed. The model testing tests the model&#39;s performance to ensure it gives out <strong>correct predictions, and quality predictions</strong>, and the predictive model’s integration with the generative model is correct and it&#39;s working well. Various tests in these categories were written and added to the CI/CD pipeline, which ensures all the tests pass before any updates or changes are pushed to production.</p><h3>MODEL IN PRODUCTION</h3><h4>Deployment</h4><p>Flask was used to serve the model as a web service, Docker was used to package the Flask application along with its dependencies, and Kubernetes was used to manage the deployment and scaling of the Docker containers, and hosted on digital ocean.</p><p>The <strong>authentications</strong>(signup, login) were written using Flask, and <strong>jwt authentication</strong> was used to authenticate users to use the app, and all the passwords were hashed using <strong>bcrypt</strong> to protect user privacy. The app was made available to only 11 diverse users for a week, to interact with the app, in order to get feedback on how to improve the app, and also to use their feedback to score the performance of the model and improve the model.</p><h4>WebApp Demo</h4><p>Below is a demo of how the app works. PS: I had to take the app down since it costs money to host the app on digital ocean(the docker containers, the Kubernetes clusters, and the MySQL database).Demo of the model predicting good language(demo takes about 10 secs):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0m4KO5iagvZILiDDkRoWfQ.gif" /></figure><p>Demo of the model predicting bad language(also takes about 10 secs):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GCOteo6AeL_rJJ2BMqJLEA.gif" /></figure><p>As can be seen in the demos, the good language prediction is straightforward, the focus is on detecting the bad language, the model correctly detects that the tweet contains bad language that is not useful for kids, and <strong>generates appropriate recommendations </strong>for them to use to improve their tweets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qqo3NT9AltfJ8QZzG7pIVA.png" /></figure><p>The image above shows the recommendations generated when bad language is detected, so in the demo, the actual tweet was :</p><ul><li>“piss off, you fking b*ch, get the hell of here”,</li></ul><p>and the generated recommendations were :</p><ul><li>“Go away, you awful person, get out of here”</li><li>“Go away, you meanie, scram!”</li><li>“Beat it, you nasty individual, leave now!”</li></ul><p>As can be seen, the recommendations contain the <strong>same meaning and context</strong> as the original tweet, but it is a more kid-friendly version and contains no bad language, which is what we seek to accomplish.</p><h3>Monitoring</h3><p>The performance of the model and the system was monitored using <strong>Prometheus and Grafan</strong>a and the digital ocean internal monitoring tool. System metrics such as <strong>server response time, CPU, and memory metrics</strong> were monitored using the digital ocean internal monitoring tool, and the model metrics were monitored using Prometheus and Grafana.</p><p>The performance of the model was based on user feedback, as they are the ones the app is for, so their feedback is the most important to know how well the model is doing. As already explained, the app was made available to 11 unique individuals to use who performed 43 predictions, and these were the metrics monitored:</p><ul><li><em>The total number of feedbacks received</em>: This can give an indication of the overall engagement with the app.</li><li><em>The number of feedbacks categorized as bad language</em>: This helps to track the frequency of bad language.</li><li><em>The number of correct bad language predictions</em>: This shows how effective the model is at identifying bad language.</li><li><em>Percentage of correct bad language predictions</em>: This gives a more accurate representation of the model’s effectiveness, taking into account the total number of bad language predictions.</li><li><em>Number of feedbacks categorized as good/normal language</em>: This helps to understand the overall capacity of the model to determine the good language</li><li><em>The number of correct good/normal language predictions</em>: This can show how effective the model is at identifying appropriate language.</li><li><em>Percentage of correct good/normal language predictions</em>: This gives a more accurate representation of the model’s effectiveness, taking into account the total number of good/normal language predictions.</li></ul><p>The image below shows the monitoring of the model in production:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YUeZ8N-3aosWeGdSKpJj_A.png" /></figure><p>The model so far is very good at predicting bad language, with only one instance where a tweet containing good language was predicted to contain bad language. This is where we are most interested in, catching all bad languages so bad tweets aren&#39;t sent out there for kids to consume, as can be seen with the 95.2% performance of the model. Good language tweets scored a little worse, even though our focus isn&#39;t solely on that, an improvement in that aspect is required. Because recall is the most important here, that is what was monitored.</p><p>This is the way model monitoring is done so far to keep track of the metrics of the model as users are interacting with the app, to get a sense of how the model is doing, and if the performance starts declining, appropriate measures are taken. The metrics update in real-time as users keep interacting with the app which allows you to monitor and make decisions about whether the model is working well in production.</p><h4>Model Retraining</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uU66DM_ypp04Yndel2RaIQ.png" /></figure><p>The pipeline was set such that after a prediction and recommendations are given to the user, and the user gives feedback, the data is sent to the MYSQL database, and based on the feedback, if the users think the prediction is correct, the feedback data is sent directly and added to the training data. If the users think the prediction is wrong, it&#39;s sent to the wrong prediction section to be analyzed and the label is corrected and added to the training data to kick off retraining.</p><h3>POTENTIAL FUTURE WORK</h3><p>This was just a personal project, but there are several avenues for future development to make it available for public release to derive value, including:</p><ul><li>Incorporating KidFriendlySocial as a browser extension</li><li>Integrating it directly into Twitter</li><li>Incorporating multilingual support</li></ul><h3>CONCLUSION</h3><p>KidFriendlySocial is a web application that aims to make social media safer and more child-friendly. By using machine learning models(NLP), web technologies, container technologies, and cloud hosting, I was able to create a minimal viable product(MVP) application that can detect and flag bad languages and provide recommendations to improve the language used in social media posts, which can potentially help parents and guardians feel more at ease with their children’s social media usage and contribute to a safer and more positive online community.</p><p>This blog focuses on explaining the various processes required to develop your own models(in this case large language models) and make them available for users as an app, utilizing MLOPS best practices. It explains the relevance of each component and how they integrate with each other to get a working app that is reliable, maintainable, and scalable. You can use and build upon these concepts in your projects and applications, as it&#39;s important for us engineers to follow these practices to develop robust applications.</p><blockquote>All the code used in this project can be found here → <a href="https://github.com/JoAmps/KidFriendlySocial">https://github.com/JoAmps/KidFriendlySocial</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32fd27829af2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aimonks/mlops-best-practices-for-machine-learning-applications-a-case-study-of-kidfriendlysocial-32fd27829af2">MLOps Best Practices for Machine Learning Applications: A Case Study of KidFriendlySocial</a> was originally published in <a href="https://medium.com/aimonks">𝐀𝐈 𝐦𝐨𝐧𝐤𝐬.𝐢𝐨</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Experience in the Udacity Machine Learning DevOps(MLOPS) Nano degree]]></title>
            <link>https://joamps.medium.com/my-experience-in-the-udacity-machine-learning-devops-mlops-nano-degree-14be947f2df8?source=rss-323bb6f24c2d------2</link>
            <guid isPermaLink="false">https://medium.com/p/14be947f2df8</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Hyacinth Ampadu]]></dc:creator>
            <pubDate>Mon, 28 Mar 2022 23:40:37 GMT</pubDate>
            <atom:updated>2023-05-10T17:53:13.798Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kY1uzAqa5CbRpgy-odnftA.png" /></figure><h3>INTRODUCTION</h3><p>MLOPS is a crucial skill for data scientists and machine learning engineers, because most times, individuals retrieve, clean, and train machine learning models and leave them in the Jupyter Notebook, serving no purpose, or not solving any real-world problems.</p><p>Due to this, it&#39;s essential for professionals to have the skills to deploy and monitor models in production. This nano degree does a good job of teaching what is required to be an MLOPS engineer.</p><p>There are 4 courses in this nano degree, which are:</p><ul><li>Clean code principles</li><li>Building reproducible ML workflows</li><li>Deploying a scalable ML pipeline in production and</li><li>ML model scoring and monitoring</li></ul><p>In this blog, I would outline and explain what each course entails and my thoughts on each of them.</p><h3>COURSES</h3><h4><strong>Clean code principles:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ot6HmfWxptc8eesyaqBAgQ.png" /></figure><p>This course teaches writing clean and modular code, refactoring code, optimizing code for efficiency, writing documentation, following PEP8 guidelines and linting, and a bit of git. Data scientists tend to not focus on writing good code, they just write code that works and move on.</p><p>This course is important as it teaches them various ways to write production-level code, not just for you, but for your colleagues. It has improved the way I write code in production environments, and I use the skills gained in this course a lot in my work. I highly recommend it this course to individuals who are looking to improve their code writing, especially self-taught data scientists and ML engineers, since most courses don&#39;t focus on production-ready code.</p><p>In the end, the project built was to take a colleague’s messy Jupyter notebook and implement good clean code practices to write production-level code.</p><p>My solution can be found here, → <a href="https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-/tree/main/Predict_Customer_Churn_with_clean_code">https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-/tree/main/Predict_Customer_Churn_with_clean_code</a></p><h4><strong>Building reproducible ML workflows:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*khutG_-bPO5Qft36E16jnA.png" /></figure><p>This course teaches how to create a clean, organized, reproducible, end-to-end machine learning pipeline from scratch, transform, validate, and verify your data, run experiments, track data, code, and results, select the best-performing model and promote it to production, create an artifact ready for deployment, and release your final pipeline.</p><p>The tools and technologies used are weights and biases and MLflow. I found this course the most challenging, because of all the various environments you have to create, there are so many parts that need to be joined together, so it made it quite tough to grasp, but finally I did.</p><p>In the end, the project completed was to create a reusable end-to-end pipeline for predicting short-term rental prices.</p><p>My solution can be found here → <a href="https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-/tree/main/Building%20a%20Reproducible%20Model%20Workflow">https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-/tree/main/Building%20a%20Reproducible%20Model%20Workflow</a></p><h4><strong>Deploying a scalable ML pipeline in production:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DzIwcxPx3Zf_XizqYsmLaQ.png" /></figure><p>This course teaches how to finalize preparing a model for production by analyzing performance on slices, writing a model card that encapsulates the purpose, provenance, and pitfalls of your model, and how to version control data and models using Data Version Control (DVC).</p><p>It also teaches creating pipelines and tracking experiments using DVC, and how to use GitHub Actions for Continuous Integration (CI). How to use Heroku for app hosting and Continuous Deployment (CD).How to write an API using FastAPI including path, query, and body parameters, and how to deploy an API using both the CLI and the GUI.</p><p>This course’s project was the most challenging, and the most detailed, it required so many tools and so many things to be done, but I think it&#39;s the one I learned the most. In the end, the project was to deploy a scalable machine learning model on Heroku using fast API with CI/CD.</p><p>My solution can be found here → <a href="https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-/tree/main/Deploying%20a%20Scalable%20ML%20Pipeline%20in%20Production">https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-/tree/main/Deploying%20a%20Scalable%20ML%20Pipeline%20in%20Production</a></p><h4><strong>ML model scoring and monitoring:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7KVgMwosyqDI9Acyyb5gDA.png" /></figure><p>This course teaches automating ML processes, retraining and re-deploying ML models, automatically scoring ML models, recording model scores, checking for model drift, hypothesis testing in model comparison, timing processes, checking for latency issues, checking for and resolving module dependency issues, checking for and resolving data stability issues, configuring API’s on your workspace, scripting endpoints to improve your API’srunning and calling APIs.</p><p>The final project was to build and monitor a machine-learning model to predict attrition risk.</p><p>My solution can be found here → <a href="https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-/tree/main/A%20Dynamic%20Risk%20Assessment%20System">https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-/tree/main/A%20Dynamic%20Risk%20Assessment%20System</a></p><h3><strong>CONCLUSION</strong></h3><p>Overall, it was a great experience, and I believe the course touches on the various crucial aspects of machine learning in production. Even though I was already well versed in the MLOPS space, this course granted me more tools and skills to go beyond what I already knew to build and deploy production-ready scalable machine-learning models that users can use and interact with.</p><p>I would recommend this course to any data scientist or machine learning engineer, or anyone trying to break into that space, though this course requires quite some level of experience and skills as prerequisites, I would consider this for intermediate to advanced developers, it&#39;s not a beginner level course. Happy machine learning!</p><p>Main Github page → <a href="https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-">https://github.com/JoAmps/JoAmps-Udacity-Machine-learning-Devops-Engineer-Nanodegree-MLOPS-</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pf4702BlWNpU9jZorRLK3A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14be947f2df8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>