<?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 Sachin Gupta on Medium]]></title>
        <description><![CDATA[Stories by Sachin Gupta on Medium]]></description>
        <link>https://medium.com/@sachingupta.itm?source=rss-dde3af0b33a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*oFYRqoDFmTyOiHyBS3_ATQ.jpeg</url>
            <title>Stories by Sachin Gupta on Medium</title>
            <link>https://medium.com/@sachingupta.itm?source=rss-dde3af0b33a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 05:55:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sachingupta.itm/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[Generative AI Learning Path]]></title>
            <link>https://medium.com/@sachingupta.itm/generative-ai-learning-path-656fa1dca547?source=rss-dde3af0b33a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/656fa1dca547</guid>
            <category><![CDATA[learning-path]]></category>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[generative-ai-consulting]]></category>
            <dc:creator><![CDATA[Sachin Gupta]]></dc:creator>
            <pubDate>Wed, 04 Sep 2024 11:49:23 GMT</pubDate>
            <atom:updated>2024-09-28T15:12:19.666Z</atom:updated>
            <content:encoded><![CDATA[<p>For Product Managers, Business Leaders and Beginners</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BS5cekh3WUDR0PCOJEm54A.png" /><figcaption>Image generated by AI</figcaption></figure><blockquote>If God allows me to ask for anything, it should not be money or looks, but the ability to help others. @Sudha Murty</blockquote><p>My mission is to help people and organizations in their AI journey and to create AI-enabled products that solve real-world problems. Based on my 13+ years of working experience in AI, I have consolidated the best learning content and crafted the Gen AI Learning Path.</p><h3>Welcome to the Gen AI Learning Path for Everyone</h3><p>You’ll explore the essentials of generative AI, including Python, foundational concepts in machine learning and deep learning, and advanced generative AI techniques. These topics are designed to equip you with the knowledge and skills needed to excel in managing AI projects. Each section had been designed in the form of an article. This is the base article of the series of 6 articles. Beyond the random content, it is well curated free generative AI learning path.</p><p><strong>This learning path will help you get answers to the questions below</strong></p><blockquote>You’re falling behind in AI upskilling. How can you catch up with rapidly evolving technology?</blockquote><blockquote>There are many learning sources; which one I should choose?</blockquote><blockquote>How much depth of understanding, I should go?</blockquote><p><strong>What You Need to Know</strong></p><ul><li><strong>Content</strong>: The learning path covers fundamental concepts of generative AI, practical applications, and hands-on project details. I have reviewed the content and selected the best content creator in the AI field.</li><li><strong>Time Commitment</strong>: We understand your time is valuable. I have designed the path to be flexible, allowing you to learn at your own pace Allocate time each week for the learning to ensure steady progress.</li><li><strong>Tips to catch up with the Rapid growth of the AI field</strong></li></ul><h3>Let&#39;s start with generative AI learning</h3><h4>Step 0: Learning Python Basics</h4><p>If you are a leader or manager, then you can skip it. However, it is good to have a basic understanding of Python that can help you to guide and manage AI projects.</p><p>Python Full Course for Beginners course by Mosh (6 hours)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_uQrJ0TkZlc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_uQrJ0TkZlc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_uQrJ0TkZlc%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5db0334688a2e4085ef7d670941ff707/href">https://medium.com/media/5db0334688a2e4085ef7d670941ff707/href</a></iframe><p>You can watch the above course in two languages. Select your preference accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*7XKSAtSkF4NTH9csQKFN0g.png" /></figure><p>If you are interested in becoming an AI developer, then complete the below sections as well. The rest of the topics you can learn along with work. Let&#39;s focus on the needed content according to your needs and role in AI project implementations.</p><p><a href="https://www.w3schools.com/python/python_lists_comprehension.asp">List compression</a> <a href="https://www.w3schools.com/python/python_lists_comprehension.asp">link</a>, <a href="https://www.w3schools.com/python/python_lambda.asp">Lambda function</a> <a href="https://www.w3schools.com/python/python_lambda.asp">link</a> and decorator <a href="https://www.youtube.com/watch?v=WpF6azYAxYg">link</a> (30 minutes)</p><p>Numpy <a href="https://www.youtube.com/watch?v=vh525RjO6C0&amp;list=PLZoTAELRMXVPBTrWtJkn3wWQxZkmTXGwe&amp;index=7">link</a>, pandas (<a href="https://www.youtube.com/watch?v=QUClKFFn1Vk&amp;list=PLZoTAELRMXVPBTrWtJkn3wWQxZkmTXGwe&amp;index=8">part 1</a>, <a href="https://www.youtube.com/watch?v=tW1BWtQRZ2M&amp;list=PLZoTAELRMXVPBTrWtJkn3wWQxZkmTXGwe&amp;index=9">part 2</a>, <a href="https://www.youtube.com/watch?v=xx4Vkc5RrWY&amp;list=PLZoTAELRMXVPBTrWtJkn3wWQxZkmTXGwe&amp;index=10">part 3</a>), Matplotlib <a href="https://www.youtube.com/watch?v=czQO1_GEEos&amp;list=PLZoTAELRMXVPBTrWtJkn3wWQxZkmTXGwe&amp;index=11">link</a> (~ 2.5 hours)</p><h4>Step 1: Unlocking Generative AI</h4><p>Learning objective: You will understand Generative AI usage, its risk and compliance</p><p><strong>Andrew Ng</strong> is a prominent figure in artificial intelligence and machine learning. He is a computer scientist, entrepreneur, and educator known for his significant contributions to AI research and education.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FdfeoJ55EcXs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdfeoJ55EcXs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FdfeoJ55EcXs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb25f2d4675062b9a75f3abb53bbc30b/href">https://medium.com/media/fb25f2d4675062b9a75f3abb53bbc30b/href</a></iframe><p>This course is like a coffee afternoon with friends, discussing and clarifying various fundamental aspects of generative AI. The instruction style is still tip-top, attractive, and gentle, e.g. “Jobs are comprised of many tasks. AI automates tasks, rather than jobs.”</p><blockquote>This course is designed for non-technical people. No prior coding knowledge is required. Every industry leader should know about Generative buzz words.</blockquote><p><strong>Note</strong>: If you cannot complete the full learning path, I recommend that everyone at least complete this course.</p><blockquote>Please click the link below and register for the course.</blockquote><p><a href="https://www.deeplearning.ai/courses/generative-ai-for-everyone/">Generative AI for Everyone</a></p><h4>Step 2: Data analytics using Python (optional)</h4><p><em>This is optional if you have data analytics experience using advanced Excel, Tableau, or Power BI.</em></p><p>I am excited to introduce you to <strong>Krish Naik</strong>, a highly regarded expert in the fields of Artificial Intelligence and Data Science. With a wealth of experience and a passion for teaching, Krish has become a prominent tech figure known for his deep knowledge and practical insights. I hope you enjoy his teaching style.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*lmF8ziIRA-B4fy4u3yyGqw.png" /><figcaption><a href="https://medium.com/u/d67809141db2">Krish Naik</a></figcaption></figure><h4>Why you need to learn Pandas &amp; Matplotlib</h4><p>As a product manager or leader, you must collect and present data statistics for decision-making. Python is a programming language chosen for its simplicity and versatility, making it ideal for day-to-day data analytics needs. Its extensive libraries and ease of use enable efficient data manipulation and analysis, which are crucial for our data-driven decision-making process.</p><p>As a leader, if you understand the written code, it will help you direct the team, understand the developer&#39;s problems, &amp; guide them well. Hence, having an understanding of Python is a great advantage.</p><blockquote>Lets learn data analytics skills</blockquote><p><a href="https://medium.com/@sachingupta.itm/data-analytics-for-ai-product-managers-905671803e98">Generative AI Learning Path for Product Managers, Part 1</a></p><h3>Step 3: Foundation — Machine Learning</h3><p><strong>Learning objective:</strong> A foundational understanding of machine learning and generative AI, is essential for grasping the different terminologies and concepts in AI. Understanding these basics will empower you to engage more effectively with AI projects and discussions.</p><p>You will learn about the concepts behind linear regression, logistic regression, performance matrices, clustering, and time series concepts.</p><blockquote>Lets learn machine learning skills.</blockquote><p><a href="https://medium.com/@sachingupta.itm/generative-learning-path-for-product-managers-part-2-c183219e1c18">Generative Learning Path for Product Managers, Part 2</a></p><h3>Step 4: Deep Learning Foundation</h3><p><strong>Learning objective</strong>: Understanding the significance of deep learning and neural networks is crucial for product managers in today’s AI-driven landscape. It will set a strong foundation for Generative AI</p><blockquote>Lets learn Deeplearning skills</blockquote><p><a href="https://medium.com/@sachingupta.itm/foundation-deep-learning-21d3bbd9881b">Foundation — Deep learning</a></p><h3>Step 5: Generative AI Basic to Advance</h3><h4>Basics</h4><blockquote><em>“Master the fundamentals, and success will follow”</em></blockquote><p>Lets understand the two buzzwords called LLM and finetuning by reading below story name as “LLM School Chalein hum”</p><p><a href="https://medium.com/@sachingupta.itm/generative-ai-buzzword-words-explanations-in-laymans-language-1e8d5ce55841">What is Language model and its E-commerce use cases</a></p><p><a href="https://medium.com/u/34369d020458">Jay Alammar</a> is a data scientist and visualization enthusiast known for his captivating and insightful visual explanations of complex AI and machine learning concepts. Through his work, Jay bridges the gap between technical intricacies and intuitive understanding, making advanced topics accessible to a broad audience. His visualizations, often featured on platforms like Medium and YouTube, have become popular for their clarity and ability to demystify algorithms and models. Jay Alammar’s contributions empower learners and professionals alike to grasp the profound impact of AI in our world today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*swlnjyVuEX89dOLY9zL9Mg.jpeg" /><figcaption><a href="https://medium.com/u/34369d020458">Jay Alammar</a></figcaption></figure><blockquote><em>Are you interested in knowing how GPT model designed &amp; works? Let&#39;s click on link and explore together</em></blockquote><p>Are you ready to take your understanding to the next level? Let’s dive into the exciting world of AI with Jay Almer’s incredible visualizations!</p><p><em>Let&#39;s deep dive into the basics of generative AI.</em></p><p><a href="https://medium.com/@sachingupta.itm/generative-ai-basics-part-4-9d6f1e8a9893">Generative AI Basics, Part 4</a></p><h4>Advance</h4><p>In the course “Generative AI with Large Language Models (LLMs),” you’ll learn how generative AI works and how to deploy it in real-world applications.</p><p>This course will help you understand the complete life cycle of generative AI, including fine-tuning your own LLM, RLHF, etc. It is a highly recommended course in the AI community. Do not worry; it is ok if you understand 50% of the course. However, it will help you to understand the Gen AI project lifecycle in detail.</p><blockquote><em>Register and take a deep dive into the course. You can access courses from the Coursera mobile app as well. Course </em><a href="https://www.coursera.org/learn/generative-ai-with-llms#syllabus">link</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*knxzRG2o12Yjwd78eJIK4A.png" /></figure><p>Congratulations on your milestone achieved so far. If you are a leader/manager then you can jump to learn responsible AI. But if you want to become an AI developer then Please complete the advanced generative Playlist from sunny Savita. The good part about this playlist is, that you can code and learn together.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FV9tJCQoBakA%3Flist%3DPLQxDHpeGU14AIu52l2OlIJs9z94yTFR_t&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DV9tJCQoBakA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FV9tJCQoBakA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/02c9c02893676648bdc2032ddc114614/href">https://medium.com/media/02c9c02893676648bdc2032ddc114614/href</a></iframe><p>I recommend Sunny Playlist to bookmark as he keeps updating the playlist with updated content and the latest research in the generative AI field.</p><p>You can also follow the Krish Naik series on Udemy. It is not free but has minimal cost and Krish also updates the content based on enhancement in Generative AI. Hence Following both playlists keeps you updated on generative AI implementation techniques.</p><p><a href="https://www.udemy.com/course/complete-generative-ai-course-with-langchain-and-huggingface/?couponCode=NVDIN35">https://www.udemy.com/course/complete-generative-ai-course-with-langchain-and-huggingface</a>/</p><p>❤ If you found this post helpful, I’d greatly appreciate your support by giving it a clap. It means a lot to me and demonstrates the value of my work. Let&#39;s help the community by sharing and learning free knowledge.</p><h4>Step 6: Mastering Responsible AI and Compliance</h4><p><em>The pace at which the technological aspect of AI is advancing is far ahead of the progress in Responsible AI. 🤖 We need to work together to enhance awareness and implementation of Responsible AI practices.</em></p><p>In this section, we will discuss “Why you need to learn Responsible AI”, the government’s AI act impact timelines, the different landscapes of Generative AI solutions Risk and solutions, and the available framework of Responsible AI implementation.</p><p><em>Let&#39;s understand responsible AI &amp; its frameworks</em></p><p><a href="https://medium.com/@sachingupta.itm/mastering-responsible-ai-frameworks-and-regulations-4107625945b5">Mastering Responsible AI: Frameworks and Regulations</a></p><p><strong>Conclusion</strong></p><p>This series of articles has been designed to switch to the Generative AI field. I will keep updating learning materials based on enhancements in the field.</p><p>If you have any open questions and need carrier guidance then drop a note to sachingupta.itm@gmail.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=656fa1dca547" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generative AI Basics, Part 4]]></title>
            <link>https://medium.com/@sachingupta.itm/generative-ai-basics-part-4-9d6f1e8a9893?source=rss-dde3af0b33a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d6f1e8a9893</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[cosine-similarity]]></category>
            <dc:creator><![CDATA[Sachin Gupta]]></dc:creator>
            <pubDate>Wed, 04 Sep 2024 11:29:33 GMT</pubDate>
            <atom:updated>2024-09-28T14:46:06.889Z</atom:updated>
            <content:encoded><![CDATA[<p>NLP Basics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WZPo_0I3fZytwWha5t1cUw.jpeg" /></figure><p><strong>Learning objective</strong></p><p>By the end of this section, you will be able to understand and apply generative AI concepts from basic to advanced levels.</p><blockquote><strong><em>“Master the fundamentals, and success will follow.”</em></strong></blockquote><h3>How to measure similarity in vector space (cosine similarity)</h3><p>Cosine similarity is a measure of similarity between two vectors of an inner product space that measures the angle’s cosine. In natural language processing and information retrieval, cosine similarity is used to determine how similar two texts/documents are by comparing the cosine of their angles in a multidimensional space.</p><h3>Why do product leaders learn this:</h3><p><strong>Similarity Measurement</strong>: It helps quantify the similarity between two pieces of text or data. This is essential in applications such as recommendation systems, where understanding how similar two products or user preferences are can improve recommendations.</p><p><strong>Text Matching</strong>: In natural language processing (NLP), cosine similarity is used to compare the similarity of documents, which is helpful for tasks like document clustering or identifying duplicate content.</p><p><strong>Evaluation Metrics</strong>: When evaluating generative AI models, cosine similarity can be used to assess how well the generated text matches a reference text or the desired output. This is particularly important in tasks like text generation or paraphrase generation.</p><p><strong>Semantic Understanding</strong>: It provides a measure of semantic similarity rather than just syntactic similarity. This means it can capture relationships between words or phrases that have similar meanings but different forms, which is valuable in understanding user intent or context in applications like chatbots.</p><p><strong>Model Training: </strong>During model training, cosine similarity can be used as a loss function or as a metric to optimize models for specific tasks, ensuring that the generated outputs are not only syntactically correct but also semantically meaningful.</p><p>For product managers, understanding cosine similarity helps make informed decisions about the design, implementation, and evaluation of generative AI systems. It enables them to improve user experience, enhance product recommendations, and ensure that the AI systems meet the intended objectives effectively.</p><p><strong>What is cosine similarity?</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FxY3jrJdpuQg%3Flist%3DPLVNY1HnUlO27T2H_KspAKembHX_ru0Ha1&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DxY3jrJdpuQg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FxY3jrJdpuQg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/09eac12765b7d2545582e401f5ad0fc2/href">https://medium.com/media/09eac12765b7d2545582e401f5ad0fc2/href</a></iframe><p><strong>TF-IDF Document Similarity using Cosine Similarity</strong></p><p>TF-IDF (Term Frequency-Inverse Document Frequency) is relevant to generative AI concepts and the second step to generative AI basics.</p><p>TF-IDF is essential for product managers exploring generative AI concepts because it provides a structured way to analyze and understand textual data, optimize model training by focusing on relevant features, and enhance the quality and relevance of AI-generated outputs. TFIDF is famous for the Hybrid search functionality of RAG( <a href="https://aws.amazon.com/what-is/retrieval-augmented-generation/#:~:text=Augmented%20Generation%20requirements%3F-,What%20is%20Retrieval%2DAugmented%20Generation%3F,sources%20before%20generating%20a%20response.">Retrieval-Augmented Generation</a>) based solutions.</p><h4>Word2Vec (Representing words in numeric)</h4><p>By understanding Word2Vec, product managers can make informed decisions, bridge the gap between technical and business requirements, and contribute meaningfully to AI-driven product development and strategy.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F64qSgA66P-8%3Flist%3DPLVNY1HnUlO27T2H_KspAKembHX_ru0Ha1&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D64qSgA66P-8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F64qSgA66P-8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1857076d70d6a99017f3607f97185a5e/href">https://medium.com/media/1857076d70d6a99017f3607f97185a5e/href</a></iframe><p><strong>The Illustrated Word2Vec</strong></p><p>This 9-minute video will help you understand the word2Vec more intuitively. Jay had converted complex concept in simple visualizations. For better understanding, read the full blog: <a href="https://jalammar.github.io/illustrated-word2vec/">Full Blog from Jay Alammar</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FISPId9Lhc1g%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DISPId9Lhc1g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FISPId9Lhc1g%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6b3410b7fc2f6955855b6550db8379c6/href">https://medium.com/media/6b3410b7fc2f6955855b6550db8379c6/href</a></iframe><p><strong>Visualizing A Neural Machine Translation Model</strong></p><h3>Mechanics of Seq2seq Models With Attention</h3><p>Sequence-to-sequence learning (Seq2Seq) involves training models to convert sequences from one domain (e.g., sentences in English) to sequences in another domain (e.g., the same sentences translated to French).</p><p><strong><em>“the cat sat on the mat” -&gt; [Seq2Seq model] -&gt; “le chat etait assis sur le tapis”</em></strong></p><p>In this blog, the different visualizations help to understand the concept well. Visualizing A Neural Machine Translation Mode.</p><p>Let&#39;s read the complete blog.</p><p><a href="https://jalammar.github.io/visualizing-neural-machine-translation-mechanics-of-seq2seq-models-with-attention/">Visualizing A Neural Machine Translation Model (Mechanics of Seq2seq Models With Attention)</a></p><blockquote><em>Remember, these are the foundations for learning how ChatGPT works. So be patient and keep learning.</em></blockquote><p><strong>The Illustrated Transformer</strong></p><p>A transformer model is a neural network that learns context and thus meaning by tracking relationships in sequential data like the words in this sentence. Transformer paper attention: all you need is a breakthrough, which is the source of most of the innovative LLM today.</p><blockquote><em>Transformers are an essential element of today’s LLMS. Let us learn with innovative visualizations.</em></blockquote><h4>The Narrated Transformer Language Model</h4><p>In this blog, Jay explains this model in detail. The 30-minute video is from that blog: <a href="https://jalammar.github.io/illustrated-transformer/">The Illustrated Transformer</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-QH8fRhqFHM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-QH8fRhqFHM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-QH8fRhqFHM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f1adb90ca8f9c184f0b5862a23be67d3/href">https://medium.com/media/f1adb90ca8f9c184f0b5862a23be67d3/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U4m9jBnYJZPuqS-OeU36SA.jpeg" /></figure><p>Dive into the world of GPT-2 and discover how this groundbreaking model is pushing the boundaries of what’s possible with AI!</p><p>Read the interesting GPT-2 blog: <a href="https://jalammar.github.io/illustrated-gpt2/">The Illustrated GPT-2 (Visualizing Transformer Language</a></p><p>💡 The Illustrated GPT-2 (Visualizing Transformer Language Models)</p><p>Here are some exciting bullet points about the GPT-2 model:</p><ul><li>🚀 <strong>Powerful Language Understanding</strong>: GPT-2 can generate human-like text often indistinguishable from what a human would write.</li><li>🔍 <strong>Versatile Applications</strong>: From chatbots to content creation and even code generation, GPT-2’s capabilities are vast and varied.</li><li>🌐 <strong>Contextual Awareness</strong>: GPT-2 excels at understanding context, making its responses coherent and relevant across different topics.</li><li>🧠 <strong>Learning Efficiency</strong>: Trained on diverse internet text, GPT-2 can handle a wide range of language tasks with impressive efficiency.</li><li>📈 <strong>Continuous Improvement</strong>: GPT-2 builds on the success of its predecessors, incorporating advanced techniques to enhance performance.</li><li>🌟 <strong>OpenAI’s Breakthrough</strong>: Developed by OpenAI, GPT-2 represents a significant leap in natural language processing.</li><li>🎨 <strong>Creative Potential</strong>: Whether writing poetry, crafting stories, or brainstorming ideas, GPT-2 unlocks new creative possibilities.</li><li>🛠️ <strong>Developer-Friendly</strong>: With accessible APIs and resources, it’s easier than ever to integrate GPT-2 into your own projects.</li><li>💰 <strong>OpenAI ROI</strong>: GPT-2 is the first LLM launched as a commercial product, generating significant revenue for OpenAI.</li></ul><p>💡 The backend GPT model which gives power to ChatGPT</p><blockquote><strong>Here are some exciting bullet points about the GPT-3 model:</strong></blockquote><ul><li>🚀 <strong>Unmatched Language Understanding</strong>: GPT-3 takes language generation to the next level, producing even more coherent and human-like text than its predecessors.</li><li>🌟 <strong>Incredible Versatility</strong>: From complex chatbots to sophisticated content creation, programming assistance, and beyond, GPT-3’s applications are almost limitless.</li><li>🌐 <strong>Deep Contextual Awareness</strong>: GPT-3’s advanced understanding of context allows it to generate highly relevant and contextually accurate responses across diverse topics.</li><li>🧠 <strong>Enhanced Learning Efficiency</strong>: Trained on an enormous dataset, GPT-3 can perform a wide range of language tasks with remarkable efficiency and accuracy.</li><li>📈 <strong>Continuous Innovation</strong>: GPT-3 represents a significant leap forward from GPT-2, featuring 175 billion parameters, greatly enhancing its performance and capabilities.</li><li>🌍 <strong>Global Impact</strong>: GPT-3 is utilized worldwide, powering applications that range from customer support and educational tools to creative writing and gaming.</li><li>🎨 <strong>Expansive Creative Potential</strong>: Whether generating poetry, crafting intricate stories, composing music, or providing creative suggestions, GPT-3 opens up new realms of creativity.</li><li>🛠️ <strong>Developer’s Dream</strong>: With robust APIs and extensive documentation, integrating GPT-3 into your projects seamlessly makes it a favorite among developers.</li><li>💼 <strong>Commercial Success</strong>: GPT-3 is a cornerstone of OpenAI’s commercial offerings, driving significant revenue and showcasing the potential of AI in business applications.</li></ul><p><strong>The GPT Models</strong></p><p>Explore the capabilities of GPT-3 and witness how this state-of-the-art model is revolutionizing the landscape of artificial intelligence!</p><p><strong>Detailed Blog: </strong><a href="https://jalammar.github.io/how-gpt3-works-visualizations-animations/"><strong>How GPT 3 works</strong></a></p><p><em>This 14-minute Video gives you a good understanding of GPT models.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FMQnJZuBGmSQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DMQnJZuBGmSQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FMQnJZuBGmSQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d38841365a350767542fcc8c4389bf45/href">https://medium.com/media/d38841365a350767542fcc8c4389bf45/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d6f1e8a9893" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Foundation — Deep learning]]></title>
            <link>https://medium.com/@sachingupta.itm/foundation-deep-learning-21d3bbd9881b?source=rss-dde3af0b33a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/21d3bbd9881b</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[generative-ai-foundation]]></category>
            <dc:creator><![CDATA[Sachin Gupta]]></dc:creator>
            <pubDate>Wed, 04 Sep 2024 08:41:31 GMT</pubDate>
            <atom:updated>2024-09-09T03:29:31.648Z</atom:updated>
            <content:encoded><![CDATA[<h3>Generative AI Learning Path,Part 3</h3><p><strong>Foundation — Deep learning</strong> for Product Managers &amp; Leaders</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p9oPpfuRD5eiH1OJxwLkLg.jpeg" /></figure><p><strong>Learning objective</strong>: By the end of this section, you will be able to understand the significance of deep learning and neural networks, forming a strong foundation for generative AI.</p><h3>Introduction to Deep Learning</h3><p>Neural network understanding empowers product managers to effectively lead generative AI initiatives, from strategic planning to execution and ethical governance. It enhances their ability to collaborate with AI teams, articulate requirements, and align AI capabilities with business goals and user needs.</p><p>Neural networks form the backbone of many generative AI models, including language models, image generators, and more. To comprehend these AI systems’ capabilities and limitations, product managers need a fundamental grasp of how neural networks function.</p><p><strong>Introduction to Neural Network and Deep Learning</strong></p><p>Neural network understanding empowers product managers to effectively lead generative AI initiatives, from strategic planning to execution and ethical governance. It enhances their ability to collaborate with AI teams, articulate requirements, and align AI capabilities with business goals and user needs.</p><p>Neural networks form the backbone of many generative AI models, including language models, image generators, and more. To comprehend these AI systems’ capabilities and limitations, product managers need a fundamental grasp of how neural networks function.</p><h3>Why you should learn the Neural Network basics before learning generative AI</h3><p>Generative AI engineers should learn neural networks because they are the backbone of generative models and many advanced AI systems. Here are key reasons why understanding neural networks is essential:</p><ol><li><strong>Foundation of Generative Models</strong>: Neural networks are fundamental to building generative models such as GANs (Generative Adversarial Networks) and VAEs (Variational Autoencoders), which are used to create realistic images, videos, and text.</li><li><strong>Complex Pattern Recognition</strong>: Neural networks excel at recognizing complex patterns in data, which is crucial for tasks like image synthesis, natural language processing, and music generation.</li><li><strong>Innovation and Creativity</strong>: Mastery of neural networks enables engineers to push the boundaries of AI creativity, designing systems that can generate novel content and solutions.</li><li><strong>Optimization Techniques</strong>: Learning neural networks includes understanding optimization techniques like backpropagation and gradient descent, which are critical for training effective models.</li><li><strong>Scalability</strong>: Neural networks can be scaled to handle large datasets and complex models, making them suitable for real-world applications that require high performance and accuracy.</li></ol><h3>Real-Life Applications</h3><ol><li><strong>Image Generation</strong>: Create photorealistic images from textual descriptions using models like DALL-E.</li><li><strong>Text Generation</strong>: Develop sophisticated language models like GPT-3 that can write articles, code, and perform translation.</li><li><strong>Music Composition</strong>: Use neural networks to compose new music that mimics the style of famous composers.</li><li><strong>Voice Synthesis</strong>: Generate natural-sounding speech for virtual assistants and audiobooks.</li><li><strong>Drug Discovery</strong>: Apply neural networks to generate potential molecular structures for new drugs.</li></ol><p><em>This is an 8-minute video that will help you get the basic information about neural networks.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FDKSZHN7jftI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DDKSZHN7jftI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FDKSZHN7jftI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f388e59444ba5bf5fae673ae45ee2e1e/href">https://medium.com/media/f388e59444ba5bf5fae673ae45ee2e1e/href</a></iframe><p><strong>How Does a Network Network Work</strong></p><p>Neural networks, inspired by the human brain, consist of layers of interconnected nodes (neurons) that process and learn from data. Here’s a simplified explanation of how they work and why it’s important for generative AI engineers to understand:</p><ol><li><strong>Input Layer</strong>: Receives the raw input data (e.g., pixels of an image, words in a sentence) which is then passed to the next layer.</li><li><strong>Hidden Layers</strong>: Intermediate layers that perform computations, transforming input data through weighted connections and activation functions to extract and learn complex patterns.</li><li><strong>Weights and Biases</strong>: Each connection between neurons has an associated weight that is adjusted during training to minimize the error in predictions. Biases are additional parameters that help shift the activation function.</li><li><strong>Activation Functions</strong>: Non-linear functions (e.g., ReLU, Sigmoid) applied to the output of each neuron to introduce non-linearity, enabling the network to learn complex patterns.</li><li><strong>Output Layer</strong>: Produces the final prediction or output (e.g., class label, generated image) based on the transformed data from the hidden layers.</li><li><strong>Training</strong>: The process of learning involves feeding data through the network (forward pass), calculating the error between the predicted and actual values, and adjusting the weights using backpropagation and optimization algorithms like gradient descent.</li></ol><p>This is an 8-minute video to help you understand how neural networks learn from data.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJkeiEYkLEvM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJkeiEYkLEvM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJkeiEYkLEvM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/01052fd043854647b0528bcb89e10e21/href">https://medium.com/media/01052fd043854647b0528bcb89e10e21/href</a></iframe><h3>Chain Rule of Differentiation with BackPropagation</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCRB266Eyjkg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCRB266Eyjkg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCRB266Eyjkg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ebe54673ce168e964dc7bd017540ed1c/href">https://medium.com/media/ebe54673ce168e964dc7bd017540ed1c/href</a></iframe><h3>How to train MultiLayer Neural Network and Gradient Descent</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FcxPAvoIbsIk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcxPAvoIbsIk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcxPAvoIbsIk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f8d49bad2f4c8911c2d4740ee9944f68/href">https://medium.com/media/f8d49bad2f4c8911c2d4740ee9944f68/href</a></iframe><h3>Introduction to Tensor</h3><p>What is a Tensor in Deep Learning?</p><p><em>If you’re curious about how AI comprehends and learns from text, images, and videos, check out the video below!</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtIqoI4jGE-w&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtIqoI4jGE-w&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FtIqoI4jGE-w%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d373ec93a2abfb71b7923ff6b5790cea/href">https://medium.com/media/d373ec93a2abfb71b7923ff6b5790cea/href</a></iframe><h3>Activation Functions</h3><p>Activation functions are critical components of neural networks, introducing non-linearity into the model and enabling it to learn and represent complex patterns. Here’s an overview of how they work and why it’s important for generative AI engineers and leaders to understand:</p><ol><li><strong>Role in Neural Networks</strong>: Activation functions determine whether a neuron should be activated or not, essentially deciding if the information should be passed forward through the network.</li><li><strong>Types of Activation Functions</strong>:</li></ol><ul><li><strong>ReLU (Rectified Linear Unit)</strong>: Outputs the input directly if positive; otherwise, it outputs zero. It helps mitigate the vanishing gradient problem.</li><li><strong>Sigmoid</strong>: Maps the input values to a range between 0 and 1, commonly used in binary classification problems.</li><li><strong>Tanh (Hyperbolic Tangent)</strong>: Similar to Sigmoid but maps the input to a range between -1 and 1, often used in hidden layers.</li><li><strong>Softmax</strong>: Converts a vector of values to a probability distribution, used in the output layer of classification problems.</li></ul><p><strong>3. Non-Linearity</strong>: Activation functions introduce non-linearity, allowing the neural network to learn and model complex relationships and patterns in the data.</p><h3>Importance for Generative AI Engineers &amp; Leaders</h3><ol><li><strong>Model Complexity</strong>: Activation functions enable neural networks to learn and represent intricate patterns, essential for generating realistic images, text, and other data.</li><li><strong>Solving the Vanishing Gradient Problem</strong>: Functions like ReLU help in avoiding the vanishing gradient problem, ensuring effective learning in deep networks.</li><li><strong>Output Interpretation</strong>: Functions like Softmax convert outputs into probabilities, crucial for tasks that involve multi-class classification and decision making.</li><li><strong>Optimization</strong>: Understanding the impact of different activation functions on training and performance helps in selecting the right function for specific tasks, optimizing the model’s accuracy and efficiency.</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSXrXUqDjICA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSXrXUqDjICA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FSXrXUqDjICA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4661cafd1d8db4d9ed048a33d3b961cd/href">https://medium.com/media/4661cafd1d8db4d9ed048a33d3b961cd/href</a></iframe><h3>Neural network Problem &amp; solution</h3><p>Neural networks hit a snag with vanishing or exploding gradient issues, causing performance dips. But fear not! We’re diving deep into solutions. Get ready to tackle this head-on!”</p><h3>Vanishing Gradient Problem</h3><p>The vanishing gradient problem refers to a challenge encountered during the training of deep neural networks, particularly those using gradient-based optimization methods like backpropagation. It occurs when gradients in the earlier layers of the network become extremely small (close to zero) during the process of backpropagation.</p><p>Here’s why this happens:</p><ol><li><strong>Activation Functions</strong>: Certain activation functions, such as the sigmoid or tanh functions, have gradients that tend to be very small for large positive or negative inputs. This causes the gradient to diminish as it is propagated backward through layers of the network.</li><li><strong>Deep Networks</strong>: In deep neural networks with many layers, the gradients calculated during backpropagation can get smaller and smaller as they are multiplied through successive layers. This effect is amplified in networks with a large number of layers, making it difficult for the early layers to learn effectively.</li><li><strong>Training Dynamics</strong>: When gradients become very small, the weights in the earlier layers of the network are updated very slowly or not at all, leading to slow convergence or stagnation in learning.</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJIWXbzRXk1I%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJIWXbzRXk1I&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJIWXbzRXk1I%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8eb81fdf2fbe523236ae2fdbbec34bf5/href">https://medium.com/media/8eb81fdf2fbe523236ae2fdbbec34bf5/href</a></iframe><h3>Exploding Gradient Problem in Neural Network</h3><p>Conversely, the exploding gradient problem is the opposite issue where gradients become excessively large, causing unstable training and numerical overflow. This can happen in networks where gradients are multiplied and accumulate across layers, leading to unstable updates to the weights.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FIJ9atfxFjOQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIJ9atfxFjOQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FIJ9atfxFjOQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/038fa3a0ecd929f5346f4d8d4a6d8b19/href">https://medium.com/media/038fa3a0ecd929f5346f4d8d4a6d8b19/href</a></iframe><h3>Solutions</h3><h3>Drop Out Layers in Multi Neural Network</h3><p>Dropout is a regularization technique introduced by Srivastava et al. in 2014. It works by randomly “dropping out” (i.e., setting to zero) a proportion of input units (typically neurons) during each training step. This helps prevent overfitting and encourages the network to learn more robust feature.</p><p><strong>Purpose</strong>: Dropout prevents complex co-adaptations of neurons by randomly deactivating some during training. This forces the network to rely on more independent features, thereby improving generalization.</p><p><strong>Implementation</strong>: Dropout is typically applied after the activation function of a layer. During training, each neuron has a probability ppp of being dropped out (set to zero), while during inference (testing), all neurons are active but their outputs are scaled by ppp to ensure consistency.</p><p><strong>Effect</strong>: Dropout effectively acts as an ensemble method, making the network less sensitive to specific weights and improving its ability to generalize to new data.</p><h3>Various Weight Initialization Techniques in Neural Network</h3><p>Weight initialization refers to the strategy used to set the initial weights of a neural network before training begins. Proper initialization is crucial because it can affect the convergence speed and final performance of the network.</p><p><strong>Importance</strong>: Poor initialization can lead to vanishing or exploding gradients, as well as slow convergence or instability during training.</p><p><strong>Common Techniques</strong>:</p><p><strong>Xavier (Glorot) Initialization</strong>: This method sets the initial weights from a Gaussian or uniform distribution with variance scaled according to the number of input and output neurons of the layer. It helps in keeping the signal and gradients propagated through layers in a reasonable range.</p><p><strong>He Initialization</strong>: Specifically designed for layers using ReLU activation functions, He initialization scales the initial weights based on the number of input neurons, helping to prevent gradients from vanishing or exploding during training.</p><p><strong>Uniform or Normal Distribution</strong>: Initial weights can be sampled from a uniform or normal distribution, with appropriate scaling to ensure the variance of activations and gradients remains stable across layers.</p><p><strong>Custom Initialization</strong>: Depending on the specific architecture or activation functions used, custom initialization methods might be required to optimize training performance.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtMjdQLylyGI&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtMjdQLylyGI&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FtMjdQLylyGI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0b3e5370d4a83e688c48d1ba01fdd8aa/href">https://medium.com/media/0b3e5370d4a83e688c48d1ba01fdd8aa/href</a></iframe><h3>Loss functions</h3><p>A loss function in machine learning quantifies how well a model’s predictions match the actual target values, guiding the optimization process towards achieving accurate and meaningful results. It serves as a critical metric for assessing the performance and refining the parameters of predictive models.</p><h3>Different Types Of Loss Function In Deep Learning</h3><p>In neural networks, various types of loss functions are employed based on the nature of the problem being solved. Here are some common types:</p><ol><li><strong>Mean Squared Error (MSE)</strong>: Used for regression tasks, MSE calculates the average of squared differences between predicted and actual values.</li><li><strong>Binary Cross-Entropy Loss</strong>: Suitable for binary classification, it measures the difference between predicted probabilities and actual binary labels.</li><li><strong>Categorical Cross-Entropy Loss</strong>: Applied in multi-class classification, this loss function computes the difference between predicted class probabilities and true class labels.</li><li><strong>Hinge Loss</strong>: Typically used in support vector machines (SVMs) and for margin-based classifiers, it encourages the correct classification of samples by maximizing the margin.</li><li><strong>Huber Loss</strong>: A combination of MSE and MAE (Mean Absolute Error), Huber loss is robust to outliers and is often used in regression tasks.</li><li><strong>Kullback-Leibler Divergence (KL Divergence)</strong>: Used in scenarios where distributions or probabilities need to be compared, such as in variational autoencoders.</li><li><strong>Cosine Similarity Loss</strong>: Measures the cosine similarity between predicted and target vectors, often used in tasks like similarity learning or retrieval.</li></ol><p>Each loss function serves a specific purpose in optimizing neural network models for different types of tasks, ensuring effective learning and accurate predictions based on the nature of the data and desired outcomes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fe59u5YyuEfQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3De59u5YyuEfQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fe59u5YyuEfQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/be7428089df3c1ec6b67a1da5edc1456/href">https://medium.com/media/be7428089df3c1ec6b67a1da5edc1456/href</a></iframe><h3>Deep Learning-All Optimizers</h3><h4>SGD with Momentum, Adagrad, Adadelta, RMSprop, Adam Optimizers</h4><p>In the context of neural networks (NN), optimization refers to the process of adjusting the model’s parameters (weights and biases) to minimize the loss function. This iterative process aims to improve the model’s ability to make accurate predictions on new, unseen data. Here are some common types of optimization algorithms used in neural networks:</p><ol><li><strong>Gradient Descent</strong>: The fundamental optimization algorithm used in training neural networks. It works by iteratively updating weights in the direction of the negative gradient of the loss function with respect to the weights.</li><li><strong>Stochastic Gradient Descent (SGD)</strong>: A variant of gradient descent that updates weights after processing each training example, making it faster and more suitable for large datasets.</li><li><strong>Mini-Batch Gradient Descent</strong>: A compromise between SGD and full-batch gradient descent, where updates are made after processing a small batch of data samples. This approach balances efficiency and stability in training.</li><li><strong>Adam (Adaptive Moment Estimation)</strong>: A popular optimization algorithm that combines ideas from RMSprop and momentum methods. It adapts learning rates for each parameter based on estimates of first and second moments of the gradients.</li><li><strong>RMSprop (Root Mean Square Propagation)</strong>: Another variant of gradient descent that divides the learning rate by an exponentially decaying average of squared gradients. It helps normalize the learning process and speeds up convergence.</li><li><strong>Adagrad (Adaptive Gradient Algorithm)</strong>: An optimization algorithm that adapts the learning rate for each parameter based on the historical gradients for that parameter. It performs well for sparse data.</li><li><strong>Adamax</strong>: A variant of Adam that uses the infinity norm for the update step, making it more stable and efficient in some cases, especially with large datasets and sparse gradients.</li><li><strong>Nadam (Nesterov-accelerated Adaptive Moment Estimation)</strong>: A combination of Nesterov accelerated gradient and Adam optimization, which incorporates momentum into the adaptive learning rate of Adam.</li></ol><p>These optimization algorithms differ in their approach to updating weights and handling learning rates, affecting the speed of convergence, stability during training, and overall performance of neural networks. Choosing the right optimization algorithm depends on the specific characteristics of the data, the architecture of the neural network, and the computational resources available for training.</p><h3>Recurrent Neural Network</h3><h4>Recurrent Neural Network Forward Propogation With Time</h4><p>Learning Recurrent Neural Networks (RNNs) before diving into generative AI is crucial because RNNs excel at processing sequential data and capturing long-term dependencies, which are essential for generating coherent and meaningful outputs. RNNs form the basis for many advanced generative models, such as language models and sequence generators, making them a fundamental prerequisite for understanding and implementing generative AI techniques effectively. Mastering RNNs provides the necessary skills to handle sequential data and leverage temporal relationships, key elements in creating sophisticated generative AI applications.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fu8utlK_c5C8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Du8utlK_c5C8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fu8utlK_c5C8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c78f286d34c28ea73f2cd35642a5ddde/href">https://medium.com/media/c78f286d34c28ea73f2cd35642a5ddde/href</a></iframe><h3>Back Propagation In Recurrent Neural Network</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6EXP2-d_xQA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6EXP2-d_xQA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6EXP2-d_xQA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6eda1beeb0276a88576835bd3b937701/href">https://medium.com/media/6eda1beeb0276a88576835bd3b937701/href</a></iframe><h3>LSTM</h3><h4>LSTM Recurrent Neural Network In Depth Intuition</h4><p>Learning Long Short-Term Memory (LSTM) networks before delving into generative AI is essential because LSTMs specialize in capturing long-range dependencies and handling sequential data, critical for generating coherent and contextually rich outputs. LSTMs are integral to advanced generative models like text generation and speech synthesis, providing a robust foundation for mastering generative AI techniques. Mastering LSTMs equips one with the expertise to model complex temporal relationships and effectively harness memory across varying time scales, pivotal for creating sophisticated generative AI applications.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FrdkIOM78ZPk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrdkIOM78ZPk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FrdkIOM78ZPk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d403c468bbcc88f5e90f3107b3d8246/href">https://medium.com/media/4d403c468bbcc88f5e90f3107b3d8246/href</a></iframe><p>Congratulations on completing the foundation to start the journey of generative AI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21d3bbd9881b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generative Learning Path for Product Managers, Part 2]]></title>
            <link>https://medium.com/@sachingupta.itm/generative-learning-path-for-product-managers-part-2-c183219e1c18?source=rss-dde3af0b33a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c183219e1c18</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[product-leadership]]></category>
            <category><![CDATA[product-manager]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Sachin Gupta]]></dc:creator>
            <pubDate>Wed, 07 Aug 2024 07:27:20 GMT</pubDate>
            <atom:updated>2024-09-09T03:07:42.771Z</atom:updated>
            <content:encoded><![CDATA[<p>Gen AI Foundation: Machine Learning</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y751pM4qPqSA-yUrLmZ7jQ.png" /></figure><p>By the end of this article, you will be able to understand the foundational concepts and terminology of machine learning, enabling you to engage effectively with AI projects and discussions. This article and its concepts are the foundation for understanding generative AI.</p><p>As we continue to enhance our skills and knowledge in data analytics and AI, I wanted to highlight the significance of logistic regression for product managers. Understanding this statistical method can significantly benefit our decision-making processes and product strategy.</p><p>If you have missed part one of the Gen Ia learning path, use this link to cover that.</p><p><a href="https://medium.com/@sachingupta.itm/data-analytics-for-ai-product-managers-905671803e98">Generative AI Learning Path for Product Managers, Part 1</a></p><h3>Linear Regression: Math intuition</h3><blockquote><em>I know the engineer will be working on developing the solution for you, but understanding concepts will help you define the project path &amp; goals.</em></blockquote><h4>Why linear regression is important for product managers:</h4><ol><li><strong>Data-Driven Decision Making</strong>: Linear regression enables product managers to make informed decisions by analyzing data trends. By understanding the relationship between different variables, we can predict future performance and outcomes, leading to more strategic planning.</li><li><strong>Customer Insights</strong>: Product managers can identify key factors influencing customer behaviour by applying linear regression to customer data. This helps them tailor products to meet customer needs and improve user experience.</li><li><strong>Market Analysis</strong>: Linear regression is essential for analyzing market trends and forecasting demand. It allows product managers to anticipate market shifts and adjust product strategies accordingly.</li><li><strong>Performance Metrics</strong>: It is crucial to understand how different factors impact key performance indicators (KPIs). Linear regression helps quantify these impacts, enabling product managers to focus on areas that drive performance improvements.</li><li><strong>Resource Allocation</strong>: By predicting future trends, linear regression assists in optimizing resource allocation. This ensures that efforts and investments are directed towards initiatives with the highest potential for success.</li></ol><h4>Linear regression is a fundamental statistical method</h4><p>It is used to model and analyze the relationship between a dependent variable and one or more independent variables. It helps in predicting outcomes and identifying trends based on historical data. This video will help you understand the mathematical intuition behind linear regression.</p><p>For a detailed exploration, kindly visit his complete Machine Learning Playlist <a href="https://www.youtube.com/watch?v=7S865QCGL74&amp;list=PLZoTAELRMXVPBTrWtJkn3wWQxZkmTXGwe">link</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1-OGRohmH2s%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1-OGRohmH2s&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1-OGRohmH2s%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/14807e947d4ab1111fad23180bbea6e9/href">https://medium.com/media/14807e947d4ab1111fad23180bbea6e9/href</a></iframe><h4>Multiple Linear Regression using Python and Sklearn</h4><p>This 20-minute video helps you understand how different factors collectively influence a particular outcome.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F5rvnlZWzox8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D5rvnlZWzox8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F5rvnlZWzox8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7afc9d412b1f7fc6a7a3d3798ff79203/href">https://medium.com/media/7afc9d412b1f7fc6a7a3d3798ff79203/href</a></iframe><h3>Logistic Regression</h3><h4>Why Logistic Regression is Important for Product Managers</h4><p><strong>Predictive Modeling</strong>: Logistic regression is a powerful tool for predicting binary outcomes. Whether it’s forecasting customer churn, identifying potential upsell opportunities, or assessing the likelihood of product success, logistic regression provides a robust framework for making data-driven predictions.</p><p><strong>Customer Segmentation</strong>: By analyzing various factors influencing customer behaviour, logistic regression helps product managers segment the market more effectively. This enables more targeted marketing strategies and personalized product offerings, ultimately enhancing customer satisfaction and retention.</p><p><strong>Risk Management</strong>: Logistic regression aids in identifying and quantifying risks associated with different product decisions. Product managers can proactively mitigate risks and make more informed choices by modelling the probability of adverse outcomes.</p><p><strong>Resource Allocation</strong>: Efficient resource allocation is crucial for product development and management. Logistic regression helps in understanding which factors are most significant in driving product success, allowing managers to allocate resources to the most impactful areas.</p><p><strong>Performance Measurement</strong>: Product managers can use logistic regression to measure and analyze key performance indicators (KPIs). This statistical method helps understand the relationship between various KPIs and product performance, leading to more accurate and actionable insights.</p><p>Logistic Regression: In-depth Intuition (Part 1)</p><p><em>This is a 13-minute video to help you understand the math intution behind logistic regression.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FL_xBe7MbPwk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DL_xBe7MbPwk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FL_xBe7MbPwk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3cfe7b16d879a9a1802d996ea3690334/href">https://medium.com/media/3cfe7b16d879a9a1802d996ea3690334/href</a></iframe><p>Logistic Regression: In-depth Intuition (Part 2)</p><p><em>This is a 28-minute video of the continuation of the previous math intuition explanation.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FuFfsSgQgerw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DuFfsSgQgerw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FuFfsSgQgerw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1335b0acf0cca40eb9e2c6fba95d13d2/href">https://medium.com/media/1335b0acf0cca40eb9e2c6fba95d13d2/href</a></iframe><p>Logistic Regression: Multiclass Classification (OneVsRest)</p><p><em>This is a 6-minute video to help you understand how logistic regression works with multiclass.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FV8fS0T_ktn4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DV8fS0T_ktn4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FV8fS0T_ktn4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cf43c0b14fd72eb97a42d339d3ae0b3d/href">https://medium.com/media/cf43c0b14fd72eb97a42d339d3ae0b3d/href</a></iframe><h3>Performance Metrics for Classification</h3><h4>Why Performance Metrics for Classification are Important</h4><ol><li><strong>Effective Communication</strong>: Metrics such as accuracy, precision, recall, F1 score, and AUC-ROC offer standardized ways to convey model performance, making it easier for non-technical stakeholders to grasp the model’s effectiveness.</li><li><strong>Building Trust:</strong> Transparency in performance metrics fosters trust among stakeholders. When they can see quantifiable evidence of a model’s reliability, they are more likely to support its implementation.</li><li><strong>Data-Driven Decisions</strong>: Performance metrics guide decision-making processes by providing objective criteria for model selection and evaluation. Organizations can make informed choices about which models to deploy based on their performance.</li><li><strong>Continuous Improvement</strong>: Regularly monitoring performance metrics allows teams to identify areas for improvement, enabling iterative enhancements to the model and its predictions.</li><li><strong>Benchmarking</strong>: Metrics facilitate comparisons between different models or approaches, helping organizations choose the best solution for their specific needs.</li></ol><p>Performance Metrics For Classification Problems in Machine Learning</p><p>This is a 24-minute video that will help you understand the different matrices for the performance measurement of the solution. If you are interested in learning about performance metrics for linear regression, then refer to this <a href="https://www.analyticsvidhya.com/blog/2021/05/know-the-best-evaluation-metrics-for-your-regression-model/#:~:text=Common%20regression%20evaluation%20metrics%20for,Absolute%20Percentage%20Error%20(MAPE).">link</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FaWAnNHXIKww%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DaWAnNHXIKww&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FaWAnNHXIKww%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e76d99e91ba6385a362a64c83f2eaea0/href">https://medium.com/media/e76d99e91ba6385a362a64c83f2eaea0/href</a></iframe><h3>Clustering</h3><h4>Clustering is essential for product managers for several reasons:</h4><ol><li><strong>Market Segmentation</strong>: Clustering helps product managers identify distinct groups within a market, allowing for targeted marketing strategies and personalized product offerings. Understanding different customer segments leads to more effective resource allocation and tailored communication.</li><li><strong>Customer Insights</strong>: Clustering similar customers together reveals patterns and behaviours that might not be apparent otherwise. This more profound understanding of customer needs and preferences aids product development and enhancement.</li><li><strong>Product Development</strong>: Clustering can identify gaps in the market or emerging trends. This information is crucial for innovation and helps product managers prioritize features that will appeal to specific customer segments.</li><li><strong>Pricing Strategy</strong>: Different customer clusters may have different price sensitivities and perceived value. Clustering allows product managers to develop differentiated pricing strategies that maximize revenue and customer satisfaction.</li><li><strong>Improving User Experience</strong>: Clustering helps create more intuitive and user-friendly products by analyzing user behaviour and grouping similar usage patterns. It allows for customization and better user interface design tailored to specific user groups.</li><li><strong>Performance Monitoring</strong>: Clustering aids in tracking product performance across different segments. This enables product managers to identify which clusters are performing well and which need more attention, leading to data-driven decision-making.</li><li><strong>Resource Optimization</strong>: Understanding distinct customer segments helps in better allocation of resources, whether it’s marketing budget, development efforts, or customer support. This ensures that efforts are focused where they will have the most impact.</li></ol><p>In summary, clustering gives product managers valuable insights into customer behaviour and market dynamics, enabling more strategic decision-making and enhancing product development, marketing, and overall business performance.</p><p><strong>Euclidean Distance and Manhattan Distance</strong></p><p><em>This is an 8-minute video that explains the math behind the Euclidean distance used to build the cluster.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fp3HbBlcXDTE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dp3HbBlcXDTE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fp3HbBlcXDTE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5575a89dfec328d1f3bd7773e5ae3e27/href">https://medium.com/media/5575a89dfec328d1f3bd7773e5ae3e27/href</a></iframe><p><strong>The Math Behind K Means Clustering Intuition</strong></p><p>This is a 15-minute video of the math intuition behind clustering. As a product manager, having intuition about algorithms will help you drive the project well and help you communicate. However, if you are interested in how to develop using Python, then refer to this <a href="https://www.youtube.com/watch?v=wTF6vzS9fy4&amp;list=PLZoTAELRMXVPBTrWtJkn3wWQxZkmTXGwe&amp;index=62">link</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FAWKCCK5YHsE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAWKCCK5YHsE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FAWKCCK5YHsE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/26a62237b1177cf955a2194f27f93cef/href">https://medium.com/media/26a62237b1177cf955a2194f27f93cef/href</a></iframe><p>If you want to know more about clustering, then read my article, “<a href="https://medium.com/@sachingupta.itm/all-you-need-to-know-about-clustering-93e1af6ef640">All you need to know about clustering.</a>”</p><h3>Time Series Forecasting</h3><p>Time series forecasting empowers product managers to make data-driven decisions, optimize operations, and strategically plan for the future, ultimately contributing to the success and growth of their products and the organization.</p><ul><li><strong>Resource Allocation</strong>: Product managers can allocate resources more effectively by anticipating future trends and demands. This includes planning production schedules, managing supply chains, and optimizing workforce deployment.</li><li><strong>Strategic Decision Making</strong>: Time series forecasting provides insights into market trends, allowing product managers to make informed strategic decisions. This includes product launches, marketing campaigns, and budget planning.</li><li><strong>Financial Planning</strong>: Accurate forecasting aids in budgeting and financial planning by predicting sales revenue and identifying potential financial risks. This helps maintain a healthy cash flow and achieve financial targets.</li><li><strong>Performance Monitoring</strong>: By comparing forecasted data with actual outcomes, product managers can monitor performance, identify deviations, and implement corrective actions. This continuous improvement cycle enhances overall product management effectiveness.</li><li><strong>Competitive Advantage</strong>: Leveraging advanced forecasting techniques can provide a competitive edge. Product managers can stay ahead of market trends, respond proactively to changes, and capitalize on emerging opportunities.</li></ul><p><strong>Time Series Forecasting Using Facebook FbProphet</strong></p><p><em>This section contains one 17-minute video.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVtItg-J6-CI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVtItg-J6-CI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVtItg-J6-CI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1f32852773dc2895ffbfc5c7e08c2737/href">https://medium.com/media/1f32852773dc2895ffbfc5c7e08c2737/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c183219e1c18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generative AI Learning Path for Product Managers, Part 1]]></title>
            <link>https://medium.com/@sachingupta.itm/data-analytics-for-ai-product-managers-905671803e98?source=rss-dde3af0b33a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/905671803e98</guid>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Sachin Gupta]]></dc:creator>
            <pubDate>Mon, 05 Aug 2024 10:42:11 GMT</pubDate>
            <atom:updated>2024-09-09T03:46:40.177Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data analytics for Product Managers and Leaders</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zPPTXGKCFL1lfUnx-2bWDQ.png" /></figure><h3>Why you need to learn Pandas &amp; Matplotlib</h3><p>As product managers, you must collect data statistics and present them for decision-making. Python is a programming language chosen for its simplicity and versatility, making it ideal for day-to-day data analytics needs. Its extensive libraries and ease of use enable efficient data manipulation and analysis, which are crucial for our data-driven decision-making process.</p><p>This is optional if you have data analytics experience using advanced Excel, Tableau, or Power BI.</p><p>I am excited to introduce you to <a href="https://medium.com/u/d67809141db2">Krish Naik</a>, a highly regarded expert in the fields of Artificial Intelligence and Data Science. With a wealth of experience and a passion for teaching, Krish has become a prominent tech figure known for his deep knowledge and practical insights. I hope you enjoy his teaching style.</p><p>This section contains three videos by Krish Naik with a total length of just over 1 hour.</p><h3>Pandas, Data Frame, and Data Series</h3><p>Pandas is an open-source Phyton library providing high-performance, easy-to-use data structures and data analysis tools for the Python Programming language.</p><p>This is a 17-minute video to help you understand data frames, data series and different functions in Panda.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQUClKFFn1Vk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQUClKFFn1Vk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQUClKFFn1Vk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bae5991318b95efb322d43f6caaaf3ca/href">https://medium.com/media/bae5991318b95efb322d43f6caaaf3ca/href</a></iframe><h3>Pandas, Reading CSV files With Various Parameters</h3><p>This is a 30-minute video to help you understand the different functions of working with CSV files.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtW1BWtQRZ2M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtW1BWtQRZ2M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FtW1BWtQRZ2M%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0d58caa706a8044cf90b051bfb4adeb8/href">https://medium.com/media/0d58caa706a8044cf90b051bfb4adeb8/href</a></iframe><h3>Matplotlib tutorial</h3><p>Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. This video will help you understand the Python visualization library and the required visualization skills to represent data insights in better form.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FczQO1_GEEos%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DczQO1_GEEos&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FczQO1_GEEos%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7fd9eee95c0fea2a0e5e119759ffdb51/href">https://medium.com/media/7fd9eee95c0fea2a0e5e119759ffdb51/href</a></iframe><h3>Complete Course: Data Analyst Basics To Advanced</h3><p>If you are interested in improving your data analytics skills further, then register for the complete data analytics Udemy <a href="https://www.udemy.com/course/complete-data-analyst-bootcamp-from-basics-to-advanced/?couponCode=KRISHNAIK06">course</a> by <a href="https://www.udemy.com/user/krish-c-naik/">KrishAI</a>.</p><p>Data Analytics Basic to Advance <a href="https://www.udemy.com/course/complete-data-analyst-bootcamp-from-basics-to-advanced/?couponCode=KRISHNAIK06">Link</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*65u2msYiZzCsT0tRe0dpbA.png" /></figure><p>The good part about KrishAI courses is, they are going to keep them up to date and add new content based on market changes or research improvements.</p><h3>Python Basics</h3><p>If you are interested to learn python basic as free then follow below learning video.</p><p><strong>Mosh Hamedani</strong>, widely known as “<strong>Mosh</strong>,” is a renowned software engineer, author, and educator. He is the founder of Code with Mosh, an online platform dedicated to teaching programming and software development skills to individuals worldwide. Mosh is highly respected for his clear and concise teaching style, which has helped countless students master complex topics in software development. His expertise spans various programming languages and technologies, including JavaScript, Python, C#, and more. Through his comprehensive courses, YouTube tutorials, and blog posts, Mosh continues to inspire and empower the next generation of developers.</p><h3>Why should you learn Python</h3><p>As a TypeScript developer, learning Python is a valuable step before diving into generative AI. Python is the preferred language for AI and machine learning due to its extensive libraries, such as TensorFlow and PyTorch, and its simplicity in handling data. By mastering Python, you’ll gain access to a wealth of tools and resources essential for generative AI. This knowledge will complement your TypeScript skills, enabling you to create powerful, AI-driven applications. Embrace Python to expand your expertise and unlock new possibilities in the exciting field of generative AI!</p><p>This 6-hour learning will covers the all basics of python. Lets start the learning.</p><p>some of the Generative AI latest features&amp; packages are not available in typescript. We have the vision of solving complex problem using hybird solution with typescript and python. This will help us to speedup the development.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_uQrJ0TkZlc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_uQrJ0TkZlc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_uQrJ0TkZlc%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2cbef03178c7204da691d41ff37d9992/href">https://medium.com/media/2cbef03178c7204da691d41ff37d9992/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=905671803e98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Responsible AI: Frameworks and Regulations]]></title>
            <link>https://medium.com/@sachingupta.itm/mastering-responsible-ai-frameworks-and-regulations-4107625945b5?source=rss-dde3af0b33a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4107625945b5</guid>
            <category><![CDATA[model-evaluation]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <category><![CDATA[bias-in-ai]]></category>
            <category><![CDATA[responsible-ai]]></category>
            <category><![CDATA[ai-act-compliance]]></category>
            <dc:creator><![CDATA[Sachin Gupta]]></dc:creator>
            <pubDate>Mon, 22 Jul 2024 06:22:47 GMT</pubDate>
            <atom:updated>2024-07-22T06:22:47.081Z</atom:updated>
            <content:encoded><![CDATA[<p>Why Respibsle AI is important for Today&#39;s Business Leaders</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*h0uLLrIFqZMr0TV1CqLzeg.png" /><figcaption>© ipopba/iStock/Getty Images Plus</figcaption></figure><blockquote>🌟 The pace at which the technological aspect of AI is advancing is far ahead of the progress in Responsible AI. 🤖 We need to work together to enhance awareness and implementation of Responsible AI practices. 🌍</blockquote><p>In this article, we will discuss “Why you need to learn Responsible AI”, the government&#39;s AI act impact timelines, the different landscapes of Generative AI solutions Risk and solutions, and the available framework of Responsible AI implementation.</p><h3><strong>Why you need to learn Responsible AI and its proposed frameworks</strong></h3><p><strong>1. Compliance with government guidelines</strong></p><p>Governments have taken the required action and produced the AI Act and guidelines. Future AI-based solutions and services need to compliance the AI acts.</p><p><strong>AI Act Details and Timeline:</strong></p><ul><li>The <strong>European Union’s AI Act</strong>, adopted in <strong>March 2024</strong> and approved by the Council in <strong>May 2024</strong>, emphasizes high-risk AI applications and mandates transparency for general-purpose AI models.</li><li>U.S. businesses, especially those operating in the EU, must prepare to comply with these regulations to avoid significant penalties.</li><li>On <strong>October 30, 2023</strong>, <strong>President Biden signed a groundbreaking</strong> <strong>executive order</strong> aimed at ensuring the safe, secure, and trustworthy development and use of artificial intelligence (AI). This executive order represents one of the most significant actions taken by any government globally to address the complexities and risks associated with AI.</li></ul><p><strong>Introduction to the EU AI Act</strong>: The EU AI Act is the world’s first comprehensive regulation on artificial intelligence, aimed at ensuring safe and responsible use of AI technologies across the EU. 🤖<br><strong>Regulatory Framework</strong>: Proposed by the European Commission in April 2021, the Act classifies AI systems based on the risk they pose, with varying levels of regulation depending on the risk category.<br><strong>Safety and Transparency</strong>: The Parliament emphasizes the need for AI systems to be safe, transparent, traceable, non-discriminatory, and environmentally friendly, with human oversight to prevent harmful outcomes.<br><strong>Risk Categories</strong>:<br>Unacceptable Risk: These AI systems will be banned, including Cognitive manipulation of vulnerable groups (e.g., dangerous voice-activated toys).Social scoring is based on behavior or socio-economic status.<br>Biometric identification systems, including real-time facial recognition, with limited exceptions for law enforcement.<br><strong>High Risk</strong>: AI systems affecting safety or fundamental rights will be categorized and require registration in an EU database.</p><p><strong>Areas include</strong>:<br>1. Critical infrastructure management<br>2. Education and vocational training<br>3. Law enforcement<br>4. Migration and asylum management</p><p><strong>Transparency for Generative AI</strong>: Generative AI, like ChatGPT, must comply with transparency requirements, such as disclosing AI-generated content and preventing illegal outputs. High-impact models will undergo thorough evaluations.<br><strong>Supporting Innovation</strong>: The Act aims to foster innovation by providing start-ups and SMEs with testing environments that simulate real-world conditions before public release. 🚀<br><strong>Implementation Timeline</strong>:<br>The Act was adopted in March 2024 and approved by the Council in May 2024.<br>It will be fully applicable 24 months after entry into force, but some parts will be applicable sooner.</p><blockquote><strong>key timelines </strong><br><strong>Ban on unacceptable risk AI systems:</strong> 6 months post-enforcement<br><strong>Codes of practice</strong>: 9 months post-enforcement<br><strong>Transparency rules for general-purpose AI</strong>: 12 months post-enforcement<br><strong>High-risk systems compliance</strong>: 36 months post-enforcement<br>This regulatory framework aims to balance innovation with safety and ethical considerations in the rapidly evolving AI landscape. 🌐</blockquote><p><strong>2. To Save us from 3rd AI Winter</strong></p><p>Poor communication and understanding of AI can lead to public distrust and potential stagnation in AI development, known as AI winter. Effective communication and responsible practices can prevent this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*nva5YPbhzUOonnulJNmU3w.png" /><figcaption>Author: <a href="https://medium.com/u/21519edf42ec">Gautam Roy</a></figcaption></figure><p>Proposed the EPIC framework to promote responsible communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*K9C_C5Gz4Hzp954hDMUlRw.png" /><figcaption>Author: <a href="https://medium.com/u/21519edf42ec">Gautam Roy</a></figcaption></figure><h3><strong>Responsible AI Frameworks</strong></h3><blockquote>These frameworks guide the development and deployment of AI systems to avoid bias, ensure fairness, and maintain transparency.</blockquote><blockquote>Learning and implementing these frameworks help build trust and minimize risks associated with AI applications.</blockquote><p><a href="https://medium.com/@gautamroy28/trust-is-earned-1ea1dbb14e15"><strong>Trust Framework</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*JVgq6LLEGG_2mtymlfTJvA.png" /><figcaption>Framework Author: <a href="https://medium.com/u/21519edf42ec">Gautam Roy</a></figcaption></figure><p><a href="https://medium.com/@gopal.sukumar/ai-warriors-come-home-with-your-shield-044652c74991">SHIELD Framework</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*bT78b1m2AYFXUhhk0YZjHg.png" /><figcaption>Framework Author: <a href="https://medium.com/u/9223d8eb7b60">Gops Sukumar</a></figcaption></figure><h3>Different Landscape of Responsible AI Risk and its Solutions</h3><p>The mind maps below will help you understand risk and its solutions. A mind map is a great tool to recap the learned knowledge and implement it.</p><p>I was fortunate to take <strong>Dr. Dakshinamurthy Kolluru’s</strong> Responsible AI course at Golden Gate University 🎓. His insights inspired me to consolidate everything into cohesive mind maps🌟.”</p><blockquote><strong>Responsible AI guidelines and practices</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l8uAGtCRgES6e-jPbIHDpQ.jpeg" /></figure><blockquote><strong>Generative AI World of Risk and Challenges</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rK00pFJQ9WvZIjUs9DfiBg.jpeg" /></figure><blockquote><strong>The world of AI model ,data, leader biases</strong> <strong>and its solutions</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QZDk8HCO6oaqyCE-nhue8w.jpeg" /><figcaption>Generative AI possible Bias &amp; its solutions</figcaption></figure><p><strong>References</strong></p><p><strong>TRUST</strong>:- <a href="https://medium.com/@gautamroy28/trust-is-earned-1ea1dbb14e15">https://medium.com/@gautamroy28/trust-is-earned-1ea1dbb14e15</a></p><p><strong>SHIELD</strong>:- <a href="https://medium.com/@gopal.sukumar/ai-warriors-come-home-with-your-shield-044652c74991">https://medium.com/@gopal.sukumar/ai-warriors-come-home-with-your-shield-044652c74991</a></p><p><strong>EU AI Act</strong> <a href="https://www.europarl.europa.eu/topics/en/article/20230601STO93804/eu-ai-act-first-regulation-on-artificial-intelligence">https://www.europarl.europa.eu/topics/en/article/20230601STO93804/eu-ai-act-first-regulation-on-artificial-intelligence</a></p><p><strong>Whitehouse Executive Order</strong>:</p><p><a href="https://www.whitehouse.gov/briefing-room/presidential-actions/2023/10/30/executive-order-on-the-safe-secure-and-trustworthy-development-and-use-of-artificial-intelligence/">https://www.whitehouse.gov/briefing-room/presidential-actions/2023/10/30/executive-order-on-the-safe-secure-and-trustworthy-development-and-use-of-artificial-intelligence/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4107625945b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Language model and its E-commerce use cases]]></title>
            <link>https://medium.com/@sachingupta.itm/generative-ai-buzzword-words-explanations-in-laymans-language-1e8d5ce55841?source=rss-dde3af0b33a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e8d5ce55841</guid>
            <category><![CDATA[transfer-learning]]></category>
            <category><![CDATA[fine-tuning]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Sachin Gupta]]></dc:creator>
            <pubDate>Thu, 02 May 2024 10:47:02 GMT</pubDate>
            <atom:updated>2024-09-04T08:51:40.516Z</atom:updated>
            <content:encoded><![CDATA[<p>Generative AI has many use cases across industries. Many leaders are confused due to many new buzzwords like LLM, pre-trained model, transfer learning, RAG, etc.</p><p>In this article, we are going to explain what a large language model is and how our fine-tuned model (transfer learning) will add value to business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*-dqSpn9tqhGD-AwIpzkiKw.png" /><figcaption><strong>Sam</strong> Image source: Google</figcaption></figure><p>Let&#39;s say you are the parents of Sam. He is a 4-year-old boy, and you want to prepare him for a school interview. Now you will start teaching basic questions &amp; answers, and you will ask Sam to repeat them. So that he can clear the interview.</p><blockquote>Examples(question &amp; answer)</blockquote><blockquote>What is your name — My name is Sam, How old are you — I am 4 years old</blockquote><p>I hope you can relate to it. This is how our biological neurons learn. The current state of AI is not near to our biological neurons but for understanding AI concepts, it is a great co-relation.</p><p>It understands the relationship between words. Once you asked Sam “What is your name” his biological neuron found what is the next word to answer and it started answering in word sequence.</p><p>In math, this is called probability. In Nutshell, it is a probability of word sequence which Sam has learned. This is called a <strong>language model</strong> which knows different words in a dictionary and understands the relationship between words. Day by day Sam will learn new terms and update his dictionary to answer well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ISR0gVIgnUWXFwxXSb83vw.png" /><figcaption>Source: Google images</figcaption></figure><p>This is what the ChatGPT model also does. It has strong knowledge about words and their relationship. It is just a game of probability of the next words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*OTwZ1xffsrYFTskdT-z8oA.png" /><figcaption>OpenAI Playground</figcaption></figure><p>I hope by now you have understood what is language model but buzzword is a large language model. Large indicates huge data on which a large language model had trained. It is the same as Sam have a multiple PhD holder and he can answer from different fields and topics.</p><p>Let&#39;s understand another buzzword <strong>transfer learning</strong> by Sam&#39;s education journey Let&#39;s say, Sam had learned Match, English, and science in high school. Now he wants to pursue a specialisation in science, commerce or Arts etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ktm8tAfZQMHX5b_r5Witg.png" /><figcaption>Author Sachin Gupta</figcaption></figure><p>His knowledge about English, math &amp; science is called <strong>pre-trained models</strong>(like we have open source /commercial models like GPT 3.5, T5, BERT, and Llama family models).</p><p>Pursuing specialization is called a <strong>fine-tuning </strong>model on your domain data. It same as Sam studying arts &amp; its technique in his specialisation &amp; become an artist. Using his math knowledge while learning an art called <strong>Transfer learning.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FArhH1aZ9aE2ncBRdRSRzQ.png" /></figure><blockquote>Now we have explored the fundamental roles of large language models (LLMs) in various industries, let’s delve into their transformative impact on the e-commerce sector. For both B2B (Business-to-Business) and B2C (Business-to-Consumer) marketplaces and stores , the integration of Generative AI can enhance customer experiences, and optimize sales and marketing strategies.</blockquote><p>1. <strong>Personalized Shopping Experiences</strong>:</p><p>Just as Sam learns to answer more complex questions over time, LLMs can be fine-tuned to understand and predict consumer behavior. For B2C companies, this means delivering personalized shopping experiences. By analyzing customer data, such as browsing history and past purchases, Generative AI can suggest products that are tailored to each customer’s unique tastes and needs, significantly enhancing the likelihood of purchase and improving the customer online experience.</p><p>2. <strong>Automated Marketing Campaigns:</strong></p><p>Generative AI can transform how B2B and B2C e-commerce platforms conduct their marketing campaigns. By analyzing current market trends, past campaign performances, and consumer data, Generative AI can support creating different versions of marketing content, from emails to social media posts. This not only helps in optimizing marketing strategies but also allows companies to personalize campaigns at an individual customer level, ensuring higher engagement and conversion rates.</p><p>3. <strong>Enhanced Content Creation</strong>:</p><p>Product descriptions, blogs, and promotional emails are crucial in e-commerce for capturing customer interest and improving SEO. Generative AI can facilitate and scale content creation, generating appealing, SEO-friendly product descriptions and informative articles that draw in more traffic and engage customers more effectively.</p><p>4. <strong>Customer Service Automation</strong>:</p><p>Both B2B and B2C sectors can benefit from AI-driven customer service. Generative AI, fine-tuned on specific customer service interactions and FAQs, can power chatbots that handle inquiries, resolve common issues, and provide instant support 24/7. This not only enhances customer satisfaction but also reduces the workload on human agents.</p><p>Author &amp; Co-Author: Sachin Gupta and Marc Fakhouri</p><p>References:-</p><ul><li><a href="https://insightsoftware.com/blog/11-financial-model-examples-and-templates/">11 Financial Model Examples &amp; Templates for 2024</a></li><li><a href="https://www.mdpi.com/2076-3417/13/10/5875">Exploring the Impact of AI-Based Cyber Security Financial Sector Management</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e8d5ce55841" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[All you need to know about Clustering]]></title>
            <link>https://medium.com/@sachingupta.itm/all-you-need-to-know-about-clustering-93e1af6ef640?source=rss-dde3af0b33a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/93e1af6ef640</guid>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[clustering-analysis-in-ml]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[evaluation-metric]]></category>
            <dc:creator><![CDATA[Sachin Gupta]]></dc:creator>
            <pubDate>Mon, 15 Jan 2024 03:22:01 GMT</pubDate>
            <atom:updated>2024-01-15T03:22:01.282Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nQj5E-BX3yOHb0nQ23LtWA.png" /></figure><h3>Why have I selected clustering?</h3><p>Clustering is my favourite method, as we have many algorithms in supervised learning, but we have a limited number of algorithms in unsupervised learning. Clustering has a wide variety of use cases (like grouping, recommendation, image compression and segmentation, medical imaging, anomaly detection, etc.) as compared to other ML algorithms, and <strong>that’s what I like about clustering</strong> algorithms more.</p><p>Example of image compression using my own-coloured image as input. I created the 30 clusters from the input image and then used the centroid to compress the image. <a href="https://towardsdatascience.com/k-means-clustering-algorithm-applications-evaluation-methods-and-drawbacks-aa03e644b48a">Code Reference</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*0FzcLETyGT1xxq1BnD3qOQ.png" /></figure><h3>What is clustering and its variants?</h3><p>Clustering is an algorithm used to draw inferences from unlabeled data. It finds data elements that are similar and draws a different area of space where the data is concentrated. There is no error- or reward-based solution to evaluate the performance of the solution. These properties distinguish unsupervised learning from supervised and reinforcement learning. Clustering algorithms use distance-based measurements (Euclidean, Manhattan, etc.) to form the clusters. Hence, we need to standardise the data before applying clustering algorithms.</p><p>Profiling clusters based on business knowledge is a crucial approach. As an example, you have a list of customers that you need to divide into 3 segments for defining the marketing strategies. For assigning cluster names as high, medium, and low band customers. You would need to use business knowledge to profile the cluster, which can help you decide the different cluster business names.</p><p>There are four types of clustering approaches.</p><p>1. <strong>Connectivity methods: All</strong> data points are grouped into single clusters and then portioned as the distance between them grows. Although these models are highly interpretable, they are not scalable enough to deal with massive datasets. One example is hierarchical clustering.</p><p>2. <strong>Centroid methods: These</strong> are iterative clustering methods in which similarity is determined by the proximity of a data point to the cluster’s centroid. <strong>Kmeans and its variants,</strong> like K-median or Medoids, are examples.</p><p><strong>3.</strong> <strong>Distribution Methods:</strong> This strategy is based on the idea of how likely it is that all data points in the cluster correspond to the same distribution (for example, normal, gaussian, and so on). An example is the <strong>expectation-maximization algorithm.</strong></p><p>4. <strong>Density Methods: These</strong> models isolate distinct density zones and then group the data samples within these regions into the same cluster. Models of density such as <strong>DBSCAN and OPTICS</strong> are widely used.</p><h3>Clusters Evaluation</h3><p>The tricky part about clustering is finding the optimal number of clusters and their accuracy because the input data is unlabeled. Below is a list of methods that can help us validate the clusters.</p><p>1. <strong>Elbow method:</strong> The elbow approach estimates a good number of clusters based on the sum of squared distances (SSE) between data points and the centroids of their assigned clusters. We choose k at the point where SSE begins to flatten and create an elbow.</p><p>2. <strong>Silhouette analysis: The</strong> degree of separation between clusters can be determined via silhouette analysis. The coefficient’s possible values fall between [-1, 1].</p><p>• If it is zero, the sample is very near its neighbours.</p><p>• It is 1, indicating that the sample is remote from the neighbouring clusters.</p><p>• It is -1, indicating that the sample was incorrectly assigned to the clusters.</p><p>3. <strong>Business-level validation: After</strong> forming the cluster, we work with stockholders to validate the accuracy of clusters by sharing random samples for validation or by profiling each cluster and sharing the statics with business stack holders.</p><h3>When to use what</h3><p>· Use <strong>K-means</strong> when several clusters are known by business problem definition or can be estimated. It is suitable for large data sets. It works well on globular or spherical shapes of data.</p><p>· Use <strong>hierarchical clustering</strong> when data is hierarchical in nature or a nested cluster is our target. When several clusters are not predefined, then a hierarchical cluster is a good approach. However, it fails on big data due to its performance complexity.</p><p>· Use DBSCAN when the data shape is an unknown example If you want to cluster the logs, then DBSCAN performs well as compared to k-means. It is also suitable for data with noise and outliers, as it can easily identify those points.</p><p>· OPTICS is a combination of hierarchical and DBSCAN clustering, and it is useful for hierarchical density-based clustering in large datasets. I have used OPTICS to cluster to group the nearby geolocation using geo distance. Optics performed well as compared to K-means and DBSCAN.</p><h3>History of clustering</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*ffoW_E2jTRP6AeQGWPUuyw.png" /></figure><h3>Future with deep learning and GenAI</h3><p>In the past 3 to 4 years, strong research has happened in clustering using deep learning. Below is a list of methods.</p><p>1. <strong>Autoencoders for Clustering</strong>: For unsupervised clustering, autoencoders, which are neural networks trained to reproduce their input, are used. By learning a compressed version of the data, they can discover the underlying patterns for clustering.</p><p>2. <strong>Deep Embedded Clustering (DEC</strong>): This method combines deep learning and classical clustering by concurrently improving the weights and cluster assignments of a neural network to increase clustering accuracy.</p><p>3. <strong>Variational Autoencoders (VAEs):</strong> VAEs are a sort of generative model that learns latent data representations. They have been investigated for clustering using their learned latent spaces.</p><p>4. <strong>Graph Neural Networks (GNNs) for Graph Clustering</strong>: GNNs are used to learn graph-structured data representations, which can then be applied to clustering issues in graph-based datasets.</p><p>5. <strong>Reinforcement Learning-based Clustering</strong>: Some research has investigated how to use reinforcement learning approaches to improve clustering algorithms and how to optimize clustering objectives using reinforcement learning strategies.</p><p>Clustering performance has been improved using Gen AI and LLM models. Recently, the three methods below have been tried, but LLM+Kmeans performed better than Kmeans and K-prototype. Nutshell’s idea is to convert structured data into text and then convert it into embedding. So, Gen AI can help us understand complex features of data, which can help improve model accuracy.</p><p>The K-means + Embedding model is more optimal, according to the results, since it needs fewer variables to produce accurate predictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*z1YKwqujmLFwl2LtApfkAA.png" /></figure><p>References</p><ol><li><a href="https://arxiv.org/pdf/2210.04142.pdf">DeepClustering: AComprehensiveSurvey</a></li></ol><p>2. <a href="https://arxiv.org/pdf/2305.14871.pdf">CLUSTER LLM</a></p><p><a href="https://www.analyticsvidhya.com/blog/2016/11/an-introduction-to-clustering-and-different-methods-of-clustering/"><strong>3. Introduction to Different Clustering Methods</strong></a></p><p><a href="https://divamgupta.com/unsupervised-learning/2019/03/08/an-overview-of-deep-learning-based-clustering-techniques.html">4. an-overview-of-deep-learning-based-clustering-techniques</a></p><p>5. <a href="https://towardsdatascience.com/mastering-customer-segmentation-with-llm-3d9008235f41">customer-segmentation-with-llm</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93e1af6ef640" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>