<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Badhon Nandi</title>
    <description>The latest articles on Forem by Badhon Nandi (@badhonnandi).</description>
    <link>https://forem.com/badhonnandi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1013300%2F234bc0e2-6a3b-4ad0-ad82-2e94eacf7577.jpeg</url>
      <title>Forem: Badhon Nandi</title>
      <link>https://forem.com/badhonnandi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/badhonnandi"/>
    <language>en</language>
    <item>
      <title>Types of Machine Learning you must know!</title>
      <dc:creator>Badhon Nandi</dc:creator>
      <pubDate>Sun, 08 Sep 2024 12:41:09 +0000</pubDate>
      <link>https://forem.com/badhonnandi/types-of-machine-learning-you-must-know-1nc</link>
      <guid>https://forem.com/badhonnandi/types-of-machine-learning-you-must-know-1nc</guid>
      <description>&lt;p&gt;&lt;strong&gt;There are 4 Major types of Machine Learning&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Supervised Learning

&lt;ul&gt;
&lt;li&gt;Regression&lt;/li&gt;
&lt;li&gt;Classification&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Unsupervised Learning

&lt;ul&gt;
&lt;li&gt;Clustering &lt;/li&gt;
&lt;li&gt;Dimensionality Reduction&lt;/li&gt;
&lt;li&gt;Anomaly Detection&lt;/li&gt;
&lt;li&gt;Association&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Semi Supervised Learning&lt;/li&gt;
&lt;li&gt;Reinforcement Learning&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Lets Explain one by one for a clear idea that what exactly they are about!&lt;/p&gt;

&lt;h2&gt;
  
  
  Supervised Learning
&lt;/h2&gt;

&lt;p&gt;If we have a dataset with both input and output, our job is to understand the relationship between them. Then, we can use that understanding to predict the output for new input. This type of learning is called supervised machine learning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;: Lets take 1000 Students Data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk3a2yrb02x2169k8kqzy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk3a2yrb02x2169k8kqzy.png" alt="Image description" width="800" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now the ML model will create a mathematical link between the input and output. So, in the future, if I give it details about a new student, it will be able to tell me if that student is placed or not.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzthzwhknnntfe1aa5o7s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzthzwhknnntfe1aa5o7s.png" alt="Image description" width="800" height="61"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, the model can give the output on its own by using the pattern it learned from the previous input and output data. This is how supervised learning works.&lt;/p&gt;

&lt;p&gt;Now if we talk about data types, there are 2 types of Data.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Numberical

&lt;ul&gt;
&lt;li&gt;Age&lt;/li&gt;
&lt;li&gt;Weight&lt;/li&gt;
&lt;li&gt;CGPA&lt;/li&gt;
&lt;li&gt;IQ and etc.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Category 

&lt;ul&gt;
&lt;li&gt;Gender&lt;/li&gt;
&lt;li&gt;Nation&lt;/li&gt;
&lt;li&gt;Place and etc.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Supervised Learning has 2 Parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Regression&lt;/strong&gt;: If the output data is numerical then this is called regression.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxhxose0324aevq8pd3e3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxhxose0324aevq8pd3e3.png" alt="Image description" width="800" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Classification&lt;/strong&gt;: Non-Numerical Datatypes are called classification.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8fayh9rx97qk27az3h8g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8fayh9rx97qk27az3h8g.png" alt="Image description" width="800" height="293"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;this was all about supervised learning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unsupervised Learning
&lt;/h2&gt;

&lt;p&gt;We only have input, with no output. So, making predictions is impossible because we don't know what to predict. So, what's the purpose of it?&lt;/p&gt;

&lt;p&gt;Unsupervised Learning has 4 Parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clustering &lt;/li&gt;
&lt;li&gt;Dimensionality Reduction&lt;/li&gt;
&lt;li&gt;Anomaly Detection&lt;/li&gt;
&lt;li&gt;Association Rule Learning&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Clustering&lt;/strong&gt;&lt;br&gt;
Clustering in unsupervised learning is when we group similar data points together without knowing the labels or categories beforehand. The goal is to find patterns or structures in the data on its own.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2For7jk31pqgo3dmoqlkha.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2For7jk31pqgo3dmoqlkha.png" alt="Image description" width="800" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Imagine on the X-axis we have IQ and on the Y-axis we have CGPA. Clustering helps us see which students should be grouped together based on these factors. We can also use clustering for our own analysis. &lt;/p&gt;

&lt;p&gt;For example, in my e-commerce website, I can figure out what type of customers I have and how to group them. And, clustering algorithms can group data with many dimensions that we can't see with our eyes.&lt;/p&gt;

&lt;p&gt;This makes &lt;em&gt;clustering&lt;/em&gt; very useful. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dimensionality Reduction&lt;/strong&gt;&lt;br&gt;
In supervised learning, we often have many input columns, like in image or text data, sometimes over 1000. When there's too much data, the algorithm runs slower. After a certain point, adding more columns doesn't improve the result, so those extra columns are unnecessary. Removing them helps reduce the data size and makes the algorithm faster and more efficient. This process is called &lt;strong&gt;dimension reduction&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffbuvdvbnzdz8oaqu2t4s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffbuvdvbnzdz8oaqu2t4s.png" alt="Image description" width="800" height="190"&gt;&lt;/a&gt;&lt;br&gt;
A simple example of this is called feature extraction. It's also well-known as the PCA algorithm (Principal Component Analysis).&lt;/p&gt;

&lt;p&gt;We can not plot any data if we have 4 or more columns of data. Human brain can only draw till 3D coordinate system. So, here reducing the dimensionality from 1000 to 2/3D coordinate system helps us to plot those points. Now we can easily study and visualise those data. So, dimension reduction plays here an important role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Anomaly Detection&lt;/strong&gt;&lt;br&gt;
It is a method to find patterns or data points that are unusual or different from the norm. It helps to spot things that don't fit the regular trend or pattern.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4y79l838ytpxccpdt3h4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4y79l838ytpxccpdt3h4.png" alt="Image description" width="800" height="289"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Association Rule Based Learning&lt;/strong&gt;&lt;br&gt;
It is a method used to find relationships between different items in data. It helps to understand which items are often bought or occur together.&lt;/p&gt;

&lt;p&gt;Example: If you run a big store, you can use past sales data to see which products are often bought together. For example, if you find that when people buy milk, they often buy eggs too, you should keep milk and eggs next to each other in the store. &lt;/p&gt;

&lt;p&gt;So sells will be improved. In this way we do data mining and then draw conclusion using Association Rule Based Machine Learning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Semi-Supervised Learning
&lt;/h2&gt;

&lt;p&gt;Semi-supervised learning is a method where a computer learns from both labeled data (with known answers) and unlabelled data (without known answers). That means partially Supervised and partially unsupervised learning.&lt;/p&gt;

&lt;p&gt;When we add labels to data, it usually takes a lot of time because it's done manually by people.but human though I will only add 1-2 label and except that all the data/label get cover it self. This is the core-idea behind semi-sup learning.&lt;/p&gt;

&lt;p&gt;Example: Google Photos.&lt;br&gt;
We store many of our pictures in Google Photos. One day, Google Photos asked, "Who is this?" I said, "This is my brother." After that, Google Photos grouped all the pictures of my brother under the same label, making a cluster of them.&lt;/p&gt;

&lt;h1&gt;
  
  
  Reinforcement Learning
&lt;/h1&gt;

&lt;p&gt;Reinforcement Learning is a type of machine learning where a computer learns to make decisions by trying different actions and getting rewards or penalties. It learns over time to choose actions that give the best rewards.&lt;/p&gt;

&lt;p&gt;When I go for my university after leaving my own home, I don't know what should I do. So I make mistakes and learn from those. &lt;/p&gt;

&lt;p&gt;Imagine teaching a dog to sit. Every time the dog sits when you say "sit", you give it a treat as a reward. If the dog doesn't sit, it doesn't get a treat. Over time, the dog learns that sitting when you say "sit" will give it a reward. This is like reinforcement learning, where the dog is learning through rewards (treats) to do the right action.&lt;/p&gt;

&lt;p&gt;Self Driving cars can also be a great example of it.&lt;/p&gt;

&lt;p&gt;These are all types of Machine Learning. Thank you for your time.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>tutorial</category>
      <category>ai</category>
    </item>
    <item>
      <title>Understanding the Differences: AI vs. ML vs. DL</title>
      <dc:creator>Badhon Nandi</dc:creator>
      <pubDate>Sat, 07 Sep 2024 01:39:13 +0000</pubDate>
      <link>https://forem.com/badhonnandi/understanding-the-differences-ai-vs-ml-vs-dl-4a74</link>
      <guid>https://forem.com/badhonnandi/understanding-the-differences-ai-vs-ml-vs-dl-4a74</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Artificial Intelligence&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Which is focused on creating systems or machines that can perform tasks typically requiring human intelligence.These tasks include reasoning, learning, problem solving, perception, language understanding and decision-making. Main goal is Making machines intelligence.&lt;/p&gt;

&lt;p&gt;Human intelligence encompasses a wide range of abilities, including pattern recognition, coding, problem-solving, emotional understanding, and more. It is a complex and multifaceted capability that allows us to navigate and interact with the world in diverse ways.But, Artificial Intelligence is a specialised subset of human intelligence, primarily focused on tasks like pattern recognition, decision-making and data processing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Symbolic AI,&lt;/strong&gt; also called Good Old-Fashioned AI (GOFAI), is a method of artificial intelligence that uses clear rules and logic to make decisions. It relies on a lot of if-else conditions, where specific situations lead to specific actions. This approach is often used in expert systems, which are programs designed to mimic human decision-making. For example, Symbolic AI can be used to create a chess-playing program by following predefined rules for moving pieces and evaluating positions.&lt;/p&gt;

&lt;p&gt;But there are some limitations of it. Symbolic AI struggles with tasks involving fuzzy logic or situations that can’t be defined by clear rules. For example, creating a system to recognize different dog breeds would require an infinite number of if-else conditions which is quite impossible. To solve this problem &lt;em&gt;ML&lt;/em&gt; comes here.&lt;/p&gt;

&lt;h2&gt;
  
  
  Machine Learning
&lt;/h2&gt;

&lt;p&gt;In ML instead of using explicit programming, statistical methods are employed to identify patterns within the given data. We start with known inputs and outputs and through training, the model learns the underlying relationships and logic needed to solve the problem. Once trained, the model can make predictions on new, unseen data.&lt;/p&gt;

&lt;p&gt;Unlike Symbolic AI, which requires predefined rules and logic, ML systems automatically generate their own logic based on the data they are fed. By providing large datasets, the system learns to recognize patterns, enabling it to deliver accurate outputs when presented with new inputs. This ability to learn and adapt from data is what sets ML apart from traditional rule-based AI systems.&lt;/p&gt;

&lt;p&gt;When training a ML model, it is crucial to specify which features to focus on in the data. These features guide the model in identifying relevant patterns. For example, if the task is to recognize a dog, features such as the number of ears and eyes would be important. It will follow this way to draw patterns. But what if, we don't know the features? and to solve this problem &lt;em&gt;DL&lt;/em&gt; was invented.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deep Learning
&lt;/h2&gt;

&lt;p&gt;It is a type of machine learning that is inspired by how the human brain works. It uses math to create artificial neurons, which are similar to the neurons in our brain, though not exactly the same.&lt;/p&gt;

&lt;p&gt;Deep Learning does not require predefined features, it automatically creates or detects features from the given data. This is especially useful when working with fuzzy logic, where it's unclear what features might exist. For example, if I want to predict which candidate is likely to get a job based on their CV, the deep learning model can identify features like the number of certifications or good grades on its own, without needing manual input.&lt;/p&gt;

&lt;p&gt;The more layers of neurons we add to a deep learning model, the more accurate its classification and predictions become. Also increasing the amount of input data helps improve the model’s performance. But in ML models it their might be some limitations of performance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwc5mokcciozz7gouarjd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwc5mokcciozz7gouarjd.png" alt="Image description" width="800" height="406"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So we can see a clear picture that Deep Learning is a sub-domain of Machine Learning. And Machine learning is a sub-domain of Artificial Intelligence.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvx5qfvrl2t60mypcwcy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvx5qfvrl2t60mypcwcy.png" alt="AI vs ML vs DL" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ML and DL are both rapidly advancing fields. You might wonder why DL isn’t always used if it’s so powerful. The reason is that ML tends to perform better with smaller datasets, while DL excels with large amounts of data, like those used by companies such as Meta or YouTube.  &lt;/p&gt;

&lt;p&gt;Thank you for reading.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>ai</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Introductions to ML</title>
      <dc:creator>Badhon Nandi</dc:creator>
      <pubDate>Fri, 06 Sep 2024 08:43:34 +0000</pubDate>
      <link>https://forem.com/badhonnandi/intoduction-to-ml-4h2a</link>
      <guid>https://forem.com/badhonnandi/intoduction-to-ml-4h2a</guid>
      <description>&lt;h2&gt;
  
  
  What is Machine Learning?
&lt;/h2&gt;

&lt;p&gt;Machine Learning is a field of Computer Science that uses &lt;strong&gt;statical&lt;/strong&gt; technologies to give computer systems the ability to '&lt;strong&gt;Learn&lt;/strong&gt;' with &lt;strong&gt;data&lt;/strong&gt;, &lt;strong&gt;without&lt;/strong&gt; being explicitly programmed.&lt;/p&gt;

&lt;p&gt;That means, &lt;em&gt;"&lt;strong&gt;ML is all about Learning from Data&lt;/strong&gt;"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explicit Programming means&lt;/strong&gt;, writing codes for each scenario, to handle that situation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flmjxb02fv91tfqd38dsr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flmjxb02fv91tfqd38dsr.png" alt="Image description" width="800" height="256"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In machine learning&lt;/strong&gt;, instead of writing explicit code for each scenario, we train models to &lt;strong&gt;learn patterns&lt;/strong&gt; from data, allowing them to make &lt;strong&gt;predictions&lt;/strong&gt; or &lt;strong&gt;decisions&lt;/strong&gt; for unseen situations.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpzi9upkmrwxwbtv1dzlf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpzi9upkmrwxwbtv1dzlf.png" alt="Image description" width="800" height="237"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, We give &lt;strong&gt;input&lt;/strong&gt; and &lt;strong&gt;output&lt;/strong&gt;, but don't write any code for each and every case. ML Algorithms &lt;strong&gt;automatically&lt;/strong&gt; handle them.&lt;/p&gt;

&lt;p&gt;An simple example can use:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Summation Function:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In explicit programming, to add 2 numbers, we write specific code that works only for that case. This code won’t work for adding 5 or N numbers without modification.&lt;/p&gt;

&lt;p&gt;In contrast, with ML, we can provide an Excel file where each row contains different numbers and their sum. As the ML algorithm trains on this dataset, it learns the pattern of addition. In the future, when given 2, 10, or N numbers, it can perform the addition based on the learned pattern, without needing specific code for each scenario.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where we are using ML?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Email Spam Classifier:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In explicit programming, I wrote multiple if-else conditions, such as: “If a keyword appears 3 or more times, it will be flagged as spam.” For example, if the word “Huge” is used 3 times, it’s marked as spam.&lt;/p&gt;

&lt;p&gt;Now, imagine an advertising company realize there’s an algorithm like this to detect their spam. So instead of repeating “Huge” 3 times, they use synonyms like “Huge,” “Massive,” and “Big.” In this case, the original rule wouldn’t work. What would be the solution? Should I again change my previous algorithms? How many time I will able to do that?&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;ML&lt;/strong&gt;, the model learns from the data provided and automatically creates algorithms based on that data. If the data changes, the algorithm adjusts accordingly. There’s no need to manually change the algorithm, it will update itself as needed based on the new data.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Image Classification:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In &lt;strong&gt;explicit programming&lt;/strong&gt; for image classification, we would need to manually write rules to identify features of a dog, like its shape, size, fur color, or tail. These rules would only work for specific images and would not generalize well to all dog breeds. If we encountered new breeds or variations, we would need to add new rules for each one.&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;ML&lt;/strong&gt;, instead of writing specific rules, we provide the model with a large dataset of dog images labeled by breed. The model then learns patterns from the data, such as the common characteristics of different breeds, and uses that learned knowledge to classify new dog images, even if it hasn't seen those exact breeds before. The algorithm automatically adapts to variations in the data.&lt;/p&gt;

&lt;p&gt;also, there are thousand of uses of ML. You might wonder,&lt;br&gt;
why wasn’t machine learning as popular before 2010?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Limited storage capacity made it difficult to store large amounts of data due to the shortage of hard drives.&lt;/li&gt;
&lt;li&gt;There wasn’t enough available data to effectively train machine learning models.&lt;/li&gt;
&lt;li&gt;Hardware limitations, such as less powerful GPUs and processors, restricted the ability to run complex algorithms efficiently.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Nowadays, we are generating millions of data points every day. Using this vast amount of data, ML models are now becoming more accurate, efficient, and capable of solving complex problems. They can learn patterns, make predictions, and automate tasks across various fields such as healthcare, finance, and technology, improving decision-making and driving innovation.&lt;/p&gt;

&lt;p&gt;Thank you for taking the time to read through this.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>ai</category>
      <category>python</category>
    </item>
    <item>
      <title>Data Structure &amp; Algorithms</title>
      <dc:creator>Badhon Nandi</dc:creator>
      <pubDate>Tue, 15 Aug 2023 11:32:56 +0000</pubDate>
      <link>https://forem.com/badhonnandi/data-structure-algorithms-in-python-3jkk</link>
      <guid>https://forem.com/badhonnandi/data-structure-algorithms-in-python-3jkk</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Data Structure?&lt;/strong&gt;&lt;br&gt;
Data Structures are different way of organising data on your computer , that can be used effectively.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpp9tyrlawwsjqeeots92.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpp9tyrlawwsjqeeots92.png" alt="Image description" width="800" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So if we want to find any specific colour scale we can find that very easily from the right side box.Because it is well organised. &lt;/p&gt;

&lt;p&gt;For software application performance point of view , the efficiency and the performance of the software depends on how the data is stored, organised and grouped together during the program execution. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F852m16ythn11amtub27t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F852m16ythn11amtub27t.png" alt="Image description" width="489" height="223"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Algorithm?&lt;/strong&gt;&lt;br&gt;
An algorithm is just a set of instruction to perform a task or solve a problem.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
We need a margin in our A4 size paper.So:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fasrkzrcuwzc3vixiwzsz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fasrkzrcuwzc3vixiwzsz.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Choosing the scale from different colour scale&lt;/li&gt;
&lt;li&gt;Place the scale to my A4 size paper&lt;/li&gt;
&lt;li&gt;use a pencil or pen and draw the margin&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Moreover, Algorithms in our daily life:&lt;/p&gt;

&lt;p&gt;To drink a coffee:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx848949mh72e03ad8yjd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx848949mh72e03ad8yjd.png" alt="Image description" width="800" height="286"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;1.go to Coffee Shop&lt;br&gt;
2.pay money&lt;br&gt;
3.take coffee&lt;/p&gt;

&lt;p&gt;This set of steps referees to algorithms.&lt;/p&gt;

&lt;p&gt;Algorithms in computer science: &lt;br&gt;
Set of rules for a computer program to accomplish a task.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What makes a good algorithm?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Correctness&lt;/li&gt;
&lt;li&gt;Efficiency&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;As a software or a computer, our responsibility is to perform operation on the data.First we give some input, then we process it and then we give back processed data as output.Input of data can be in any form. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn7f27ysbtjltke7w7m03.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn7f27ysbtjltke7w7m03.png" alt="Image description" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Example: Google Map&lt;/p&gt;

&lt;p&gt;Input(Starting and ending) --&amp;gt; Process(DSA) --&amp;gt; Output(Shortest Path)&lt;/p&gt;

&lt;p&gt;Other Example: Library (Well Organised)&lt;/p&gt;

&lt;p&gt;Think , if I need algorithms book I first go to computer science section, then Algorithms section.I will able to find my desired book.Because it is well organised Which referrers to Data Structure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Data Structures&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In python, we can devide in 2 sections:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Primitive&lt;/li&gt;
&lt;li&gt; Non Primitive&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Primitive:&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;basic data types that can not be broken into simpler data type.&lt;/li&gt;
&lt;li&gt;fixed size and usually smaller in size than non primitive.&lt;/li&gt;
&lt;li&gt;used for simple operation.&lt;/li&gt;
&lt;li&gt;represented in memory as a simple values.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Non Primitive:&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; more complex and can be broken down into smaller data types.&lt;/li&gt;
&lt;li&gt; can be large in size and grow or shrink dynamically. &lt;/li&gt;
&lt;li&gt; used for complex operations such as data manipulation,sorting and searching.&lt;/li&gt;
&lt;li&gt;represented in memory as pointers to other memory locations.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Topic in Data Structure:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Farmftwz5l2ck1twckegu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Farmftwz5l2ck1twckegu.png" alt="Image description" width="800" height="636"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These are the data structures we have.There are more but these are the most important one.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Linear data&lt;/strong&gt; structures are used to represent a sequence of data where the order of elements are important.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Non Linear's&lt;/strong&gt; are not represented sequentially.Its used to represent a hierarchical relationship between data elements where each element is connected to one or more other elements in a specific way.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Some types of Algorithms&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sorting (to sort data in assending or desending order)&lt;/li&gt;
&lt;li&gt;Searching (to find specific value in a data set)&lt;/li&gt;
&lt;li&gt;Graph (to work with data that can be represented as a graph)&lt;/li&gt;
&lt;li&gt;Recursive&lt;/li&gt;
&lt;li&gt;Devide and Conquer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;and Many more... &lt;/p&gt;

</description>
      <category>datastructures</category>
      <category>algoritms</category>
      <category>python</category>
      <category>dsa</category>
    </item>
    <item>
      <title>Why should you learn C++ in 2023, when AI is ruling?</title>
      <dc:creator>Badhon Nandi</dc:creator>
      <pubDate>Mon, 08 May 2023 11:59:08 +0000</pubDate>
      <link>https://forem.com/badhonnandi/why-should-you-learn-c-in-2023-when-ai-is-ruling-31ie</link>
      <guid>https://forem.com/badhonnandi/why-should-you-learn-c-in-2023-when-ai-is-ruling-31ie</guid>
      <description>&lt;p&gt;Well, this is 2023, and we all can see the rise of chatbots and AI tools all over the world, and everybody is thinking they should learn Python for sure as the industry is going down that path. But did you ever wonder how the world was before there was AI around us? People used to make their own tools by hand. In our daily lives, we use the Chrome browser, video players, play games, and do tons of other things using software. Most of them are made using languages like C++. It's true that work is getting easier compared to previous days, and I don't think AI can match the creativity of humans! So today we will talk about whether you should learn C++ in 2023.😀&lt;/p&gt;

&lt;p&gt;In 1642, the first &lt;a href="https://en.wikipedia.org/wiki/Pascal's_calculator" rel="noopener noreferrer"&gt;mechanical calculator&lt;/a&gt; was invented in France by mathematician and philosopher Blaise Pascal. So after 1642, has the creativity stopped for the new mathematicians at all, so that they have failed to invent any new things for society? Not at all, right? We know the names Leonhard Euler, Sir Isaac Newton, Carl Friedrich Gaius, and many more. A calculator is a tool that makes work easier. So I think Ai will do the same as well. So people who know C++ will be able to work creatively using their own brains and make the best use of AI. 100% of developers cannot work only with AI, as there are a lot of sectors like cloud,cyber security, game development, API,etc. Therefore, inverting time for C++ in 2023 will not be a loss for you at all.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa9vlb5ja8pcy55kdeow7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa9vlb5ja8pcy55kdeow7.jpg" alt="Pascal Calculator" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🐱‍🏍Let's talk about what sectors are there so that you can work with C++ .To begin with,C++ is frequently used because of its flexibility and popular industry application.&lt;br&gt;
These are some sectors where we use c++ now a days.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Game Development&lt;/li&gt;
&lt;li&gt;Operating Systems&lt;/li&gt;
&lt;li&gt;Financial Systems&lt;/li&gt;
&lt;li&gt;Networking and Telecommunications&lt;/li&gt;
&lt;li&gt;Scientific and Engineering Applications &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Game Development&lt;/strong&gt; : C++ is the basis for popular game development systems like &lt;a href="https://www.unrealengine.com/en-US" rel="noopener noreferrer"&gt;Unreal Engine&lt;/a&gt; and &lt;a href="https://unity.com/" rel="noopener noreferrer"&gt;Unity&lt;/a&gt;. Learning C++ is highly recommended if you are interested in game development. &lt;a href="https://www.unrealengine.com/en-US" rel="noopener noreferrer"&gt;Unreal Engine's&lt;/a&gt; primary programming language for creating games and apps is C++. &lt;a href="https://www.unrealengine.com/en-US" rel="noopener noreferrer"&gt;Unreal Engine&lt;/a&gt; developers may build immersive and high-performance experiences by using the power of C++.If you are passionate about that, you are welcome.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo8z0ps6s31o0g06hg3w2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo8z0ps6s31o0g06hg3w2.png" alt="Unreal Engine" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Operating Systems&lt;/strong&gt;: C++ plays a vital role in the creation of operating systems. Its low-level capabilities, efficient memory management, and direct hardware access are used in &lt;a href="https://en.wikipedia.org/wiki/Kernel_(operating_system)" rel="noopener noreferrer"&gt;kernel &lt;/a&gt;development.It is also used to create system libraries, which enable functions such as file system operations, network connectivity, process management, and inter-process communication.The development of system tools and utilities for system management, debugging, and performance analysis within operating systems is also done in C++.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Financial Systems&lt;/strong&gt;:C++ is frequently used in the financial industry to create algorithmic trading systems, risk management software, and high-frequency trading platforms. Its speed and control over system resources are critical for real-time processing of massive amounts of financial data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Networking and Telecommunications&lt;/strong&gt;: C++ is used in the creation of networking protocols, network management systems, and telecom software. Its performance and low-level control make network operations and data transfer more efficient.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8froq3rmwqbgpainetfo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8froq3rmwqbgpainetfo.png" alt="Networking and Telecommunications" width="800" height="573"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scientific and Engineering Applications&lt;/strong&gt;: C++ is used in a wide range of scientific and technical disciplines, including &lt;a href="https://www.apsu.edu/governors-school/comp-phys.php" rel="noopener noreferrer"&gt;computational physics&lt;/a&gt;, aeronautical engineering, bioinformatics, and others. It is useful in these disciplines because of its capacity to perform complicated computations, optimize algorithms, and interface with specialized hardware.&lt;/p&gt;

&lt;p&gt;Many of us love to do competitive programming, and C++ is the best language for competitive programming. Many people use Python to do that, but Python is slow to do that. C++ is a very close language to computers and its very first at the same time. C++ is an object-oriented programming language. We know many competitive contests from Google or some platforms have already been turned off, So if you are not passionate about this, I will suggest you not do competitive programming and focus on other sectors of it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo5qk0lczlqexncd63kc1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo5qk0lczlqexncd63kc1.jpg" alt="The 2019 World Champions:&amp;lt;br&amp;gt;
Moscow State University" width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In conclusion, if you feel interested in game development, software development, networking, or competitive programming, then C++ will be the best choice for you.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>cpp</category>
      <category>leadership</category>
    </item>
  </channel>
</rss>
