<?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 Karan Chrish on Medium]]></title>
        <description><![CDATA[Stories by Karan Chrish on Medium]]></description>
        <link>https://medium.com/@karanchrish?source=rss-e69f7fbbe60------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ISn4iDoessiDFo-j2xWtiQ.png</url>
            <title>Stories by Karan Chrish on Medium</title>
            <link>https://medium.com/@karanchrish?source=rss-e69f7fbbe60------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 23 May 2026 05:30:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@karanchrish/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[The Next Level of Deep Learning: Transformers, Generative Models & NLP]]></title>
            <link>https://medium.com/@karanchrish/the-next-level-of-deep-learning-transformers-generative-models-nlp-22d764252ba7?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/22d764252ba7</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[gans]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Fri, 08 Aug 2025 05:38:27 GMT</pubDate>
            <atom:updated>2025-08-08T05:43:38.140Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*FmxPyNMOUJMhruwr.jpg" /></figure><p>Yeah, in today’s blog we’re diving into some powerful topics we haven’t touched yet in our Deep Learning series — things like Transformer models, GANs, and of course, how NLP fits into the picture. So let’s get started with Transformer models!</p><p><strong>Transformers</strong> have literally changed the game in Deep Learning. They came as an improvement over RNNs. You see, RNNs process words one by one — which is kinda slow and not so efficient. But Transformers? They just jump over that and handle everything at once. That’s thanks to something called self-attention. Self-attention is the magic behind Transformers. It doesn’t look at each word in a sentence step by step — instead, it looks at the whole thing in one go and figures out which words are more important, or which ones are connected, all at the same time. That’s why it’s so fast and smart.</p><p>Transformers also use something called <strong>encoder-decoder</strong> architecture. If you’ve used Google Translate, that’s what’s working behind the scenes. The encoder takes in the input (like a sentence), and the decoder transforms it into something else (like a translation). It’s all happening in one smooth go.</p><p>Now, since self-attention doesn’t naturally understand the order of words, Transformers use something called positional encoding. This tells the model where each word is in the sentence so that “hit him” doesn’t turn into “him hit” — because that would totally change the meaning, right? Another cool thing is multi-head attention. It’s like giving the model multiple brains to think from different angles — one focuses on the subject, another on the verb, another on adjectives. So it captures all kinds of relationships in a sentence — whether short or long. And that’s what makes Transformers so strong in NLP today!</p><p>Now we’re going to dive into something super interesting — Generative Models. You’ve probably heard the term “GenAI” being used everywhere lately. That’s what we’re talking about here — models that can generate new data like images, text, and even audio. The magic behind this includes models like Autoencoders, Variational Autoencoders (VAEs), and GANs.</p><p>So let’s start with Autoencoders. Imagine you have a photo, and you want to compress it, reduce the size without losing important details. That’s what an autoencoder does — it takes the input, compresses it into a small hidden format called a latent vector, and then tries to recreate the original image from that. It’s like zipping and unzipping a file — but in AI style. And while doing this, it removes unnecessary noise, reduces dimensions, and focuses only on the key features.</p><p>Now, Variational Autoencoders, or VAEs, go one step further. They don’t just compress and rebuild — they explore all the possible variations that can come out of that compressed data. So instead of just recreating the same image, they can generate new images or styles based on that small hidden representation. This is where creativity comes in — new textures, new combinations, fresh data. Cool, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*i1KQ6F7p5P4pGNtW.jpg" /></figure><p>Now let’s talk about the king of generation — the GAN, which stands for Generative Adversarial Networks. This is like a friendly AI battle between two networks — one is the Generator, which keeps trying to create fake data (like a fake image), and the other is the Discriminator, which tries to catch whether it’s fake or real. The more they fight, the better the Generator becomes — until the Discriminator can’t even tell the difference anymore. That’s how we get such real-looking AI-generated faces, art, and more.</p><p>Then comes Conditional GANs — these are like smart GANs with a condition. Let’s say you don’t just want any cat image, but a sleepy brown cat under a blanket. Conditional GANs take that condition as input — kind of like a prompt — and generate exactly what you’re looking for.</p><p>There’s also something called CycleGAN. Imagine you want to convert a horse image into a zebra, but the model doesn’t exactly know the difference between horse, donkey, or zebra — they kinda look similar, right? So CycleGAN will go back and forth, again and again, refining the transformation until it gets the right conversion. That loop is called cycle consistency, and that’s what makes CycleGAN so good at style transformations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*VjAlr9w5RiQ8SD44.jpg" /></figure><p>Now earlier, I mentioned something called the Latent Vector or Latent Space — let’s quickly revisit that. This is basically the tiny compressed version of your data — like the soul of an image. It could contain just a few meaningful values like skin tone, lighting, color shades, and based on those, the model tries to recreate or even generate new images. It’s like having the recipe instead of the full cake — and then baking your own version!</p><p>NLP means Natural Language Processing. We use it a lot in Deep Learning — like when we chat with AI, do Google searches, or type messages.</p><p>Let’s take a sentence — “The movie was fantastic!”</p><p>First, it breaks the sentence into words using tokenization. Then each word is converted into numbers using embeddings. These numbers go through the Transformer model (which we already learned earlier), and it understands the meaning and gives the right output. Most of the heavy work like embeddings and transformers is already done by models like BERT or Word2Vec. If you’re curious, just Google “how tokenization works” — a small exercise for you. That’s how simple NLP works!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*OywVPQURNnHbiJFS.jpg" /></figure><p>Until then, happy learning! 😊</p><p>And hey — if you ever have any questions about anything I’ve shared here, or if there’s something different you want to learn, just <a href="https://aistudents.blogspot.com/p/contact-us.html">DM me directly</a>. No formalities needed! Just hit me up through my contact, and I’ll genuinely try to help with all my heart. I’m always open-minded and here to support you in your learning journey. 💬❤️</p><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2025/08/dl.html"><em>https://aistudents.blogspot.com</em></a><em> on August 8, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22d764252ba7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neural Networks — How AI Starts Thinking!]]></title>
            <link>https://medium.com/@karanchrish/neural-networks-how-ai-starts-thinking-485ed7a8f053?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/485ed7a8f053</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[rnn]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[cnn]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Tue, 22 Jul 2025 08:07:33 GMT</pubDate>
            <atom:updated>2025-07-22T08:15:06.980Z</atom:updated>
            <content:encoded><![CDATA[<h3>Neural Networks — How AI Starts Thinking!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*BvRd5f2supXy-f9h.jpg" /></figure><p>In today’s blog, we’re diving into one of the most exciting and core ideas behind deep learning — Neural Networks.</p><p>We’ve all heard of “neurons” in biology, right? Those brain cell things. But now imagine something similar being used inside a computer! That’s right — neural networks in deep learning are inspired by the human brain, and that’s what helps AI “think” like us. Pretty interesting, right?</p><p><strong>🔍 What is a Neural Network?</strong></p><p>A neural network is a type of machine learning model inspired by how the human brain works. It’s not using real biological neurons, obviously — but it’s built on the idea of how we humans process information. These networks are made up of artificial neurons (also called nodes), and no, they don’t look like biological ones — but they serve a similar purpose in learning.</p><p>And what’s their main job?<br> To learn patterns in data.<br> Whether it’s an image, text, or raw sensor data — everything has its own pattern. Neural networks are designed to pick up on those patterns and learn from them.</p><p>We need to talk about the perceptron — the most basic unit in a neural network. What does it do? A perceptron takes in input, applies weights and bias, passes it through an activation function, and gives an output. That’s it. Simple but powerful. When we stack multiple perceptrons into layers, we get a <strong>multi-layer perceptron (MLP) </strong>— which is the basic structure in deep learning: Input Layer, Hidden Layers (can be many!), Output Layer. The more hidden layers, the “deeper” the learning. That’s why we call it deep learning.</p><p><strong>Firing the Neurons</strong></p><p>Activation functions decide whether a neuron should “fire” (i.e., send information to the next layer). They’re basically math functions that help the network understand and process data in complex ways.</p><p>Here are some common ones:</p><ul><li><strong>Sigmoid </strong>— Gives output between 0 and 1. Mostly used in binary classification.</li><li><strong>Tanh (Hyperbolic Tangent)</strong> — Output between -1 and 1. It’s like sigmoid but more balanced, but still suffers from something called vanishing gradient</li><li><strong>ReLU (Rectified Linear Unit) </strong>— Used often in image data. It gives better results and speeds up learning.</li><li><strong>Leaky ReLU</strong> — A better version of ReLU that solves the “dying neuron” problem when ReLU outputs zero too often.</li></ul><p>Ever heard of vanishing gradient? It sounds complex, but here’s the deal:</p><ul><li><strong>Gradient</strong> = the signal that tells a neuron how to adjust weights.</li><li><strong>Vanishing Gradient</strong> = the signal becomes too small (almost zero), so the network stops learning.</li><li><strong>Exploding Gradient</strong> = the signal becomes too big, and learning becomes unstable.</li></ul><p>We need the gradient to be just right — not too small, not too big. This is why activation functions and good design matter.</p><p>Now, let’s get to how learning happens.</p><p>There are three main steps:</p><ol><li><strong>Forward Propagation </strong>— The input data flows through the network, layer by layer, until we get a prediction/output.</li><li><strong>Loss Calculation</strong> — We check how far the prediction is from the actual result. That difference is called the loss or error.</li><li><strong>Backward Propagation</strong> — Here’s where the magic happens. We adjust the weights to reduce the error. This step goes backward through the network to improve it.</li></ol><p>This process keeps repeating until the network gets better and better at predicting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*meFbvs2AbFNEzsvX.jpg" /></figure><p>Yeah, until now we’ve got some good knowledge about Neural Networks. Now it’s time to dive a little deeper and understand how we actually train these networks. That’s where the real magic begins! To do that, we need to know a few important methods that help during training.</p><p>One of the most important things here is something called a <strong>Cost Function</strong> (also known as Loss Function). It’s nothing fancy — just a simple concept. It tells us how wrong the model’s prediction is. Based on this error, we can figure out how to adjust and improve the model. That’s the whole reason we use a cost function — it helps us learn from our mistakes.</p><p>Then we have something called <strong>Weight Initialization</strong>. See, we already know that the model keeps updating weights after every step, right? But how we start — what initial weights we give — matters a lot. If we give completely random weights without thinking, the training can go really bad. It may lead to something called exploding gradients, where values go out of control, or sometimes it becomes too slow to train. So we have to be smart here, and that’s why we use proper weight initialization methods.</p><p>Now, sometimes training takes forever or becomes unstable. To fix that, we use a technique called<strong> Batch Normalization</strong>. It helps the model train faster and better. And yeah, remember we also use Dropout and Regularization — we already saw that in our ML series. Dropout is like removing unwanted or unnecessary data during training. And regularization is just a way to control the model so it doesn’t overfit and mess up.</p><p>Okay, now comes one more concept — sounds big, but it’s simple: <strong>Internal Covariate Shift</strong>. It’s just a term that means the output from one layer becomes the input for the next layer, and that output keeps changing during training. That shift makes it hard for the model to learn. To reduce this shifting problem, again, we use Batch Normalization. It keeps things steady.</p><p>And then, there’s something called <strong>Early Stopping</strong>. Think of this like telling the model, “Okay, that’s enough learning!” Because if we let the model keep learning too much, it’ll start messing up by memorizing everything, which we don’t want. So we stop it at the right time to avoid overfitting.</p><p>Lastly, we’ve got something called<strong> Checkpointing</strong>. Training these models can take hours, sometimes even days. So imagine if something goes wrong in between — boom, everything’s gone! That’s why we save the model’s progress step by step using checkpoints. So even if it crashes, we don’t lose everything. We can start again from the last saved point. And yeah, that’s it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*P3lwRvIdXOJ7Fd9B.jpg" /></figure><p>Now we’re going to talk about one of the most important parts of deep learning — <strong>CNN</strong>. Why is it important? Because when we start working with images or videos, CNN becomes a major tool. Most people love visual stuff. I mean, let’s be real — raw data is kind of boring. But images and videos? That’s where things get exciting! So yeah, CNN is something you’ll definitely be interested in.</p><p>CNN stands for Convolutional Neural Network. It’s just another type of neural network, but this one is specially designed for working with image or spatial-related data. The cool part? CNNs automatically detect things like color, edges, shapes — all those patterns in the image. Then, they combine that information and try to understand what the image is saying. Pretty cool, right?</p><p>To understand CNNs better, we need to know a few operations that happen inside them. First, there’s something called a <strong>kernel</strong>. You can think of it like those filters we use on Instagram. Just like we apply a filter to highlight features in a photo, CNNs use these kernels to detect important features in the image, like edges or patterns. These kernels slide over the image and capture those details.</p><p>Then we’ve got <strong>padding</strong>. This is simple — it just means adding extra space around the image. Sometimes the image doesn’t fit perfectly during processing, especially when features are being extracted. So, padding helps by adding borders to the image so that all the operations go smoothly.</p><p>Next is stride. <strong>Stride </strong>decides how much the filter moves across the image. If the stride is 1, the filter moves slowly and captures a lot of small details. If the stride is 2 or more, it moves faster, so the process becomes quicker, but you might miss some fine details. So, it’s always a balance.</p><p>Now comes pooling.<strong> Pooling</strong> is used to simplify the data after feature extraction. We have two main types: max pooling and average pooling. Max pooling just picks the highest value from a region in the image, while average pooling takes the average. It’s like zooming out a bit to see the big picture while keeping the most important parts.</p><p>Another cool thing is <strong>parameter sharing</strong>. This is a bit different from how regular neural networks work. In normal neural networks, we update weights for every neuron separately. But in CNNs, we use the same filter across the whole image. That’s called parameter sharing. It helps speed up training and also improves how well the model works on different types of images.</p><p>Finally, we’ve got something called <strong>Transfer Learning</strong>. Now, if we try to build a CNN model from scratch, it’ll take a lot of time and data. Instead, we use models that are already trained on huge datasets. We just tweak them a little for our own project. This is called transfer learning. Some popular pre-trained models we use are ResNet, VGG, and a few others. They save time and still give great results.</p><p>And yeah, these are the main things you need to know about CNN. Once you get a feel for it, working with image data becomes super powerful and interesting!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*3AR1qYb9wpjb6O3u.jpg" /></figure><p>The next important concept we’re gonna talk about is <strong>RNN</strong>, which stands for Recurrent Neural Network. This one’s mainly used for sequential data, like text. You’ve probably noticed it when you’re typing something in Google — like you start with “I am looking…” and before you even finish, it starts giving suggestions like “I am looking for food” or “I am looking for travel destinations.” That’s RNN in action!</p><p>That’s all for now about RNN! But don’t worry — we’ve got some really exciting stuff coming up in the next blog. We’ll dive into how images are created using deep learning, how <strong>NLP (Natural Language Processing)</strong> works, and how <strong>GANs (Generative Adversarial Networks)</strong> can generate duplicate or even completely new images. It’s gonna be a super fun ride into some genius-level tech stuff!</p><p>Until then, happy learning! 😊</p><p>And hey — if you ever have any questions about anything I’ve shared here, or if there’s something different you want to learn, just <a href="https://aistudents.blogspot.com/p/contact-us.html">DM me directly</a>. No formalities needed! Just hit me up through my contact, and I’ll genuinely try to help with all my heart. I’m always open-minded and here to support you in your learning journey. 💬❤️</p><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2025/07/blog-post.html"><em>https://aistudents.blogspot.com</em></a><em> on July 22, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=485ed7a8f053" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Learning Decoded: The Way I See It]]></title>
            <link>https://medium.com/@karanchrish/deep-learning-decoded-the-way-i-see-it-9d9408d53b48?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d9408d53b48</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[gen-ai-tools]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Sun, 06 Jul 2025 17:19:58 GMT</pubDate>
            <atom:updated>2025-07-06T17:24:28.344Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*YWTW_VukRvapxUC8.jpg" /></figure><p>Yeah, in this blog, we’re going to look into what deep learning is.</p><p>But before that — if you’ve been following along, we’ve already seen a lot about machine learning. We’ve talked about what machine learning is, how it works, the math involved, and many more things in the last few blogs.</p><p>Now, we’re going a bit deeper — to understand deep learning, and why we moved to deep learning from machine learning.</p><p>So yeah, deep learning is a subset of <strong>machine learning</strong>, and machine learning is a subset of <strong>AI </strong>(Artificial Intelligence). It all falls under AI.</p><p>Deep learning is actually inspired by how <strong>our brain</strong> works — specifically the neural networks. The same concept is applied here in a technical way.</p><p>We mostly use deep learning to handle unstructured data like images, audio, text, and video. It processes these through multiple layers of neurons and gives us the output we need. That’s why deep learning is so useful.</p><p>Nowadays, we see deep learning everywhere — like in face unlock systems, self-driving cars, and many more real-life applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*5qTFhsJLl4g_uDzF.jpg" /></figure><p><strong>A Quick Intro to Neural Networks</strong></p><p>Before diving deeper, we need to understand what a neural network actually is.</p><p>We all know about neural networks from biology — how the brain has neurons connected to each other. In deep learning, we follow a similar idea, but in a mathematical form.</p><p>A neural network has layers made up of nodes (which are like neurons). These nodes are all connected. Every connection has something called a weight and a bias. There’s also a function called the activation function that decides whether a node should “fire” or not.</p><p>There are mainly three layers in a neural network:</p><ul><li>Input layer — where we give the raw data</li><li>Hidden layer(s) — where all the internal calculations happen using weights, bias, and math</li><li>Output layer — the final layer where we get the result</li></ul><p><strong>Can Neural Networks Understand Emotions?</strong></p><p>Now here’s something people often ask: I<strong>f neural networks don’t have feelings, how do they understand emotions?</strong></p><p>Well, it’s simple. Neural networks don’t actually feel emotions. What they do is learn patterns from emotional data.</p><p>For example, imagine — if we train it with a bunch of photos of people smiling, the model learns what a smile looks like: mouth shape, eye position, facial muscles, etc. It’s not feeling the smile, it’s just recognizing the pattern from data.</p><p><strong>What About Voice Data?</strong></p><p>Some of you might also wonder how deep learning works with voice input.</p><p>So here’s how it goes: when we talk, our voice is raw audio. This goes into the microphone, and then something called <strong>sampling</strong> is used.</p><p>Sampling is the process where the microphone captures tiny snapshots of your voice — thousands of times per second. These <strong>snapshots</strong> are turned into numbers, because computers only understand binary numbers (0s and 1s).</p><p>After that, the model checks certain features of your voice like Pitch (high or low), Tempo (fast or slow), Energy (how strongly you speak), Frequency (the sound waves).</p><p>Using these, the model can predict the emotion or mood behind your speech — even though it doesn’t feel anything. It just matches the voice features with patterns it has already learned.</p><p>And yeah, if you’re still wondering <strong>what is sampling exactly?</strong>, it’s nothing but the process of converting sound signals into digital format. It captures thousands of points from your sound wave every second and converts that into numerical data the machine can understand.</p><p>Now yeah, let’s take another note here.</p><p>We just talked about how audio uses sampling, right? So, the next question is — what about images, videos, and other kinds of data?<br> Yeah, we’ve got sampling methods for those too. But each one has a slightly different process.</p><p><strong>Sampling in Images</strong></p><p>For images, we use a process known as <strong>aka pixelization</strong>.<br> Basically, images are converted into tiny square-like units called pixels. Each pixel contains information — like its color value, brightness, and position.</p><p>For example, if a pixel has RGB values of (0, 0, 0), it means it’s black. If the values are all high, it means it’s a white or bright pixel. This way, each pixel represents a part of the image.</p><p>Even a simple picture may have more than 10,000 pixels. And yeah, using all those pixels, the model learns how a face looks — like where the eyes are, how the nose is shaped, what a smile looks like, and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*RAX3uYi9DCzgbulk.jpg" /></figure><p><strong>Sampling in Videos</strong></p><p>Now, when it comes to videos, it’s actually pretty similar to images.</p><p>A video is made up of frames. Depending on the quality, it might have 24 to 60 frames per second. Each frame is basically a still image. So, the video is like a bunch of images played quickly one after another.</p><p>Each frame is processed just like we do with images — using the same pixel sampling methods we talked about above. And yeah, this is how video data is handled.</p><p>For this, we mainly use models like <strong>CNN </strong>(Convolutional Neural Networks). These are especially good for understanding image and video data.</p><p><strong>Sampling in Text</strong></p><p>Now let’s talk about text.</p><p>In text, we also use sampling — but in a different form. You might have seen this in machine learning or NLP (Natural Language Processing).</p><p>Some of the <strong>common methods</strong> used are One-hot encoding, Word embeddings, Tokenization.</p><p>We also use sentiment analysis to understand the emotions behind text. And I think if you’ve already read my ML blog posts, you might be familiar with these terms.</p><p><strong>Sampling in Sensor or IoT Data</strong></p><p>Now here’s something many people aren’t aware of — sensor data, like from IoT devices. This type of data also uses sampling, but again, in a slightly different way.</p><p>Why? Because this data is time series data.</p><p>It collects values every few seconds or even milliseconds. For example, a heart rate monitor might track beats per second. It uses sensors like accelerometers to measure movements or changes in direction. This is very common in fitness trackers and smartwatches.</p><p>We’ll talk about this in more detail later. I don’t want to bore you with too much at once. 😅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/0*La6ptekobUN2g3B5.jpg" /></figure><p>Before wrapping up this part, let me tell you — most people only started hearing about AI, ML, and DL after 2019, but the concept of neural networks actually began way back in 1943. Yeah, seriously!</p><p>If you’re curious, just Google a bit about it. Check what happened in 1956, when the term <strong>“neural networks”</strong> was introduced, and how it all began. You’ll find a lot of interesting stuff out there.</p><p>Now yeah, next we’ll move on to something interesting — why deep learning is used so much these days. The answer is pretty simple: it has so many real-world applications. Deep learning is used in areas like computer vision, NLP, speech recognition, and many more. Let’s just go through them one by one.</p><p>In <strong>computer vision</strong>, deep learning is what allows machines to see and understand images or videos. Just think of it like giving a machine eyes and the brain to process what it sees. In <strong>NLP</strong>, it helps machines read, understand, and generate human language — both written and spoken. And in speech and audio processing, it helps machines understand spoken words, follow patterns in audio, and even generate speech like how assistants talk to us.</p><p>Apart from these, deep learning is also used in many other areas and <strong>cross-domains</strong> like robotics, healthcare, finance, architecture, education, and a lot more. So yeah, deep learning is kind of everywhere now.</p><p>Before we move forward, let’s look at a small concept — not going too deep into it — but just to give you an idea of how math is used in deep learning. We already saw this a little bit earlier, but here’s a quick summary of how it’s integrated.</p><p>First, we have <strong>linear algebra</strong>. We use this in many parts of deep learning, especially in handling input data and doing calculations for weights and biases. It’s also used in dot product, matrix multiplication, and in models like CNN. Linear algebra helps reduce dimensions of large data and is a major part of the backpropagation process too. So yeah, wherever you see grids, matrices, or big calculations — linear algebra is behind it.</p><p>Then comes <strong>probability.</strong> Since AI is basically about decision-making and predicting outcomes, probability is obviously a core part of it. It helps the model make the best possible guess based on what it has learned from data.</p><p>And yeah, if probability is there, then obviously we also need <strong>calculus</strong>. Calculus deals with how things change, and in deep learning, we use it to understand how the model’s output changes when we adjust weights. It plays a big role in optimization and also shows up during backpropagation. It’s basically helping the model learn and get better with each step.</p><p>So these are the main math topics used in deep learning. We don’t need to go any deeper right now — this much is enough for now to understand the connection between DL and math.</p><p>Now, another thing people often ask is: “<strong>We hear all these terms</strong> — DL, ML, Gen AI, LLM, LLaMA, GPT, Gemini, Lambda — what are all these and what’s the difference?” Let’s break this down in the simplest way possible.</p><p><strong>AI </strong>is the main thing. If something behaves like a human — makes decisions, responds intelligently, or solves problems — we call it AI. Inside AI, we have a subset called ML, which means machine learning. ML is all about learning from data. It doesn’t just follow fixed rules — it learns from past examples and improves.</p><p>Now inside <strong>ML</strong>, we have another subset called DL — deep learning. Deep learning uses more complex layers and models to find patterns in big data. So yeah, <strong>DL </strong>is not directly under AI, but under ML, which itself is under AI.</p><p>Now let’s talk about <strong>LLM</strong>, which means Large Language Model. LLM is a type of deep learning model, and it’s used for tasks like chatting, writing, translating, answering questions — anything that has to do with language.</p><p>Then we have <strong>Gen AI</strong>, or Generative AI. This is not a model, but more like a concept. It means using AI to generate new content, like text, images, music, etc. And yes, Gen AI uses LLMs to do that job.</p><p>Now all these names — GPT, LLaMA, Lambda, Gemini — they are just different LLMs. Just like how Asia is a continent, and inside it you have countries like India, China, Japan — LLM is like the continent, and these models (GPT, LLaMA, etc.) are the countries inside it. They are just different versions of LLM, developed by different companies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*L822cnS8LuKVjJ9L.jpg" /></figure><p><strong>So yeah</strong>, I think now you’ve got a full basic idea of what DL is, where it’s used, how math supports it, and how it connects with all these other fancy AI terms. Now you can easily say, “Yeah, I know what deep learning is. I know how it works and where it fits in.”</p><p>This is all for now about deep learning. From the next blog, we’ll go a little deeper — we’ll look at how these models like CNN, RNN, and Transformers actually work in practice. That’ll be even more fun.</p><p>Until then,<strong> happy learning!</strong></p><p>For Study Material or anyother, contact me directly (<a href="https://www.blogger.com/blog/post/edit/7719191603594875637/1867094986205762794#"><strong>Click Here</strong></a>)</p><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2025/07/DL.html"><em>https://aistudents.blogspot.com</em></a><em> on July 6, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d9408d53b48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Real-Time PCOD Detection using Machine Learning — Turning Theory into Practice!]]></title>
            <link>https://medium.com/@karanchrish/real-time-pcod-detection-using-machine-learning-turning-theory-into-practice-0ab29b517e78?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ab29b517e78</guid>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Wed, 02 Jul 2025 03:21:58 GMT</pubDate>
            <atom:updated>2025-07-02T03:25:52.921Z</atom:updated>
            <content:encoded><![CDATA[<h3>Real-Time PCOD Detection using Machine Learning — Turning Theory into Practice!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*3LSB8lPEhHEJuuNa.jpg" /></figure><p>Yeah, this is my ML project based on PCOS detection. You know right, in our world, girls are facing so many issues, especially when it comes to health. One of the most painful things they face is period pain. And when PCOS is added to that, it becomes even worse. Some can’t even handle the pain, they go through a lot — but no one really sees that.</p><p>So I just thought — if I was a doctor, maybe I could help by giving free treatment to them. But I’m not. I’m just an engineer. But still, I felt like I should do something from my side. Whatever I know, I should try to give that back. That’s why I thought of doing this project.</p><p>This project won’t give a proper medical result or final answer, but it will help girls to know whether there is a chance of having PCOS or not. It’s just for awareness. If it shows a possible risk, they can go and check with a doctor and confirm it. Sometimes, just knowing early can help, right?</p><p>So yeah, this project is for that. I’ve divided this project into 6 small sections, and I’ll explain everything clearly, step by step. You don’t need any big technical background to understand this — I’ll explain it in my way, just like how I talk. So just keep reading and let’s go through it together.</p><p><strong>Let’s start with the first part of our project — Data Preprocessing.</strong></p><p>Yeah, in this part, as usual, I’ve done all the basic things like importing the required libraries and the dataset. After that, I cleaned up the data by dropping unnecessary columns and renaming the column names, because some of them were mismatched and didn’t look professional. So I made them neat and clean.</p><p>Then I converted the categorical data into numerical form, which is important because machine learning models don’t understand text. I also replaced the “<strong>Not a Number</strong>” values (NaN) using median values, and converted the data types wherever needed.</p><p>One more small step I did was removing spaces from column names, just to make it look cleaner and easier to work with in the upcoming steps.</p><p>These are all simple but important steps in data preprocessing, and I’ve explained everything clearly with code snippets. Just scroll down to see a bit of the code and output. And if you want the full code, it’s available on my <a href="https://github.com/Karanchrish/PCOD"><strong>GitHub page</strong></a> — free to use for any learning or educational purpose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*ow7AoEalzVXrNgq7.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*SRIjEfom4R9q9TCc.png" /></figure><p><strong>Now we move to the second step of our project — Exploratory Data Analysis (EDA).</strong></p><p>So yeah, EDA is all about understanding the data more deeply before building the model. In this step, I just explored the data to get some insights — like which features are important, how they are connected, and how they’re distributed.</p><p>First, I did a categorical feature analysis using bar plots. These helped me see how the categories relate to the target column. I also grouped similar categories to make the data clearer and more organized.<br>Then I moved on to numerical feature analysis. For that, I used histograms to check the distribution of the values. This gave me an idea about how the data is spread — whether it’s skewed, balanced, or has any patterns.</p><p>After that, I did a correlation analysis using a <strong>heatmap</strong>. This part was really useful. It helped me see how strongly the features are related to each other and also with the target column. Because later, when we split the data into X and Y for training and testing, we need to know which features actually matter — and correlation helps a lot with that.</p><p>In real-time data, things can behave differently, so doing this step properly is really important.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*Qn9xZ-sipUO7N-fR.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*QLzegbavYXYx_-s8.png" /></figure><p><strong>Now we move to the next step — Feature Engineering!</strong></p><p>Or in simple terms, let’s just call it Feature Selection. Because yeah, not all features in our dataset are useful — we need to pick only the important ones.</p><p>Think about it… our data might have a lot of columns — maybe 20, 30, or even more. But when a real person uses this model, they won’t know every detail. No one knows their every health metric, right? Most people just know their age, weight, height, marital status, pregnancy status, and some details like their period cycle. These are common and easy-to-know features.</p><p>So I selected only the meaningful features from the data — these become our X values (input). And the target column (whether they might have PCOS or not) becomes our Y value (output).</p><p>After that, I split the dataset into training and testing sets using a 70:30 ratio — 70% of the data is used to train the model, and 30% is used to test how well the model is working.</p><p>And that’s how Feature Engineering works in this project. Simple, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/0*Fg-8Xm5ZFKI2KPsp.png" /></figure><p><strong>Now comes our fourth step — Model Building!</strong></p><p>Okay, this part is where things got a little crazy — in a good way!</p><p>You know, when we build a machine learning model, we can’t just pick one and say “Yeah, this is the one.” Because sometimes that “one” will completely mess up — either it’ll underfit or overfit or just act too smart without giving real results. So, like choosing the right outfit for the right event, I tried on a few. Actually, seven different models. 😅</p><p>I started off with good old <strong>Logistic Regression</strong>. It worked fine, gave decent accuracy, but… it kinda panicked when I gave it categorical data. It just couldn’t handle it well, and the model started overfitting. I thought, okay, let’s swipe left and move on.</p><p>Next, I tried KNN — <strong>K-Nearest Neighbors</strong>. It looked nice on paper, but when I actually used it, it was super slow, and again, overfitting! I didn’t have the patience to deal with that much lag, so I moved again.</p><p>Then came SVC — <strong>Support Vector Classifier</strong>. This one had potential, but the training time was a killer and the overfitting still didn’t stop haunting me.</p><p>So, I turned to the <strong>Decision Tree</strong>. And finally, I felt something clicking! It was straightforward and gave good results. But the problem? It’s like a friend who always chooses one fixed path and refuses to explore. So it was time to meet its smarter cousin…</p><p><strong>Random Forest</strong> — this one felt like a game-changer. Instead of just one path, it uses multiple decision trees and then mixes their answers. I was finally getting some stable, strong results. But being the curious mind I am, I thought, “Why stop here?”</p><p>So I introduced my model to XGBoost — basically, this model is a boosting genius. It takes errors seriously and keeps learning. And yeah, results were nice. But then… I thought, “Wait, why not take the best of both worlds?” — Random Forest + Boosting? That’s where <strong>XGBRF</strong> came in. This model boosted my Random Forest and honestly, I was impressed. The accuracy, the stability — it felt right.</p><p>And when I thought I had found the one, I stumbled on <strong>CatBoost Classifier</strong>. I was reading an article on Medium, and it popped up. I tried it just for fun, and surprise — even better handling of categorical data, and it matched the performance of XGBRF.</p><p>So yeah, I finally narrowed it down to XGBRF and CatBoost. These two models truly understood the vibe of my dataset. They weren’t overconfident, didn’t overfit, and stayed smart with training speed.<br>Also, if you’re wondering what this whole “boosting” and “bagging” thing is — don’t worry. I’ve already written about it in my earlier blogs in the simplest way possible. If you go and check those out, all this will make sense like pieces of a puzzle falling into place. 🧩</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*5T8DhFxTYc0szI_I.png" /></figure><p><strong>📊 Step 5: Model Evaluation — The Surprise Plot Twist 🎉</strong></p><p>So this part really shocked me. I had tried all those fancy models with full confidence — Random Forest, XGBRF, everything boosted and bagged nicely. And just out of curiosity (literally after reading one article 😅), I threw CatBoost into the mix. I didn’t expect much, honestly. It was like casually inviting someone to a party you already planned — but guess what? <strong>CatBoost</strong> stole the show!</p><p>When I started evaluating the models using a <strong>confusion matrix</strong>, I couldn’t believe my eyes. All the models did decently well, sure. But CatBoost? It just stood out. Smooth handling, strong accuracy, and minimal errors. It matched, and in some cases even outperformed, my well-trained XGBRF model. And here’s the twist — CatBoost was the simplest model I applied.</p><p>So yeah, no drama — I finalized CatBoost as the model for my project. Sometimes the unexpected ones just fit best. 💫</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*jCKghHOe4BCFwua_.png" /></figure><p><strong>Model Deployment — And We’re Live! 🌍</strong></p><p>Yeah, we finally made it to the end — model deployment! I converted my final CatBoost model into a <strong>.joblib</strong> file, plugged it into a neat little Flask app, and boom! I deployed it for free using Render. And guess what? It’s live now — ready to predict, support, and maybe even change someone’s life a little. 💡</p><p>You can check it out right away — I’ve shared my GitHub link above, which includes the full code, project structure, and all the study materials I’ve used and built through this blog series. Use it however you want — it’s all there to help you learn and grow.</p><p>And hey, remember where we started? From zero — learning what machine learning even means, understanding math (even though it made us sleepy 😅), exploring supervised and unsupervised learning, and now? You’ve seen how an actual ML project works — end to end.</p><p>It’s okay if it takes you a month or two. Learn at your own pace, bit by bit. And one day, I promise, you’ll build something even better than this. Just don’t stop. Keep going.</p><p>And yeah — get ready, because in the next blog, we’ll move to our next big learning journey. More real-world projects, deep dives, and some seriously cool stuff.</p><p>Until then, happy learning, and don’t forget — your spark is enough to light up something big. 🔥</p><p>Conttact me ( <a href="https://aistudents.blogspot.com/p/contact-us.html">Click Here </a>)</p><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2025/07/PCOS.html"><em>https://aistudents.blogspot.com</em></a><em> on July 2, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ab29b517e78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Like Humans, Thinking Like Teams: The Power of RL, Ensembles]]></title>
            <link>https://medium.com/@karanchrish/learning-like-humans-thinking-like-teams-the-power-of-rl-ensembles-1336b96d785b?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/1336b96d785b</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[ensemble-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Mon, 30 Jun 2025 15:32:32 GMT</pubDate>
            <atom:updated>2025-06-30T15:36:23.630Z</atom:updated>
            <content:encoded><![CDATA[<p>Yeah, we are moving to another blog, and this is Part 4 of our learning series. Before going into this, I just recommend you to read our old blogs, especially the last one where we covered supervised and unsupervised learning, and even before that, we have seen how math is involved in machine learning. Now we are entering into something different — the real power behind machine learning. That is Reinforcement Learning and Ensemble Learning. These concepts are very important, but I have seen many people skip this part. Even in many YouTube videos or some course materials, they just mention it and move on. Because these concepts are slightly tough when compared to supervised or unsupervised learning. So they leave it for us to learn by ourselves. That’s why I’m writing this blog in the simplest way possible. This will give you a clear picture about how machines learn like humans, how they make decisions, and how teams of models can solve a single task better than one model. So let’s go into it and understand it step by step in our own way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/266/0*HmIuSvU90Zujet9z.png" /></figure><p>Yeah, now we are going to see about one of the most important topics in Reinforcement Learning, — <strong>Markov Decision Process </strong>(MDP). It’s nothing but a mathematical framework used to help machines make decisions step-by-step. Just imagine like this — a robot is inside a room, and its main goal is to reach the exit without hitting any obstacles. For every right step it takes, it gets a reward. That’s what reinforcement learning is all about — learning by doing and getting rewarded or punished for it.</p><p>Then we have the Value Function and the <strong>Bellman Equation</strong>. Both are used to predict future rewards. But Bellman is the main hero here — it helps to calculate the best expected reward for each step. It’s like the brain behind reinforcement learning. Now comes two more powerful concepts: Q-Learning is used to learn the best action in each situation. Like in a chess game or maze game. But Q-learning is limited to smaller environments since it stores values in a fixed table. But Deep Q-Networks (DQN) are more advanced. Instead of storing things in a table, they use neural networks, so they can handle big environments like video games or self-driving simulations. For example, Google Maps uses something like this to find the best path — even if the map keeps changing.</p><p>Both <strong>Q-Learning </strong>and<strong> DQN</strong> are powered by the Bellman Equation, because it’s what helps them learn the best action from every state. Now we also have Policy Iteration and Value Iteration. Policy Iteration is like playing a video game where you follow certain rules and repeat the same steps to get better. In Value Iteration: It updates the best policy step-by-step. Like how Google Maps keeps improving your route in real-time based on traffic updates. In this, math plays a hidden but powerful role — especially probability. That’s why we learned about probability in our last blog. Now you can see how it’s tightly connected! What we once felt tough in math is now our super tool in RL. Cool, no?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*B7kPtN2bjjboPbUC.png" /></figure><p>We are now in the next most powerful concept — <strong>Ensemble Learning.</strong></p><p>Before we start, let me say why I’m adding Ensemble Learning along with Reinforcement in the same blog. Because this is where the real magic of decision-making comes together. It’s not just a single brain, it’s a teamwork of models working like a squad. So yes, this deserves its space.</p><p>Now let’s move in. We have two main heroes in Ensemble Learning: Bagging and Boosting.</p><p>You don’t need a textbook to understand this — just imagine asking 10 of your friends to study your whole syllabus. Each one of them reads it in their own way. Everyone makes mistakes, but when you collect all of their answers, it becomes a strong version. That’s <strong>Bagging</strong> — multiple models working in parallel, combining their outputs to give a strong prediction. But <strong>Boosting</strong> is different. Think like this — one friend starts reading, makes mistakes. The next friend studies by correcting those mistakes and continues. The next corrects again and goes further. It’s a chain. By the end, the final version is perfected by learning from past errors. That’s Boosting.</p><p>Now to the deeper side — Bagging helps reduce variance (overfitting) and Boosting helps reduce bias (underfitting). Bagging works in parallel, so it’s faster. Boosting is slower, but more focused.</p><p>The R<strong>andom Forest </strong>is the most famous Bagging algorithm. It’s built on Decision Trees, combining multiple trees to give a final, solid prediction.</p><p>AdaBoost uses something called decision stumps — which are just simple two-split trees focusing on important features. Gradient Boosting is more mathematical — it uses the Gradient Descent algorithm to continuously reduce the error and improve step-by-step. So see? This is why we learned about Gradient Descent earlier. You can now connect all those pieces together. That’s the beauty of learning in layers.</p><p>Then comes the next player: <strong>Stacking</strong>.</p><p>Stacking is very interesting — imagine 10 expert movie reviewers each writing their opinions. One likes acting, another likes screenplay, one notes direction, another notices background music. Now, you as the final person read all their reviews and give your own final decision based on their strengths. That’s Stacking — a model that learns from other models’ outputs and gives a final prediction.</p><p>And now, we’ve come to the end of our blog — this wraps up our ML Theoretical Learning Series! From the basics to core models, we’ve covered almost everything you need to understand machine learning. In the next part, we’ll dive into a real-time project — how to build it, how to deploy it, and every step in between. Trust me, it’s going to be more exciting than theory!</p><p>Thanks a lot for reading and following along. Don’t stop here — we’re going to extend our learning series into Deep Learning, AI, Blockchain, and even into the core of metaverse! We’ll also start DSA (Data Structures and Algorithms) to strengthen your problem-solving mindset.</p><p>So stay connected, keep learning, and yeah — happy learning always! 🚀</p><p>For Study Materials Contant Me ( <a href="https://aistudents.blogspot.com/p/contact-us.html">Click Me </a>)</p><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2025/06/machine%20learning.html"><em>https://aistudents.blogspot.com</em></a><em> on June 30, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1336b96d785b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Data to Decisions: How Data Meets Machine Learning Models]]></title>
            <link>https://medium.com/@karanchrish/from-data-to-decisions-how-data-meets-machine-learning-models-ee1eff8baa6d?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee1eff8baa6d</guid>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[supervised-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[unsupervised-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Sat, 28 Jun 2025 04:39:26 GMT</pubDate>
            <atom:updated>2025-06-28T04:39:26.778Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*Cj7E2u5DxGH2qQ0q.jpg" /></figure><p>📝 Before diving into this, make sure you’ve checked out my previous blogs — especially the one on how math is used in Machine Learning and the basics of ML. This is Part 3 of our full ML learning series, and it’s all going to start connecting now!</p><p>Let’s move into the next big topic in ML — Data Processing. This is one of the most important steps in building any ML model. If your data is not clean, your model won’t be accurate</p><p>The first step in <strong>data processing</strong> is cleaning the data. Think of it like cleaning your room before inviting a guest — you remove the noise, fix the errors, and make it usable.Imagine you’re building a model to predict student results, and some rows have missing marks. You either remove those rows or fill them with an average — that’s data cleaning.</p><p><strong>Feature Engineering</strong> means creating and modifying the features (columns) in your data to improve the model’s performance. We do things like:</p><p>Encoding categorical data : Use <strong>Label Encoding</strong> to convert names like “Male” and “Female” into 0 and 1. Use <strong>One-Hot Encoding</strong> to turn “Red”, “Blue”, “Green” into three separate binary columns. <strong>Normalization</strong> It rescales numerical data between 0 and 1 and <strong>Standardization</strong> It transforms data using the mean and standard deviation</p><p><strong>Outliers</strong> are data points that are very different from the rest — they can badly affect your model. One popular method to detect them is the IQR Method (Interquartile Range). In student marks, if most students score between 40–80 but one student has 5 marks or 100 marks, they may are outliers</p><p>When your dataset has too many features (like 1000+), it becomes heavy and hard to train. We use <strong>dimensionality reduction</strong> techniques to reduce the number of features while keeping the meaning. The most used method is PCA (Principal Component Analysis). It reduces, for example, 1000 features to 100, but the meaning of data remains the same. Remember our previous blog about Linear Algebra? Yep — PCA uses eigenvectors and matrices from linear algebra! Now you can connect both blogs. That’s why I explained math first — it all makes sense now, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/0*lqN63IUUwt32IQCB.jpg" /></figure><p>Now we move to the next concept: Supervised Learning. I don’t want to bore you again by repeating “what is supervised learning?” or “what is regression and classification?” — Because you already know those basics from my earlier blogs. Now we’ll dive deeper 🔍 into how supervised learning actually works.</p><p>In regression, we have two main concepts Gradient Descent and Cost Function</p><p><strong>Gradient Descent</strong> is the heart of most machine learning models. Just imagine you’re walking down a hill blindfolded — you take small steps and slowly reach the lowest point. That’s what gradient descent does — it keeps updating the model to reach the lowest error (loss).</p><p><strong>Cost Function</strong> is how we measure the error between predicted and actual output. The most used cost functions in regression are MSE (Mean Squared Error) and MAE (Mean Absolute Error).</p><p>In classification, we often use logistic regression, which includes, Sigmoid Function which converts any value into a probability between 0 and 1. Binary Cross-Entropy which is the cost function for classification problems. It tells us how far the predicted probability is from the actual label.</p><p>A decision tree splits data into branches based on conditions (if-else style). Random Forest is a collection of many decision trees combined. It uses ensemble learning, but we’ll explore that in the next blog — so we’ll keep it aside for now. Support Vector Machine (SVM) tries to draw a line (or hyperplane) that separates different classes as cleanly as possible.</p><p><strong>Bias-Variance Trade-Of</strong> is an important concept that helps us understand how well our model is learning. Too much bias leads to underfitting due to wrong assumptions and too much variance leads to overfitting this due to sensitivity to training data. But our goal is to balance them — a good model has low bias and low variance. Sometimes our model learns too well and starts overfitting. To prevent that, we use regularization. Lasso (L1) → Can remove some features by reducing their weight to zero. Ridge (L2) → Reduces the impact of less important features but doesn’t remove them. It’s like giving less priority to unnecessary subjects while studying for a competitive exam.</p><p>We use optimization to minimize loss (error) — and we already saw this in gradient descent. Convex functions are smooth curves with one minimum point. This helps gradient descent not get stuck in the wrong place (local minima). So now you can relate everything — from gradient descent to math to model building. See? Math isn’t boring when you know what it’s doing!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/0*R9P-Y1zILpeLPgXF.jpg" /></figure><p>Now we are moving to Unsupervised Learning. As I said earlier, we’re not going to waste time explaining “What is Unsupervised Learning?” again — we’ve already covered it. Let’s dive directly into the main concepts and understand the depth of it.</p><p>Imagine you’re grouping people in India based on their food habits. Without knowing their region or name, just based on behavior — like whether they eat rice, chapati, spicy food, etc., you can guess their region — South, North, West. That’s what <strong>K-Means</strong> does — groups similar data automatically. It keeps updating the centers (called centroids) until the groups are as accurate as possible.</p><p>Let’s say you’re organizing your Google Drive. First, you have big folders like “Work” and “College.” Inside “College,” you have folders for each semester, and inside that, you have subjects. That’s <strong>hierarchical </strong>— a top-to-bottom grouping. There are two approaches: Agglomerative (bottom-up): Start with individual data points and group them. Divisive (top-down): Start with everything in one cluster and break it down.</p><p>We’ve already covered dimensionality reduction earlier — and how PCA (Principal Component Analysis) works. You already know this. Math behind PCA? Already covered — you can now go back and relate your linear algebra knowledge here — especially eigenvectors and matrix multiplication. ✅ Just one task for you: Google “PCA formula” and relate what you see with what we’ve learned so far.</p><p>Yeah, now we’re almost at the end of this blog. We’ve learned a lot about ML till now — from supervised to unsupervised learning. But wait, before we move to reinforcement learning, ensemble methods, and neural networks in the next blog, one thing is super important — how do we know our model is working properly? That’s where evaluation metrics come in.</p><p>There are mainly two types: Classification metrics and Regression metrics. <strong>Classification metrics</strong> are used when our model is saying “Yes or No”, “Cat or Dog”, like that — it’s deciding between classes. On the other side, <strong>Regression metrics</strong> are used when our model is predicting numbers — like salary prediction, temperature, marks, etc.</p><p>So in classification, we use:</p><ul><li>Accuracy — It tells how many predictions are correct out of all.</li><li>Precision — Out of all predicted positives, how many were actually positive?</li><li>Recall — Out of all actual positives, how many did we catch correctly?</li><li>F1 Score — It’s a balance between precision and recall, like a weighted average.</li></ul><p>In regression, we use:</p><ul><li>R2 Score — This tells how well our model is fitting. If it’s near 1, it’s great.</li><li>RMSE (Root Mean Squared Error) — Just tells the average error, but punishes big mistakes more.</li><li>MAE (Mean Absolute Error) — Tells average error in simpler form.</li><li>MAPE (Mean Absolute Percentage Error) — Tells the average percentage difference between predicted and actual.</li></ul><p>And now comes two cool techniques, <strong>Cross-validation</strong> — We split our data into multiple parts, train and test in rotation. So we know our model is stable and not just lucky once and <strong>Bootstrapping</strong> — This is like making many random samples from our data and testing again and again, to see how consistent our model is.</p><p>That’s all for this blog. Don’t worry — we are not stopping here. Just stay tuned, the real fun like reinforcement, ensemble and deep neural networks is coming up next!</p><p><a href="https://aistudents.blogspot.com/p/contact-us.html">Click here to Contact me for full materials</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee1eff8baa6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yeah! Math is Important in Machine Learning]]></title>
            <link>https://medium.com/@karanchrish/yeah-math-is-important-in-machine-learning-e7cad30d6fd9?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7cad30d6fd9</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Wed, 25 Jun 2025 16:23:41 GMT</pubDate>
            <atom:updated>2025-06-25T16:31:31.298Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*vhLefYIsr1F5gIz4.png" /></figure><p>We all know about Machine Learning. If you’re reading this, I believe you’ve already seen my previous blog, where I explained what Machine Learning is in a very basic and easy way. If not, I recommend checking it out first — it will give you a solid starting point and help you understand what we’re about to learn here.</p><p>In that blog, I also gave a complete roadmap on how to start learning ML. So before continuing here, take a quick look at it to get a clear picture of where you’re heading.</p><p>Now, let’s get into the first part of this learning series. In this blog, we’re going to explore how Math is used in Machine Learning. We’ll understand why Math is important, what types of Math are involved, and how it all connects to real ML models.</p><p>I’ll explain everything — even the toughest concepts — in a simple and beginner-friendly way. You don’t need to stress. Just spend the next 5 minutes reading, and I promise this will be super useful for your future.</p><p><strong>Linear Algebra in Machine Learning</strong></p><p>In this section, we are going to learn about Linear Algebra and how it is used in Machine Learning. Let’s begin with some basic concepts</p><p><strong>Vectors:</strong> These are nothing but features in a dataset. For example, if you have a dataset from a college, the features might include, Student ID, Admission type (Management or Counselling). These types of information are called features, and in linear algebra, they are treated as vectors.</p><p><strong>Matrix: </strong>When you bring all those features together across many students or staff, the entire dataset is represented as a matrix. Just imagine: a matrix = full table of data.</p><p><strong>Tensor:</strong> A tensor is an extension of vectors and matrices.It includes higher-dimensional data, like: Images (2D), Videos (3D), Audio files. Tensors are heavily used in deep learning.</p><p><strong>Addition:</strong> Used for combining features or predictions. For example, you might combine results from different models to make one final prediction.</p><p><strong>Multiplication:</strong> This is used when you pass data through layers in a neural network. It multiplies weights with input features. Multiplication is one of the core operations in Deep Learning.</p><p><strong>Transpose: </strong>Used during the Gradient Descent process — especially when we update weights and need to reverse rows and columns. We’ll cover Gradient Descent in detail later.</p><p><strong>Dot Product:</strong> It’s a type of multiplication used to measure similarity between two vectors. This is commonly used in Neural Networks.</p><p><strong>Cross Product:</strong> Used in Robotics and 3D animation — helps calculate directions between 3D vectors.</p><p><strong>Identity Matrix:</strong> This is a special type of matrix that acts like the number “1” in multiplication. If you multiply any matrix by the identity matrix, the output is the original matrix itself. It is used to preserve the values during certain ML calculations.</p><p><strong>Inverse Matrix: </strong>Inverse matrices are used in solving equations — especially in regression problems. For example, in linear regression, we use inverse matrices to calculate the best-fit line.</p><p><strong>Eigenvectors and Eigenvalues:</strong> These are used for dimensionality reduction. You’ll learn about PCA (Principal Component Analysis) later, which is based on this.</p><p><strong>Matrix Factorization:</strong> Used in hidden layers of deep learning models. This is an advanced concept but plays an important role in modern ML.</p><p><strong>Probability and Statistics in Machine Learning</strong></p><p>In this part, we’re going to learn about Probability and Statistics — two important concepts in Machine Learning.</p><p><strong>Probability Theory:</strong> In machine learning, we often deal with data that is not 100% certain. So, probability helps us make decisions when we are not fully sure — like guessing the next word, predicting whether it will rain, or whether an email is spam or not.</p><p><strong>Descriptive Statistics : </strong>Descriptive statistics helps us understand and summarize the data. It tells us what the data looks like before we even start building models. Some basic tools used here are: Mean, Median, Mode, Range, Variance and Standard Deviation. These are all used to analyze data before training models.</p><p><strong>Bayes’ Theorem:</strong> Bayes’ Theorem is used to update our beliefs based on new evidence. For example, let’s say a model has a certain belief based on old data. When new data comes in, Bayes’ Theorem helps update that belief. This is commonly used in email spam detection, disease prediction, etc.</p><p><strong>Gaussian Distribution (Normal Distribution):</strong> This is one of the most common data patterns in the world. It looks like a bell-shaped curve — most values fall near the center, and fewer values fall near the edges. Many ML models (especially regression) assume that data follows this shape.</p><p><strong>Standard Deviation &amp; Variance:</strong> These tell us how much the data is spread out. A low standard deviation means the data points are close to the average. A high standard deviation means the data points are spread out. This is useful when you’re checking for outliers or noisy data.</p><p><strong>Correlation &amp; Covariance:</strong> These help us understand the relationship between two variables. Correlation: shows how strongly two things are related (like height and weight). Covariance: tells us the direction of the relationship (positive or negative)</p><p><strong>Maximum Likelihood Estimation (MLE): </strong>MLE is used to find the best values in a model so it can explain the data properly. For example, when training a model, we try to find the weights or parameters that make the predictions most accurate — that’s what MLE does.</p><p><strong>Kullback–Leibler Divergence (KL Divergence):</strong> This is a bit more advanced. KL Divergence measures how different one probability distribution is from another. It is used in deep learning and probabilistic models when we want to compare actual vs. predicted distributions.</p><p><strong>Calculus in Machine Learning</strong></p><p>Now let’s talk about Calculus, another important part of Machine Learning — especially in training models like Neural Networks.</p><p><strong>Limits:</strong> Limits help us understand how a function behaves as it gets closer to a certain point. In ML, limits are used in concepts like gradients where we analyze small changes in data to optimize our model.</p><p><strong>Derivatives: </strong>A derivative tells us how fast something is changing. In Machine Learning, it is used to adjust the model’s parameters based on how the output is changing.</p><p><strong>Chain Rule: </strong>The chain rule helps us take the derivative of functions inside other functions. This is super important in Deep Learning, especially when we’re updating weights in different layers of a neural network. It helps the model learn from one layer to the next.</p><p><strong>Gradient Descent: </strong>Gradient Descent is the heart of training a machine learning model. It’s a method where we try to reduce the loss (error) step by step, by updating the weights of the model using derivatives. That’s what gradient descent does — it helps us move in the right direction to reduce the error.</p><p><strong>Backpropagation: </strong>Backpropagation is the process of updating weights in a neural network. It uses derivatives and chain rule to calculate how much each weight should change to reduce the error. This is how models learn from their mistakes.</p><p><strong>Final Takeaway</strong></p><p>Yeah, this blog might have made you feel a bit sleepy or even bored — because, yeah, it’s fully about math. Absolutely, math is one of the most irritating subjects for many of us. But the sweetness of math comes only when you know its real beauty. We are using math every day — without even realizing it. While we sleep, eat, or even watch movies, math is working silently in the background. We just don’t notice it. But it’s there — because the entire world is built on math. You can even say: “The world itself is a matrix.” So instead of running away from it, let’s welcome math with an open mind. You don’t need to learn every formula or technical definition. Just understand the concept — why it’s used, and how it connects with Machine Learning.</p><p>In this blog, I’ve shared many subtopics. Don’t try to remember everything now. Just understand what each topic means. That’s enough for now. You might’ve noticed I mentioned regression models earlier. If you’ve read my previous blog, then you can now easily connect how math is used in regression models. Try this: go to YouTube or Google and search “How does Linear Regression use math?” “How does Gradient Descent use calculus?” Watch a simple explanation and compare it with what you’ve learned here. Trust me, it’ll all start making sense now.</p><p>So yeah — this blog may have felt a bit heavy, but I’m damn sure the next ones won’t be boring! Because from here, we’ve finished the math part. 🎉 We are going to dive deep into real Machine Learning models now. You’ll enjoy that part a lot — I promise! So keep your notifications ON, and make sure to follow my page. I’ll be sharing more exciting content in upcoming blogs.</p><p><strong>See you in the next one! 🚀</strong></p><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2025/06/math%20in%20ML.html"><em>https://aistudents.blogspot.com</em></a><em> on June 25, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7cad30d6fd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Learn Machine Learning and What Is It?]]></title>
            <link>https://medium.com/@karanchrish/how-to-learn-machine-learning-and-what-is-it-ef18d5f4faa9?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef18d5f4faa9</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Thu, 19 Jun 2025 08:11:08 GMT</pubDate>
            <atom:updated>2025-06-19T09:17:32.781Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="https://aistudents.blogspot.com/2025/06/Machine%20learning.html" src="https://cdn-images-1.medium.com/max/1024/1*7owQadl_FCMoR4KikIAtPw.jpeg" /><figcaption>learn Machine Learning</figcaption></figure><p>The title of this blog is “How to Learn Machine Learning and What Is It?” I chose this title because today, there are so many resources available all over the world that people often feel overwhelmed, not knowing what exactly to learn or where to start. That’s why I want to share a clear idea of how to learn machine learning in a simple and structured way.</p><p>This blog also includes “What is Machine Learning?” because it’s important to understand the basics before diving into the learning process. Let’s begin with a real-life example. We experience machine learning in our daily routine, often without even realizing it. When we scroll through Instagram or watch videos on YouTube, we are seeing machine learning in action. These platforms use ML algorithms to suggest content based on our behavior. It has become a part of our daily habits. In fact, we are constantly using machine learning, whether we are aware of it or not.</p><p>Machine Learning is closely connected to Artificial Intelligence (AI). We’ll also look at how AI and ML are related and how they work together. Some readers might be thinking about their own learning path or courses and wondering how to begin. This blog is here to guide you through that. You’ll get a full step-by-step guide to learning machine learning from scratch.</p><h3>What is Machine Learning?</h3><p>Now, let’s talk about Machine Learning.</p><p>Don’t worry, I’m not going to bore you with textbook definitions. If you’re reading this article, I’m sure you already have some idea about what Machine Learning is, right? So instead of diving deep into theoretical explanations, I’ll keep it simple and to the point. Machine Learning (ML) is a subset of Artificial Intelligence (AI). We’ll learn more about AI later in the blog. ML allows systems to learn from data, and by practicing over and over, it can perform tasks in a human-like manner.</p><p>There are four main types of Machine Learning:</p><h4>1. Supervised Learning</h4><p>Supervised Learning is like the relationship between a teacher and a student. The teacher provides examples, and the student learns by practicing and recreating those examples. There are two common types in Supervised Learning is Regression and Classification.</p><h3>2. Unsupervised Learning</h3><p>In Unsupervised Learning, imagine you are in a place as a data scientist doing some task related to India — like mapping or grouping people across the country. Now, you don’t know anyone’s name, you don’t have their personal details, and there’s no labeled information. But you do have access to their culture, language, or behavior.</p><p>Using only that information, you start to group people — like identifying that someone is from the South, someone else is from the North, and so on. Even though you don’t have exact labels, you can still make groups based on similarities. That’s exactly how Unsupervised Learning works. You don’t know anything about the output, but by using patterns in the input data, like behavior or features, you can group similar things together.</p><p>This kind of learning comes under grouping, which is also called Clustering and Recommendation.</p><h4>3. Semi-Supervised Learning</h4><p>Semi-Supervised Learning is actually a better fit for the example I gave earlier — the M.Tech student who is doing a job full-time and studying part-time. He studies on his own, but when he has doubts, he can ask professors or get help. He has some support, but mostly he is learning independently.</p><h4>4. Reinforcement Learning</h4><p>Reinforcement Learning is learning through practice — just like how humans learn naturally. Think about how we learned to walk as kids. No one told us exactly how to do it. We fell, got back up, and tried again. Over time, we figured it out ourselves. That’s how reinforcement learning works.</p><h3>Why Should You Learn Machine Learning?</h3><p>First of all, we are using machine learning in our daily life without even realizing it. Almost everything we do on the internet has machine learning running in the background. For example, when you scroll through Instagram, the feeds you see are shown based on machine learning algorithms. The same happens on YouTube — the videos you’re recommended are based on your activity. Even the messages you send or the voice you speak — it reflects on the products shown on your Amazon homepage. This is all the result of machine learning. From voice recognition to recommendation systems, machine learning is behind the scenes.</p><p>That’s why we should learn about machine learning.</p><p>Most people — around 80% to 95% of the world — don’t know how machine learning works. It’s because they’re not aware of it. So, it’s important to create awareness. When people understand how machine learning works, they will also understand how to protect their personal information. Today, we are sharing our data everywhere — through ChatGPTs or other AI tools — but many don’t realize what’s happening in the background. Learning machine learning gives us that comfort zone, where we know how our data is being used.</p><p>Apart from awareness, machine learning also opens up huge job opportunities. In the next 5 to 10 years, ML and AI are going to rule the world. AI is the next big thing — even the metaverse is built on top of AI technologies. So, learning machine learning now means getting into a booming field early. It’s not too difficult to learn, and once you do, you can get high-paying jobs in various fields.</p><p>Machine learning is used in many industries — like healthcare, finance, and e-commerce. In healthcare, for example, I worked on a project related to PCOS (Polycystic Ovary Syndrome). I used a machine learning algorithm called CatBoost to help predict PCOS in females. If you’re interested, you can check out the project on my <a href="https://github.com/Karanchrish/">GitHub </a>— I’ve provided the link there.</p><p>And finally, for future purposes, ML is becoming a basic literacy for the tech world. The future is not just about machine learning — it’s about super-intelligent AI, and the base of all that is machine learning. So yes, learning machine learning is not optional anymore — it’s essential.</p><h3>How to Start Learning Machine Learning?</h3><p>First of all, if you’re a beginner, you need to understand the basics of machine learning. And I believe, if you’ve read this blog till now, it’s enough for you to say proudly, “Yes, I know the basics of machine learning.”</p><p>If you want to go deeper and learn more technical concepts, there are plenty of free materials available online. You don’t need to attend classes. You don’t need to pay for any subscriptions. And no, it’s not true that only people with a machine learning or AI degree can understand these concepts. In fact, learning from the internet — through blogs, videos, and even AI tools — can teach you more than a classroom.</p><p>There are many amazing resources out there. For example, DeepSeek is a great open-source tool where you can ask anything and find answers easily. You can also use YouTube to start learning — most videos are available in different regional languages, which makes it comfortable to learn in your own language.</p><p>After that, you can explore blogs. Around 98% of blogs are in English or other global languages, and you can use translation tools if needed. There are no limits to learning.</p><p>Now, before you dive deep into machine learning, you need to know two main things:</p><ol><li>Math</li><li>Python programming</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*Lc9V4voGQGpgs295.jpg" /><figcaption>Python</figcaption></figure><p>Python is the most important language right now, and it’s going to dominate the tech world for the next 10 years. Even in the last 5 years, Python has been everywhere — from web development to data science. Some companies may still hire for Java or C++, and that’s fine — they’re needed for some roles — but the future is clearly moving toward Python.</p><p>You can also explore R programming. It’s a statistical language and can help you understand math concepts better, especially if you’re focusing on analytics. If you want certification, try Coursera or Udemy. They also offer free courses and financial aid options, so you don’t have to worry about the cost.</p><p>“Don’t worry if you’re not a math genius. All you need is curiosity and consistency.”</p><p>Learning math for ML isn’t hard — you just need to know the basics, like how certain things work and why.</p><h3>Roadmap to Learn Machine Learning</h3><p>The first thing you should focus on is understanding the difference between AI, ML, and DL. Many people get confused here, so it’s important to know that. Once you know this difference clearly, the next step is to start learning the math concepts needed in machine learning like Linear Algebra, Probability and Statistics, Calculus.</p><p>These math topics are very important in ML, especially for understanding things like data processing, fine-tuning, and overfitting. But don’t just learn the formulas — try to understand how ML works through these math concepts. If you connect the math with real machine learning applications, it becomes very easy to understand.</p><p>After that, you need to learn how data is processed. Start with data preprocessing — this means cleaning the data, handling missing values, normalizing it, and making it ready for training. You can explore these concepts using open-source tools or tutorials online. Once you’re familiar with how data works, you can start building your own machine learning models. You can also learn how to evaluate your models using metrics like accuracy, precision, recall, and F1-score. This helps you understand whether your model is performing well or not.</p><p>Then, start practicing!</p><p>Once you’ve built a model, you can try deploying it using tools like Flask or Streamlit. These tools help you create a simple app to show your model’s results, without much effort. You can also look into latency-free solutions if you want to make your models faster and smoother.</p><p>Finally, one of the most important things in ML is finding the right dataset. If you want raw, unprocessed data, you can look for open data sources available across the internet. But if you want ready-to-use, cleaned datasets, just go to Kaggle. You can find almost any type of dataset there.</p><p>That’s all about the basic roadmap to learn machine learning. If you want to go even deeper, just start exploring — everything is out there and free to access.</p><h3>Is Math Needed in Machine Learning? How Does It Work?</h3><p>Yes, Math is very important in Machine Learning. But let me make one thing clear — you don’t need to be a math genius or study deep mathematics to get started.</p><p>What matters is understanding how math is used in machine learning. You don’t need to dive too deep. Just knowing the basics is enough in the beginning. You need to know how machine learning applies math in its concepts — that’s where the real understanding begins.</p><p>So yes, math is necessary — but not scary.</p><p>You don’t have to master them all at once. Take it step by step. These topics will help you build a strong foundation and give you the intuition behind how ML algorithms work. And as you keep practicing, things will make more sense. Also, while learning math, you’ll start to connect it with Data Structures and Algorithms — like Linked Lists, Arrays, and even competitive coding problems. Most logical problems in coding are based on mathematical thinking.</p><p>Only deep learning models need a deeper level of math. For most machine learning tasks, basic math is more than enough. So yes — Math is important in Machine Learning, but it’s nothing to be afraid of. Start slow, stay consistent, and you’ll get there!</p><h3>Final Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*I5ZIRPxayEw_LABf.jpg" /></figure><p>Learning Machine Learning is not just optional anymore — it’s becoming a basic skill for the future. Just like how we learn things for our daily life, understanding the basics of ML is now just as important. And here’s one thing I really want to say — don’t wait for the perfect time to start. That perfect moment may never come. Just start learning now. One step at a time is more powerful than waiting for the right time.</p><p>And if you want to know more, or if you’re looking for a complete learning material for ML, just DM me. I’ll send you everything you need — all in one place. No need to search anywhere else. I’ll give you the full source to start your journey in machine learning for <a href="https://aistudents.blogspot.com/p/contact-us.html"><strong>FREE</strong></a></p><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2025/06/Machine%20learning.html"><em>https://aistudents.blogspot.com</em></a><em> on June 19, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef18d5f4faa9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Metaverse?]]></title>
            <link>https://medium.com/@karanchrish/what-is-metaverse-52f5f93682d9?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/52f5f93682d9</guid>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[extended-reality]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[metaverse]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Wed, 11 Oct 2023 15:32:02 GMT</pubDate>
            <atom:updated>2023-10-11T15:49:04.308Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*OG9d3Da9BMWqchsB.jpg" /></figure><p>Metaverse is a great platform where all people can engage in a wide range of activities like family functions, business meetings, Learning, Shopping and more.. from your Location itself as Co-presence. It means feeling like you are physically present with others but actually from your location. The main Successor of the Internet in the 20th Century is Metaverse. Yes, it is the next generation of the Internet. By this the technology reaches the next upgradation in the IT Society. Where People can virtually telepathy from one Dimension to the next Dimension of the Human Knowledge which we can physically feel. It’s a concept of shifting the web from 2.0 to 3.0 applications. While learning about the Metaverse we can learn about the deep knowledge on Artificial Intelligence, Blockchain, networks and the Human Creations through Avatars, Filters etc..</p><p>The idea about the virtual world was developed among the people by Science Fiction Films and Literature during the year 1935–1992. But the clear vision of mataverse was born in 1992 in the novel Snow Crash by American Writer Neal Stephenson’s, it shows the virtual world will be assessed by VR glasses. In recent years the interest on metaverse is connected with Web 3.0 to make a Safe and secured Data Transition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*YBBqUgfBH0gryIfV.jpg" /></figure><p><strong>Avatars</strong> are the Digital representation of ourselves that we can use to interact and touch others in the metaverse. They are the 3D representation, so that we can feel, touch which makes us truly in there. In the metaverse we can customize ourselves however we like, We can express our identity by an animated one or fully cartoon or looks realistic.</p><p>Back to metaverse, We all heard about the VR headset. And we have a question: Will metaverse kill our physical routine? It’s NO, because metaverse won’t disturb our daily physical activities, It just increases the experience in digital looks. Social media gets a new touch and the working and learning experience will upgrade to the next level. As we think that VR headset is a huge big glass which makes us uncomfortable. But the reality is not true, in the future the headset may be compressed into the Eye Lens itself.</p><p><strong>Virtual Reality (VR)</strong> is a Virtually Creation Environment with multiple Scenes and objects that look real like video games. We use VR headset to experience the virtual world, the 3D display near the eye which gives the realistic feel. VR games are extremely different from Xbox and Playstation. The gears will give a most realistic feeling for touching and controlling.</p><p><strong>Augmented Reality (AR)</strong> is a Combination of Virtual and real world. It is an overlap of Virtual Layers in Real Life. AR creates filters over the realthings, it makes an animated character or makes it a tasty food. AR can be assessed by the people through the Mobile itself.</p><p><strong>Mixed Reality (MR) </strong>is used to merge the virtual world and real world. It is the step ahead to AR where additional Information has been added to real life, in this it will blur the line between digital things and Physical things. So that the user can experience the MR more well. It will be tough to find the real and Digital things.</p><p><strong>Extended Reality (XR)</strong> is an intersection of Virtual Reality, Augmented Reality and Mixed Reality. Extended Reality is a more emerging Technology that has been applied in a wide range of fields like Learning, Working, Entertainment, etc… The market of XR will increase eight times what it is today. It will change the world to the next level of the Tech world.</p><p><strong>Business Opportunity in Metaverse</strong></p><p>Metaverse offers more individuals and Groups to make money from it. These are some ways to make money through the metaverse.</p><ul><li>We can make money by Hosting an event in metaverse for selling tickets, real estate and more.</li><li>By advertising digital products we can get more audience in the metaverse to sell our digital and physical Products and also can make an Affiliate marketing.</li><li>The best grooming opportunity is to sell our digital assets like Cryptocurrency and NFTs (Non-Fungible Tokens) through metaverse using Blockchain. We buy, sell and also trade in the metaverse.</li><li>The major one is meta developers, the Blockchain Developers, AI Developers, Game Engine Developers and the Avatar Designers are more benefited in metaverse.</li></ul><p><strong>How is Blockchain used in Metaverse?</strong></p><p>Blockchain plays a vital role in Metaverse. This Technology is used to create a decentralized network of Virtual world. People can buy and sell their virtual land through this. Blockchain technology provides a secure platform for transactions in the metaverse. The un-hackability of blockchain are critical properties of virtual reality technology. It provides a decentralized database to run the metaverse correctly. Blockchain technology is used to create metaverse coins, tokens, and wallets. These digital assets are used to purchase and sell virtual assets in the metaverse. Cryptocurrency can offer money locally to the metaverse, allowing for quick transactions between individuals without intermediaries. And blockchain technology is expected to play an increasingly important role in shaping its future.</p><p><strong>How is Artificial Intelligence used in Metaverse?</strong></p><p>Artificial Intelligence is the Fundamental Technology in the metaverse. By using AI the computer in the metaverse makes an own decision based on the situations. It is used as a Chatbot or an AI avatar to interact with users. It is used to detect the scam in Data. AI is used to predict the Body condition of the users while they are in metaverse. It allows users to interact with Strangers in their own language and make them user friendly.</p><p>In Future Metaverse will make a great impact on the Humans. Because big companies like Microsoft, Google, Meta, Amazon have invested a Billion Dollars in it. To know about metaverse more, enroll the course ‘What is Metaverse’ in Coursera which was offered by Meta. By learning from there you can cover overall concept about metaverse Theoretically.</p><h3>Feel Free to contact me :</h3><ul><li><a href="http://www.linkedin.com/in/karanchrish"><strong>Linkedin</strong></a></li><li><a href="http://twitter.com/@karan_chrish"><strong>X</strong></a></li><li><a href="http://instagram.com/karanchrish"><strong>Instagram</strong></a></li><li><a href="mailto:karanchrish@gmail.com"><strong>Gmail</strong></a></li></ul><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2023/10/Metaverse.html"><em>https://aistudents.blogspot.com</em></a><em> on October 11, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52f5f93682d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Guide to Building a Cryptocurrency Dashboard in Tableau]]></title>
            <link>https://medium.com/@karanchrish/a-guide-to-building-a-cryptocurrency-dashboard-in-tableau-32a597993a9d?source=rss-e69f7fbbe60------2</link>
            <guid isPermaLink="false">https://medium.com/p/32a597993a9d</guid>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Karan Chrish]]></dc:creator>
            <pubDate>Sat, 13 May 2023 07:28:39 GMT</pubDate>
            <atom:updated>2023-05-13T07:52:14.283Z</atom:updated>
            <content:encoded><![CDATA[<p>Tableau is the most powerful Visualization tool that every Data Science Student needs to know. In recent years we have mostly heard about the word Cryptocurrency, Crypto is nothing but it is a Digital currency. As an AI student I welcome you all to the next series of “Life of AI Students” blog. In this blog it talks about the Interactive Cryptocurrency Dashboard using tableau.</p><h3>Tableau</h3><p>Tableau is the most powerful data Visualization and BI(Business Intelligence) tool. It is used to create an interactive Dashboard and Storyboard by using charts, graphs, maps etc… Most Data Scientists and Data Analysis use Tableau to complete a quick Visualization. Tableau offers Six platforms to create our Visualization.</p><p>Tableau also provides a Student license for the Students who are interested in Learning Tableau and also offers a License to Study the free course about Tableau. In recent years Data Science has become a very important job in our society, so learning Tableau may help you to get a good job or an internship.</p><h3>Cryptocurrency</h3><p>Cryptocurrency is nothing but a Digital or Virtual Currency. It has more value than real money. It uses cryptography Security which hides the information. It doesn’t need any bank or government to supervise it. The well known Cryptocurrency is Bitcoin. Which was created in 2009 by Satoshi Nakamoto. After this many cryptocurrency have been developed like Ethereum, litecoin, dogecoin, etc… Nearly 23,000 Cryptocurrency are there in the world now. In that nearly 9,000 are active. The main use of cryptocurrency is, it can’t be hacked and no illegal activities are occurring. Overall crypto is a recently emerged field and it is unpredictable.</p><p>So that the Crypto currency Dashboard with Visualization tool is really a good looking Project for a High School student.</p><h3>DASHBOARD:</h3><p>This Dashboard Contains 7 charts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*N3Fov6TjpiK6Dgns.png" /></figure><p><strong>Step :1</strong></p><p>Import the Data containing coin name, Symbol, Open price, close price, Total number of Volume, high value, Low value, Date and the market cap. These parameters are very important to create a Crypto Dashboard. After loading the Dataset you will be able to see the Measures and Dimensions which means the String and Integers are separated into Green and Blue color at the left side of the Tableau Desktop. Analyze the Dataset very Clearly.</p><p><strong><em>Dataset : </em></strong><a href="https://www.kaggle.com/datasets/sudalairajkumar/cryptocurrencypricehistory"><strong><em>Click Here</em></strong></a></p><p><strong>Step 2:</strong></p><p>Create a Charts to create a Dashboard</p><p><strong><em>Sheet 1:</em></strong></p><p>At default the tableau opens in the sheet one. Using the market cap and Date, create a Gantt bar chart. At the Top Right side of the Tableau Desktop you can see the “Show me” option, from there you can select the Gantt bar chart. If you can’t, open the automatic option you can see in the Marks box, from there you can select the Gantt bar Chart. Color and Size the Gantt bar by using the Market Cap column. Now, right click the mouse you can see the “Trend Lines” choose the option, Now your Chart shows the trend based gantt chart of Market cap by the date wise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/0*LpDmKDTKDnkdWO1u.png" /></figure><p>Now click the “+” Symbol near the sheet 1 then Sheet 2 will open. At the Sheet 2 using the Volume and Date, create a Line Chart. Use the same step which I said in Sheet 1. In here color and size the line chart by Volume. Lighten the trend line if you need. Now your chart shows the trend based Line Chart of Volume by the Date wise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*6s5G_uTTVNQyo3tc.png" /></figure><p>Now open the new Sheet, Using Open, Close price and Date create Bar Chart. Use the same step which I said in Sheet 1. In here color and size the Bar chart by Open and Close price. Now less the size of a Close price. At the Close price Column right click it you will be able to see the “Dual axis” choose the option. Now your chart shows the trend based Bar Chart of Open and Close Price by the Date wise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*gazzDK-4zWx3OWj1.png" /></figure><p>Now open the new Sheet. Here right click an open “Create Calculation Field”, there use a simple logical coding to create Average price of the crypto “[High (Union)]-[Low (Union)]”. Using the Average and Date create Area Chart. Use the same step which I said in Sheet 1.Now right click the chart you will be able to see the “Forecast” option, Tick the option. Now your chart will Forecast the Future Average price. In here color the Area chart by Forecast. Now your chart shows the Forecast based Area Chart of Average Price by the Date wise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*dgUoV5yRv1wCbE_O.png" /></figure><p>Open the new Sheet and again repeat the Sheet 4 and Visualize the chart in the Bar Chart. Then your chart shows the Forecast based Bar Chart of Average Price by the Date wise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*nvdR8bUbIaN41WD0.png" /></figure><p>Open the new Sheet and again repeat the Sheet 1 and Visualize the chart in the Pie Chart. Then your chart shows the Volume of the crypto by Date wise.</p><p>Open the new Sheet and create a table using name and Symbol. Before this download the needed cryptocurrency image. Shape the name and add the downloaded images in the shapes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/213/0*ir-v05TC_hlSyoKq.png" /></figure><p><strong>Step 3:</strong></p><p>Near to the “sheet +” you will be able to see the other “+” symbol. Click the symbol and open the Dashboard. In the Dashboard you will be able to see the “Tiled and Floating” at the left Bottom of the Dashboard. Move to Floating and import the already created Charts and arrange it to your understanding. Add images to make your dashboard some more good and attractive.</p><p>In this, I have fully explained how to make a Simple Crypto Dashboard in Tableau. You can also create a Storyboard by combining multiple dashboards If anybody needs to know more about Cryptocurrency or tableau feel free to comment or else contact me personally.</p><p><em>Originally published at </em><a href="https://aistudents.blogspot.com/2023/05/Crypto%20dashboard%20using%20Tableau.html"><em>https://aistudents.blogspot.com</em></a><em> on May 13, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32a597993a9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>