<?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 Hariom Gautam on Medium]]></title>
        <description><![CDATA[Stories by Hariom Gautam on Medium]]></description>
        <link>https://medium.com/@hari4om?source=rss-9834a0a20ab9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ycqoru4z8WI2ZBYjhDQO7Q.jpeg</url>
            <title>Stories by Hariom Gautam on Medium</title>
            <link>https://medium.com/@hari4om?source=rss-9834a0a20ab9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:52:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hari4om/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[Core GenAI Concepts — The Complete Picture]]></title>
            <link>https://medium.com/@hari4om/core-genai-concepts-the-complete-picture-15f1f6776272?source=rss-9834a0a20ab9------2</link>
            <guid isPermaLink="false">https://medium.com/p/15f1f6776272</guid>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Hariom Gautam]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 07:59:50 GMT</pubDate>
            <atom:updated>2026-04-21T07:59:50.366Z</atom:updated>
            <content:encoded><![CDATA[<p>A comprehensive, structured reference covering the <strong>11</strong> building blocks of modern generative AI systems — from prompt design to production safety</p><h3><strong>1. Prompt Engineering</strong></h3><p><em>The discipline of crafting inputs that guide LLM behavior — without modifying model weights.</em></p><p>Prompt engineering is the practice of structuring natural language instructions to produce reliable, high-quality outputs from a language model. It is the fastest iteration loop in GenAI development: no retraining, no deployment — just refined instructions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IKo0fZIUHG4l8pwxpoZ7eQ.png" /></figure><p>Key techniques include <strong>zero-shot</strong> (direct instruction with no examples), <strong>few-shot</strong> (providing 2–5 demonstrations), <strong>chain-of-thought</strong> (prompting step-by-step reasoning), <strong>ReAct</strong> (interleaving reasoning with tool actions), and <strong>Tree of Thoughts</strong> (exploring multiple reasoning paths simultaneously). <strong>Structured outputs</strong> further constrain the model to return JSON or XML for downstream parsing.</p><h3><strong>2. Retrieval-Augmented Generation (RAG)</strong></h3><p><em>Augmenting LLM responses with external knowledge at inference time — solving hallucination and knowledge cutoff limitations</em></p><p>RAG decouples the LLM’s parametric knowledge (baked into weights) from factual retrieval (fetched from a knowledge base at runtime). This enables accurate, up-to-date responses without expensive retraining</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_9pak1Gq1oKtvhQJpO7oRg.png" /></figure><p>Advanced RAG patterns extend the basic pipeline. <strong>HyDE</strong> generates a hypothetical answer and embeds it as the search query. <strong>Multi-query retrieval</strong> generates query variants and merges results. <strong>Parent-child chunking</strong> retrieves small, precise chunks but returns the larger parent for richer context. <strong>Re-ranking</strong> uses cross-encoders (e.g., Cohere Rerank) to refine the top-K results before passing them to the model.</p><h3><strong>3. Agents &amp; Tool Use</strong></h3><p><em>LLMs that autonomously plan, select tools, act on the environment, and iterate until a goal is achieved</em></p><p>An agent wraps the LLM in a loop: the model reasons about the current state, selects an action (tool call), observes the result, and plans the next step. This loop continues until the task is complete or a stopping condition is met</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NoXsB9Dd8oA_L_DuFbStCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3z_2DtX3LaC0SBbiVlfZDA.png" /></figure><h3><strong>4. Context Window Management</strong></h3><p><em>Techniques for fitting the right information into a finite context window — balancing recency, relevance, and cost</em></p><p>Every LLM has a hard token limit (e.g., 200K for Claude 3.7, 128K for GPT-4o). Production systems must actively manage what goes into this window, since both performance and cost scale with token count</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cqaXLYELHXiWwsctt7YSSQ.png" /></figure><h3><strong>5. Fine-Tuning</strong></h3><p><em>Adapting a pre-trained model to a specific domain, style, or task by continuing training on curated data</em></p><p>Fine-tuning teaches the model behavioral patterns that cannot be reliably achieved through prompting alone — a specific writing tone, domain-specific terminology, structured output formats, or reduced latency via a smaller specialized model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*6oLzMyk83YjgPKj-hW6WJg.png" /></figure><h3><strong>6. Evaluation</strong></h3><p><em>Systematic measurement of whether a GenAI system is actually performing well — often the most underinvested area in production pipelines</em></p><p>Unlike traditional software, LLM outputs rarely have a single correct answer. Evaluation requires a combination of automated metrics, reference-based scoring, and human or LLM-based judgment. A robust eval framework is what separates production-grade systems from prototypes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*Hh4-vDDGi-8XziBE42KFnQ.png" /></figure><h3><strong>7. Temperature &amp; Sampling</strong></h3><p><em>Parameters that control the randomness, creativity, and determinism of model outputs</em></p><p>When an LLM generates the next token, it produces a probability distribution over the entire vocabulary. Sampling parameters control how that distribution is used — whether the model always picks the most likely token or samples from a broader distribution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*eO_DmWEG6a-BbYkswFDwSA.png" /></figure><p><strong>Practical defaults:</strong> <br><em>Factual tasks — temperature 0, top-P 1. <br>Creative writing — temperature 0.9–1.1, top-P 0.95. <br>Code generation — temperature 0.2, top-P 0.95.</em></p><h3><strong>8. Embeddings</strong></h3><p><em>Dense vector representations that encode semantic meaning — the mathematical backbone of RAG, semantic search, and clustering</em></p><p>An embedding model maps any piece of text to a fixed-length vector of floating-point numbers. The key property: semantically similar texts produce vectors that are geometrically close in the embedding space. This allows similarity to be computed efficiently at scale using cosine or dot-product distance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*LOaTynA92UjWXC_0OwBYXQ.png" /></figure><p>Leading embedding models include OpenAI’s <strong>text-embedding-3-large</strong>, Cohere <strong>Embed v3</strong> (strong for multilingual), and open-source alternatives like <strong>BGE-M3</strong> and <strong>E5-mistral</strong>. Model choice significantly impacts RAG retrieval quality — benchmark on your own domain before committing</p><h3><strong>9. Guardrails &amp; Safety</strong></h3><p><em>Defense layers that protect against harmful inputs, unsafe outputs, prompt injection, hallucination, and data leakage</em></p><p>A production GenAI system requires explicit safety controls at both the input and output boundaries. Without them, even well-designed systems are vulnerable to adversarial users, accidental PII exposure, and reputational risk from toxic or hallucinated outputs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*XTM97DTxyZZ_zBd0B5v65A.png" /></figure><h3><strong>10. Memory Systems</strong></h3><p><em>Architectural patterns that give AI systems persistent knowledge of users, prior conversations, and evolving context — across sessions</em></p><p>By default, every LLM call starts fresh. Memory systems solve this by persisting information across calls using a tiered architecture — from the immediate conversation buffer to long-term vector-stored summaries to fine-tuned model knowledge</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*A9YOX5DIfCp_Zog2dndTsw.png" /></figure><h3><strong>11. The Feedback Loop (Data Flywheel)</strong></h3><p><em>The mechanism by which a deployed GenAI system continuously improves using real-world usage signals</em></p><p>The most durable competitive advantage in GenAI is not the model — it is the feedback loop. Systems that systematically collect, label, and train on real usage data compound their quality advantage over time</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*Tm9-ylhnIu9uHQgOHfa5PA.png" /></figure><p>Key signals to instrument: explicit thumbs-up/down ratings, edit distance (did the user rewrite the output?), task completion rates, and follow-up clarification questions (a proxy for confusion). Systems that lack instrumentation cannot compound their quality advantage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*ndcrUkHpL3jfMOWFEfn9uQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15f1f6776272" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Django API making]]></title>
            <link>https://medium.com/@hari4om/django-api-making-21aa7da0b7f8?source=rss-9834a0a20ab9------2</link>
            <guid isPermaLink="false">https://medium.com/p/21aa7da0b7f8</guid>
            <dc:creator><![CDATA[Hariom Gautam]]></dc:creator>
            <pubDate>Wed, 22 Jul 2020 16:07:16 GMT</pubDate>
            <atom:updated>2020-07-22T16:07:16.830Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*4t0CzU2Ep3hCtSQm6bL0dw.png" /></figure><p>This blog is all about a simple django running API with minimal change.</p><h3><strong>Steps to follow for Django API</strong></h3><p><strong>Step 1: Create a Django Project:</strong></p><pre>django-admin startproject project_name</pre><p>After running the above command following files will be created:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*4VCl82mGetjb3yR7nLU9bQ.jpeg" /></figure><p><strong>Step 2: Start the app:</strong></p><p>First go to the “project_name” folder by <strong><em>cd project_name </em></strong>and then start the app by running the below command<strong><em>:</em></strong></p><pre>python manage.py startapp app_name</pre><p>Now, your project directory will look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*--ZpaFRX6n-6j_Zm00xKgw.jpeg" /></figure><h3><strong>Addition/modification of code in python files</strong></h3><p><strong>Step 3: Changes in <em>settings.py </em>in project_name</strong></p><pre># project_name/settings.py<br>INSTALLED_APPS = [<br>    &#39;django.contrib.admin&#39;,<br>    &#39;django.contrib.auth&#39;,<br>    &#39;django.contrib.contenttypes&#39;,<br>    &#39;django.contrib.sessions&#39;,<br>    &#39;django.contrib.messages&#39;,<br>    &#39;django.contrib.staticfiles&#39;,<br><strong>    &#39;app_name&#39;<br></strong>]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HzcajvYNWDq7sx1x2Uwabg.jpeg" /></figure><p><strong>Step 4: Changes in <em>urls.py</em> in project_name</strong></p><pre>#project_name/urls.py<br>from django.conf.urls import url<strong>, include</strong><br>from django.contrib import admin</pre><pre>urlpatterns = [<br>    url(https://medium.com/r&#39;^admin/&#39;,%20admin.site.urls),<br><strong>    url(https://medium.com/r&#39;^api/&#39;,%20include(note_resource.urls)),<br></strong>]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vUr_EWF5eXvhEiJecf5A9g.jpeg" /></figure><p><strong>Step 5: Create an empty python file <em>urls.py</em> in app and write the code.</strong> <br>Don’t be confused with project_name/urls.py. this is completely different file with the same name.</p><pre>#app_name/urls.py<br>from django.conf.urls import url<br>from django.contrib import admin<br>from . import views<br>from .views import sentiment_Read<br>urlpatterns = [<br>    url(https://medium.com/r&#39;^sentiment_url/r&#39;^sentiment_url/$&#39;, sentiment_Read.as_view(#39;,%20sentiment_Read.as_view()),<br>]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Khdq0Ku07uWdiN00c9JqWg.jpeg" /></figure><p><strong>Step 6: Changes in view.py in app</strong></p><pre>#app_name/urls.py<br>from django.shortcuts import render<br>from .Services import bert_test_final<br>from django.views import View<br>from django.http import HttpResponse, JsonResponse<br>from django.views.decorators.csrf import csrf_exempt<br>from django.utils.decorators import method_decorator<br>import json<br>#from .Services import hariLogger</pre><pre># Create your views here.<br><a href="http://twitter.com/method_decorator">@method_decorator</a>(csrf_exempt, name=&#39;dispatch&#39;)<br>class sentiment_Read(View):<br>    def post(self, request):<br>        #hariLogger.setup_custom_logger(&quot;processing&quot;)<br>        data = request.body<br>        inputData = json.loads(request.body.decode(&#39;utf-8&#39;))<br>        input_value = inputData[&quot;data&quot;]<br>        result = bert_test_final.sentiment_bert_main(input_value)<br>        return JsonResponse({&#39;sentiment_output&#39;: result})</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KCI9h--LlmigKYdzYamO9Q.jpeg" /></figure><h3><strong>Step 7 : Run your django API</strong></h3><p>Run the server:</p><pre>python manage.py runserver 0.0.0.0:8000</pre><p>you can use Postman and check the outputs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*Pu-dJs1zX3lAeMWUY2VxPg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21aa7da0b7f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Word Embedding]]></title>
            <link>https://medium.com/@hari4om/word-embedding-d816f643140?source=rss-9834a0a20ab9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d816f643140</guid>
            <dc:creator><![CDATA[Hariom Gautam]]></dc:creator>
            <pubDate>Sun, 01 Mar 2020 15:56:47 GMT</pubDate>
            <atom:updated>2020-03-01T18:11:53.883Z</atom:updated>
            <content:encoded><![CDATA[<h3>Word Embedding: Basics</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sAJdxEsDjsPMioHyzlN3_A.png" /></figure><p>Create a vector from a word</p><p><strong>Methods of Word Embeddings:</strong></p><ol><li>Frequency based Embedding:<br> a. Count Vectors<br> b. TF-IDF<br> c. Co-Occurrence Matrix</li><li>Prediction based Embedding(word2vec)<br>a. CBOW<br>b. Skip-Gram</li><li>gloVe(Global Vector)</li></ol><blockquote>Why word embedding:<br><em>* Computer understands only numbers.<br>* </em>Word Embeddings are the texts converted into numbers<br>* A ve<em>ctor </em>representation of a word may be a one-hot encoded vector like [0,0,0,1,0,0].<br>* It is capable of capturing context of a word in a document, semantic and syntactic similarity, relation with other words, etc<br>* A word embedding is a learned representation for text where words that have the same meaning have a similar representation.</blockquote><h3>Frequency based Embedding:</h3><h3>Count Vectors:</h3><blockquote>Count Vector is based on the frequency of each word</blockquote><h4>How to make count vectors:</h4><p>Let understand by example:<br>Lets assume that our corpus has 2 documents:<br>Document1 = ‘He is a lazy boy. She is also lazy.’<br>Document2 = ‘Neeraj is a lazy person.’</p><p>Create Dictionary of the corpus (unique word in the corpus):<br>[‘He’,’She’,’lazy’,’boy’,’Neeraj’,’person’]</p><p>Here number of unique word(corpus length) is 6.</p><p>Create a count matrix:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*lU-DBHCMYifsASrNBoXgZg.png" /></figure><p>Now, a column can be understood as word vector for the corresponding word.<br>Example: ‘He’ has count vector [1,0]<br>word ‘lazy’ has count vector [2,1]<br>word ‘person’ has count vector [0,1]</p><h4>Variation in Count Vector:</h4><ul><li>you can put count 1 when count of any word &gt;1, i.e., that shows that particular word is present or not.</li><li>For very big corpus it is hard to build such doc-term matrix, so take that word whose count is greater than some threshold.</li><li>Frequency of stopwords will be more and that don’t have impact on document, so remove stopwords before creating the count vector.</li></ul><h3>TF-IDF:</h3><blockquote>* The limitation of count vector is that common words appears frequently and frequency of important word is very less.<br>* term frequency-inverse document frequency(tf-idf) gives the weightage to that word which occurs very less time. i.e, it captures the uniqueness.<br>* occurrence of a word in a single document but in the entire corpus.<br>* this method will penalize these type of high frequency words.<br>Formula of tf-idf:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*JsEvyhHMsBHiiNlxt_jXsA.png" /></figure><h4>how exactly does TF-IDF work:</h4><p>Lets take 2 documents as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*5KMj7rIOTMOjE1sisMDe-A.png" /></figure><ul><li>term frequency(TF) of word ‘this’ in Document 1 is 1/8</li><li>because, TF = (Number of times term t appears in a document)/(Number of terms in the document)</li><li>TF of word ‘This in Document 2 is 1/5</li></ul><blockquote>It denotes the contribution of the word to the document i.e words relevant to the document should be frequent. eg: A document about Messi should contain the word ‘Messi’ in large number.</blockquote><ul><li>IDF = log(N/n), where, N is the total number of documents and n is the number of documents a term t has appeared in.</li><li>IDF(This) = log(2/2) = 0.<br>If a word appears in each document of given corpus then idf of that word = 0<br>* IDF(Messi) = log(2/1) = 0.301.</li></ul><p>Combine TF and IDF together:<br>TF-IDF(This,Document1) = (1/8) * (0) = 0<br>TF-IDF(This, Document2) = (1/5) * (0) = 0<br>TF-IDF(Messi, Document1) = (4/8)*0.301 = 0.15</p><h4>Variation of TF-IDF:</h4><ul><li>tf-idf is the multiplication of tf and idf, if tf value is very high then tf-idf value will be more.</li><li>To avoid this we use logarithmic method called BM25.</li></ul><h3>Co-Occurrence Matrix with a fixed context window:</h3><blockquote>* Similar words tend to occur together and will have similar context for example . Apple is a fruit. Mango is a fruit.</blockquote><blockquote>* Apple and mango tend to have a similar context i.e fruit.</blockquote><blockquote>*there are two concepts that need to be clarified – Co-Occurrence and Context Window.<br>1) Co-occurrence — For a given corpus, the co-occurrence of a pair of words say w1 and w2 is the number of times they have appeared together in a Context Window.<br>2) Context Window — Context window is specified by a number and the direction.</blockquote><ul><li>Words co-occurrence statistics is computed simply by counting how two or more words occur together in a given corpus.</li></ul><blockquote>For example, Consider a corpus consisting of the following documents:<br><em>penny wise and pound foolish.<br>a penny saved is a penny earned.</em></blockquote><p>Letting <em>count(w(next)|w(current))</em> represent how many times word <em>w(next) </em>follows the word <em>w(current)</em>, we can summarize co-occurrence statistics for words “a” and “penny” as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*PRSShSeXZ5i1u5NlpJrK9A.png" /></figure><p>The above table shows that “a” is followed twice by “penny” while words “earned”, “saved”, and “wise” each follows “penny” once in our corpus. Thus, “earned” is one out of three times probable to appear after “penny.</p><ul><li>Co-occurrence matrix is decomposed using techniques like PCA, SVD etc. into factors and combination of these factors forms the word vector representation.</li></ul><p>you perform PCA on the above matrix of size NXN. You will obtain V principal components. You can choose k components out of these V components. So, the new matrix will be of the form N X k.</p><p>And, a single word, instead of being represented in N dimensions will be represented in k dimensions while still capturing almost the same semantic meaning. k is generally of the order of hundreds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*4NEvGJldIfyn7D1eWQgcNg.png" /></figure><p><strong>Advantages of Co-occurrence Matrix:</strong></p><ol><li>It preserves the semantic relationship between words. i.e man and woman tend to be closer than man and apple.</li><li>It uses SVD at its core, which produces more accurate word vector representations than existing methods.</li><li>It uses factorization which is a well-defined problem and can be efficiently solved.</li><li>It has to be computed once and can be used anytime once computed. In this sense, it is faster in comparison to others.</li></ol><p><strong>Disadvantages of Co-Occurrence Matrix:</strong></p><ol><li>It requires huge memory to store the co-occurrence matrix.<br>But, this problem can be circumvented by factorizing the matrix out of the system for example in Hadoop clusters etc. and can be saved.</li></ol><h3>Prediction based methods:</h3><blockquote>Frequency based model:</blockquote><blockquote>So far, we have seen deterministic methods to determine word vectors. But these methods proved to be limited in their word representations until Mitolov etc. el introduced word2vec to the NLP community.</blockquote><blockquote>Prediction Based model:</blockquote><blockquote>These methods were prediction based in the sense that they provided probabilities to the words and proved to be state of the art for tasks like word analogies and word similarities. They were also able to achieve tasks like King -man +woman = Queen, which was considered a result almost magical.</blockquote><ul><li>Word2vec is not a single algorithm but a combination of two techniques — CBOW(Continuous bag of words) and Skip-gram model.</li><li>Both of these are shallow neural networks which map word(s) to the target variable which is also a word(s). Both of these techniques learn weights which act as word vector representations.</li></ul><h3><strong>Word2vec</strong> model:</h3><p>Word2vec model has 2 algorithms:<br>1. Continuous bag of word(CBOW)<br>2. Skip-gram</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9jq3uASB9KjqTy8DcZbJbA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*UittqVxqmHpU-vh429VN7g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SxnzTGJLet0X43iHe9M-mA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*T0LeFQPLZuTXWeEi6lGT5w.jpeg" /></figure><h3>Training word2vec Model:</h3><p>There are multiple ways to train word2vec model:<br>1. Hierarchical Softmax<br>2. Negative Sampling</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*Z-tx4P-qEeozd5_3h_Wb6Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*G4ErQeXEL6VFJVDQ9sYPww.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d816f643140" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Support Vector Machine: Basics]]></title>
            <link>https://medium.com/@hari4om/support-vector-machine-basics-2d65fe43b7fc?source=rss-9834a0a20ab9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d65fe43b7fc</guid>
            <dc:creator><![CDATA[Hariom Gautam]]></dc:creator>
            <pubDate>Sun, 16 Feb 2020 15:03:58 GMT</pubDate>
            <atom:updated>2020-02-16T15:42:10.530Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*VijGPT9cLN-4oNPrBm0dMA.png" /></figure><h3>Content:</h3><ul><li>Introduction to Support Vector Machine(SVM)</li><li>Maths/Intuition Behind Support Vector Machine</li><li>Parameter tuning in SVM</li><li>Advantages and Disadvantages of SVM</li></ul><h3>Introduction to Support Vector Machine(SVM):</h3><p>A Support Vector Machine is a supervised machine learning algorithm which can be used for both classification and regression problems. It follows a technique called the kernel trick to transform the data and based on these transformations, it finds an optimal boundary between the possible outputs.</p><p>A Support Vector Machine (SVM) is a discriminative classifier formally defined by a separating hyperplane. This means g<em>iven labeled training data (</em>supervised learning<em>), the algorithm outputs an optimal hyperplane which categorizes new examples.</em></p><h3>Maths/Intuition behind SVM:</h3><ul><li>The main idea is to identify the optimal separating hyperplane which maximizes the margin of the training data.</li><li>For an n-dimensional Euclidean space, we need n-1 dimensional separation hyperplane subspace.</li><li>Bellow images elaborate the mathematics behind.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2TG0IB1Z0VCmK4bG9pXZwg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*nV6zpZOJZXpoenOkrj2MuA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*PK8jGWQfOU9aL6Q3JVIOfw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*0B_-U66xZeBSeGJbN8hEkQ.jpeg" /></figure><h3>Parameters in SVM:</h3><p>There are mainly 3 parameters in SVM:</p><blockquote><strong>Kernel</strong> <strong>function</strong>:</blockquote><ul><li>we have various options available with kernel like, “linear”, “rbf”,”poly” and others (default value is “rbf”).</li><li>“rbf” and “poly” are useful for non-linear hyper-plane.</li></ul><blockquote><strong>C</strong> (R<strong>egularization parameter</strong>):</blockquote><ul><li>Penalty parameter C of the error term. It also controls the trade-off between smooth decision boundaries and classifying the training points correctly.</li><li>Regularization parameter (often termed as C parameter in python’s sklearn library) tells the SVM optimization how much you want to avoid misclassifying each training example.</li><li>Large values of C implies that the optimization will choose a smaller-margin hyperplane if that hyperplane does a better job of getting all the training points classified correctly.</li><li>A very small value of C will cause the optimizer to look for a larger-margin separating hyperplane, even if that hyperplane misclassifies more points.</li></ul><blockquote><strong>Gamma:</strong></blockquote><ul><li>Kernel coefficient for ‘rbf’, ‘poly’ and ‘sigmoid’.</li><li>Higher the value of gamma, will try to exact fit the as per training data set i.e. generalisation error and cause over-fitting problem</li></ul><h3>Advantages and Disadvantages of SVM:</h3><p><strong>Advantages</strong>:</p><ul><li>SVM is an algorithm which is suitable for both linearly and nonlinearly separable data (using kernel trick).</li><li>SVMs work well on small as well as high dimensional data spaces</li><li>It works effectively for high-dimensional datasets because of the fact that the complexity of the training dataset in SVM is generally characterised by the number of support vectors rather than the dimensionality. Even if all other training examples are removed and the training is repeated, we will get the same optimal separating hyperplane.</li><li>SVMs can work effectively on smaller training datasets as they don’t rely on the entire data.</li><li>It is effective in high dimensional spaces.</li><li>It is effective in cases where the number of dimensions is greater than the number of samples.</li><li>It uses a subset of training points in the decision function (called support vectors), so it is also memory efficient.</li></ul><p><strong>Disadvantages:</strong></p><ul><li>They are less effective on noisier datasets that have overlapping classes.</li><li>They are not suitable for larger datasets because the training time with SVMs can be high and much more computationally intensive.</li><li>It also doesn’t perform very well, when the data set has more noise i.e. target classes are overlapping</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d65fe43b7fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decision Tree: Basics]]></title>
            <link>https://medium.com/@hari4om/decision-tree-basics-706eb9eb2a73?source=rss-9834a0a20ab9------2</link>
            <guid isPermaLink="false">https://medium.com/p/706eb9eb2a73</guid>
            <category><![CDATA[decision-tree]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Hariom Gautam]]></dc:creator>
            <pubDate>Sun, 09 Feb 2020 11:46:04 GMT</pubDate>
            <atom:updated>2020-02-09T11:46:04.260Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8f3C4JdunbwFlE69wNrWHQ.png" /></figure><h3>Content:</h3><ol><li>Introduction of Decision Tree<br>2. Type of Split<br>3. Decision Tree observation<br>4. Weakness of Decision Tree<br>5. Construction of Decision Tree<br>6. Find best attribute/feature<br>7. Decision Tree Example</li></ol><h3>Introduction of Decision Tree:</h3><ul><li>Decision tree is supervised learning mechanism used for classification and regression.</li><li>Decision tree follow tree like structure.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*0UggHnixBOrSZ7pnPScYEg.jpeg" /></figure><h3>Types of Splitting:</h3><p>Splitting of a node is a process of dividing the data on some conditions on attribute.<br>There are mainly 3 type of split:<br>1. Axis Parallel Split<br>2. Oblique Split<br>3. Split based on non linear function</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*Gi3DtHYR_vgcIzgLbEjlQQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*UCNE5tHdOt4kNnlRj_WJIw.jpeg" /><figcaption>Types of split</figcaption></figure><h3>Decision Tree Observations:</h3><ul><li>Following below is the basic observations in decision tree</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*ZQBUdGv-TT6t8ArIYj6ZCw.jpeg" /><figcaption>Decision Tree Observations</figcaption></figure><h3>Weakness of Decision Tree:</h3><ul><li>There are some limitations of using Decision tree.</li><li>There are two main weakness of decision Tree:<br>1. It more time(speed)<br>2. Not suitable for rectangular region.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*HjqTszAf6Bk4CglbDbStSQ.jpeg" /><figcaption>Weakness of Decision Tree</figcaption></figure><h3>Construction of Decision Tree:</h3><ul><li>Root- Most discriminative attribute which makes most difference to the classifier.</li><li>Attribute with the same proportion of “+” and “-” is not a good split.</li><li>Measure of Impurity:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*kCeCdBBdOe0s8m8DP-axmQ.jpeg" /><figcaption>Formula to calculate impurity</figcaption></figure><h3>Best Attribute to split:</h3><ul><li>We need to find the best attribute on which our model will split.</li><li>To find the best attribute, we need to calculate the “drop in impurity”.</li><li>The attribute which has maximum impurity drop will be considered as the best attribute.</li><li>Figure below shows how to calculate the “drop in impurity” or “ Gain in Information”.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*0w4o3Mkh6hGB-J-xkYKBCw.jpeg" /><figcaption>Information gain</figcaption></figure><h3>Decision Tree Example:</h3><p>Consider a case where there are 100 examples with 40 belonging to C1, 30 belonging to C2 and 30 belonging to C3. Let some attribute X split these example into two branches, the left branch contains 60 examples with 40 C1, 10 C2 and 10 C3 and right branch contains 40 examples with 0 C1, 20 C2 and 20 C3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*TlxnG9xC2qYjUI3A34ayEA.jpeg" /><figcaption>Decision Tree Example</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=706eb9eb2a73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Regression: Basics]]></title>
            <link>https://medium.com/@hari4om/linear-regression-basics-248bbfb37155?source=rss-9834a0a20ab9------2</link>
            <guid isPermaLink="false">https://medium.com/p/248bbfb37155</guid>
            <category><![CDATA[linear-regression]]></category>
            <category><![CDATA[regression]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Hariom Gautam]]></dc:creator>
            <pubDate>Sat, 08 Feb 2020 11:52:12 GMT</pubDate>
            <atom:updated>2020-02-08T12:39:01.712Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0zoFQCor7qrW-DaNbRGHkw.jpeg" /></figure><h3>Content</h3><ol><li>1. Introduction to Linear Regression<br>2. Assumptions in Linear Regression<br>3. Linear Regression Model<br>4. Linear Regression with one variable intuition<br>5. Cost function<br>6. Learning Parameter<br>7. Gradient Descent<br>8. Use-cases of Linear Regression</li></ol><h3>Introduction to Linear Regression:</h3><ul><li>Linear Regression is a supervised learning mechanism that are used to predict the value/score based on some independent variable.</li><li>Linear regression consists of finding the best-fitting straight line through the data points.</li><li>The best fitting line is called Regression line</li><li>In the figure below, our objective is to train a Linear Regression model on data set(in red) and find a regression line(in green)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*3EPg_kgPZjQJ_ng7SZuJvQ.png" /></figure><h3>Assumptions in Linear Regression:</h3><p>There are mainly 5 assumptions in linear regression:<br>1. Linearity<br>2 Multivariate Normality<br>3. No Multicollinearity<br>4. No Autocorrelation<br>5. Homoscedasticity</p><h3>Linear Regression Model:</h3><p>The goal of linear regression is to find the best linear function that minimizes SSE(Sum of Squared Errors)<br>Linear regression is defined by this equation:<br>y = mx + c</p><p>x — Independent or explanatory or predictor variable.<br>y — Dependent or target or outcome variable.<br>c — y intercept.<br>m — slope of a regression line or coefficient of (independent variable)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*Qqy7C0AFK2m19ITPVLy87g.jpeg" /></figure><h3>Linear Regression with one variable:</h3><p>Below figure implies the Linear Regression with only one variable.<br>If x is the independent variable then we will try to find out the value of theta which gives minimum error.<br>Theta_0 is the intercept.<br>With the above parameter we want to find out the cost function and our objective is to minimize the cost function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*-pC2Jw4yfxUnAUez68Wqww.jpeg" /></figure><h3>Graphical intuition:</h3><p>In the figure below, we describe the house price prediction with the graphs that indicates the relationship between “Size(in square foot) and Price”, Relationship between “theta and J(theta)” means at what value of theta the cost will be minimum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*zPAwThJqhdXJken1wjdGLw.jpeg" /></figure><h3>Gradient Descent and Learning Parameters:</h3><p>Gradient descent is an algorithm that is used to minimize the function.<br>We try to find out the optimal value of m(slope) and c(intercept)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*iiXz6nV4IQFhJ8uAk2yTnw.gif" /><figcaption>At each iteration the value of m and c is get update</figcaption></figure><ul><li>alpha is called learning rate. smaller/larger value of alpha affect the equation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*-wxnHyZN7UW25yP5r6yQSA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*Ni_Bj1wbQ0k1LGTzquNBdw.jpeg" /></figure><h3>Use-cases of Linear Regression:</h3><ol><li>Linear regression analysis can help a builder to predict how much houses it would sell in the coming months and at what price.</li><li>Linear Regression can be used to predict the sale of products in the future based on past buying behaviour.</li><li>Linear Regression can be used to predict the economic growth of a country or state.</li><li>An organisation can use linear regression to figure out how much they would pay to a new joinee based on the years of experience.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=248bbfb37155" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning Overview]]></title>
            <link>https://medium.com/@hari4om/machine-learning-overview-9e32566ce25f?source=rss-9834a0a20ab9------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e32566ce25f</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Hariom Gautam]]></dc:creator>
            <pubDate>Thu, 20 Jun 2019 04:36:21 GMT</pubDate>
            <atom:updated>2019-07-05T06:09:53.167Z</atom:updated>
            <content:encoded><![CDATA[<p>The very first step in Data Science- <strong>15 Days of ML</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*snsCwNpUTQLJK9Bw2j2pdg.png" /><figcaption>Machine Learning in one shot</figcaption></figure><p>The fundamental of machine learning is to find out the way to teach the computer to perform a task without any explicit instruction.</p><p>The formal definition of Machine Learning by <em>Tom Mitchell</em>:</p><blockquote>“A computer program is said to learn from experience <em>E</em> with respect to some class of tasks <em>T</em> and performance measure <em>P</em> if its performance at tasks in <em>T</em>, as measured by <em>P</em>, improves with experience <em>E</em>.”</blockquote><p>Any solution of a problem consists of three parts: Input, Logic and Output. Tradition/regular programming takes input, define some logic and evaluate the output but Machine Learning takes Input and output, maps the input with output, learns from data and gives the Logic/Model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4X7gSRhkkTHJr6YQWzqAqg.png" /><figcaption>Traditional program vs Machine Learning</figcaption></figure><h3><strong><em>DAY-1(Overview of ML):</em></strong></h3><p>The below link describes about the complete view of machine learning. We can categorize Machine learning algorithm into Supervised learning, Unsupervised learning and Reinforcement learning etc.<br>Supervised learning can be applied for the data that has labels, It includes Classification and Regression. Classification method is used to predict the category of outputs while Regression outputs the real number prediction.<br>Unsupervised learning is applied for Unlabeled data, this type of learning includes Clustering.</p><p><a href="https://www.analyticsvidhya.com/blog/2017/09/common-machine-learning-algorithms/">Top 10 Machine Learning Algorithms You Must Know</a></p><h3><strong>CLASSIFICATION:</strong></h3><p>Classification is a supervised learning task, Supervised learning means the data includes the attributes/features with associated labels/class.<br>Classification predicts the output in discrete form i.e It categorizes the data into desired number of classes.</p><h3><strong><em>DAY-2 (Naive bayes)</em></strong> :</h3><p>Naive Bayes is a <a href="https://en.wikipedia.org/wiki/Conditional_probability">conditional probability</a> model, It is a collection of classification algorithms based on Bayes’ Theorem.<br>Fundamental assumption in Naive Bayes is that each feature are independent on each other and they have equal contribution to the outcome.<br>Bayes theorem finds the probability of an event given the probability of other event that already been happened.</p><p>Basics of Naive Bayes:</p><p><a href="https://www.analyticsvidhya.com/blog/2017/09/naive-bayes-explained/">Naive Bayes Classifier Explained: Applications and Practice Problems of Naive Bayes Classifier</a></p><p>Intermediate:</p><p><a href="https://machinelearningmastery.com/naive-bayes-for-machine-learning/">Naive Bayes for Machine Learning - Machine Learning Mastery</a></p><p>More about Naive Bayes:</p><p><a href="https://medium.com/machine-learning-101/chapter-1-supervised-learning-and-naive-bayes-classification-part-1-theory-8b9e361897d5">Chapter 1 : Supervised Learning and Naive Bayes Classification — Part 1 (Theory)</a></p><h3><strong><em>DAY-3 (K Nearest Neighbors Classifier):</em></strong></h3><p>K-Nearest Neighbor(k-NN) is a Supervised learning algorithm that works based on closest k labeled points.<br>For example, If you are doing fruit classification task, you have binary classes i.e, predict either apple or banana. Suppose you have taken k = 5, and you get 3 data point as apple and 2 data point as banana. Based on majority you can label the new data point as apple.</p><p><a href="https://medium.com/machine-learning-101/k-nearest-neighbors-classifier-1c1ff404d265">Chapter 4: K Nearest Neighbors Classifier</a></p><h3><strong><em>DAY-4 (Decision Tree):</em></strong></h3><p>Decision Tree is Supervised Learning algorithm, It has a tree representation where each internal node corresponds to Attribute(Feature), edges represents the Rules and each leaf node represents Class(Label). It can be used for Classification as well as Regression Problem.<br>The whole Idea is to split the node based on Information Gain of features.</p><p>Basics of Decision tree:</p><p><a href="https://www.analyticsvidhya.com/blog/2016/04/complete-tutorial-tree-based-modeling-scratch-in-python/">Tree Based Algorithms: A Complete Tutorial from Scratch (in R &amp; Python)</a></p><p>Intermediate:</p><p><a href="https://medium.com/machine-learning-101/chapter-3-decision-trees-theory-e7398adac567">Chapter 3 : Decision Tree Classifier — Theory</a></p><h3><strong><em>DAY-5 (Random Forest Classifier):</em></strong></h3><p>Random forest is an Ensemble method that can be used for prediction, It can be used for Classification and Regression. It uses multiple uncorrelated decision tree to predict better result. <br>The limitation of Decision tree is high Variance, So to overcome this, we introduce Random Forest.</p><p><a href="https://medium.com/machine-learning-101/chapter-5-random-forest-classifier-56dc7425c3e1">Chapter 5: Random Forest Classifier</a></p><h3><strong><em>DAY-6 (Support vector Machine):</em></strong></h3><p>Support Vector Machine(SVM) is a supervised learning task, It can be used for Classification and Regression.<br>The objective of SVM is to find the hyper plane that can maximize the margin between two classes.</p><p><a href="https://www.analyticsvidhya.com/blog/2017/09/understaing-support-vector-machine-example-code/">Learn How to Use Support Vector Machines (SVM) for Data Science</a></p><p>Advance:</p><p><a href="https://medium.com/machine-learning-101/chapter-2-svm-support-vector-machine-theory-f0812effc72">Chapter 2 : SVM (Support Vector Machine) — Theory</a></p><h3><strong><em>DAY-7 (Logistic Regression):</em></strong></h3><p>Basic: (this is actually a classification algorithm)</p><p><a href="https://hackernoon.com/introduction-to-machine-learning-algorithms-logistic-regression-cbdd82d81a36">Introduction to Machine Learning Algorithms: Logistic Regression</a></p><p>More About Logistic Regression:</p><p><a href="https://towardsdatascience.com/machine-learning-part-3-logistics-regression-9d890928680f">Machine Learning Part 3 : Logistic Regression</a></p><h3><strong>REGRESSION:</strong></h3><p>Regression is a supervised learning algorithm which predicts the continuous outcomes. Regression model predicts the target value based on independent variable. It tries to fit data with the best hyper-plane which goes through the points.</p><h3><strong><em>DAY-8 (Linear Regression):</em></strong></h3><p>Linear Regression model</p><p><a href="https://hackernoon.com/supervised-machine-learning-linear-regression-in-python-541a5d8141ce">Supervised Machine Learning — Linear Regression in Python</a></p><p>Linear Regression Concepts:</p><p><a href="https://medium.com/simple-ai/linear-regression-intro-to-machine-learning-6-6e320dbdaf06">Linear Regression — Intro To Machine Learning #6</a></p><p>More about Linear Regression:</p><p><a href="https://towardsdatascience.com/introduction-to-machine-learning-algorithms-linear-regression-14c4e325882a">Introduction to Machine Learning Algorithms: Linear Regression</a></p><h3><strong>OPTIMIZE ML MOLDEL:</strong></h3><h3><strong><em>DAY-9 (Bias and Variance):</em></strong></h3><p><a href="https://elitedatascience.com/bias-variance-tradeoff">WTF is the Bias-Variance Tradeoff? (Infographic)</a></p><p>Overview of Bias-Variance:</p><p><a href="https://www.kdnuggets.com/2016/08/bias-variance-tradeoff-overview.html">Understanding the Bias-Variance Tradeoff: An Overview</a></p><h3><strong><em>DAY-10 (Underfitting and Overfitting):</em></strong></h3><p><a href="https://medium.com/greyatom/what-is-underfitting-and-overfitting-in-machine-learning-and-how-to-deal-with-it-6803a989c76">What is underfitting and overfitting in machine learning and how to deal with it.</a></p><p>Problems with Underfitting and Overfitting:</p><p><a href="https://elitedatascience.com/overfitting-in-machine-learning">Overfitting in Machine Learning: What It Is and How to Prevent It</a></p><h3><strong><em>DAY-11 (Regularization):</em></strong></h3><p><a href="https://www.analyticsvidhya.com/blog/2015/02/avoid-over-fitting-regularization/">How to avoid Over-fitting using Regularization?</a></p><p>Regularization to avoid Overfitting:</p><p><a href="https://towardsdatascience.com/regularization-in-machine-learning-76441ddcf99a">Regularization in Machine Learning</a></p><h3><strong><em>DAY-12 (Cross Validation):</em></strong></h3><p>Basic concepts of Cross Validation:</p><p><a href="https://www.analyticsvidhya.com/blog/2015/11/improve-model-performance-cross-validation-in-python-r/">Improve Your Model Performance using Cross Validation (in Python and R)</a></p><p>More about Cross Validation:</p><p><a href="https://magoosh.com/data-science/k-fold-cross-validation/">What Is K-Fold Cross Validation? - Magoosh Data Science Blog</a></p><h3><strong><em>DAY-13 (Ensemble learning):</em></strong></h3><p>Concept of Ensemble learning:</p><p><a href="https://www.analyticsvidhya.com/blog/2015/08/introduction-ensemble-learning/">Basics of Ensemble Learning Explained in Simple English</a></p><p>Advance version of Ensemble learning:</p><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//cs.nju.edu.cn/zhouzh/zhouzh.files/publication/springerEBR09.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/fa0fdbc69c510559a2dbd16171327a5f/href">https://medium.com/media/fa0fdbc69c510559a2dbd16171327a5f/href</a></iframe><h3>Unsupervised learning</h3><h3><strong><em>DAY-14 (Clustering):</em></strong></h3><p><a href="https://www.analyticsvidhya.com/blog/2016/11/an-introduction-to-clustering-and-different-methods-of-clustering/">Clustering | Different Methods, and Applications (Updated 2024)</a></p><p>K-means for Clustering:</p><p><a href="https://sites.google.com/site/dataclusteringalgorithms/k-means-clustering-algorithm">Data Clustering Algorithms - k-means clustering algorithm</a></p><p>Clustering Algorithms:</p><p><a href="https://www.toptal.com/machine-learning/clustering-algorithms">Clustering Algorithms: From Start To State Of The Art</a></p><h3><strong><em>DAY-15 (</em></strong> <strong>Dimensionality<em> Reduction):</em></strong></h3><p><a href="https://elitedatascience.com/dimensionality-reduction-algorithms">Dimensionality Reduction Algorithms: Strengths and Weaknesses</a></p><p><strong><em>Other material</em></strong>: Free google course for ML:</p><p><a href="https://developers.google.com/machine-learning/crash-course/ml-intro">Introduction to Machine Learning | Google for Developers</a></p><p>Note: Play with scikit learn library:</p><p><a href="http://scikit-learn.org/stable/supervised_learning.html#supervised-learning">1. Supervised learning - scikit-learn 0.21.2 documentation</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e32566ce25f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>