Machine Learning Algorithms
๐๐๐๐ก๐ข๐ง๐ ๐ฅ๐๐๐ซ๐ง๐ข๐ง๐ ๐๐ฅ๐ ๐จ๐ซ๐ข๐ญ๐ก๐ฆ๐ฌ ๐๐๐ง ๐๐ ๐๐๐ญ๐๐ ๐จ๐ซ๐ข๐ณ๐๐ ๐ข๐ง๐ญ๐จ ๐ญ๐ก๐ซ๐๐ ๐ฆ๐๐ข๐ง ๐ญ๐ฒ๐ฉ๐๐ฌ:โฃ
๐๐ฎ๐ฉ๐๐ซ๐ฏ๐ข๐ฌ๐๐ ๐๐๐๐ซ๐ง๐ข๐ง๐ :โฃ
In supervised learning, the algorithm learns from a labeled dataset, where the input data (features) is paired with the correct output (labels). The goal is to learn a mapping from inputs to outputs, making it suitable for tasks like classification and regression.โฃ
โฃ๐๐ฎ๐ฉ๐๐ซ๐ฏ๐ข๐ฌ๐๐ ๐๐๐๐ซ๐ง๐ข๐ง๐ ๐๐๐๐ฅ-๐๐ข๐๐ ๐๐ฑ๐๐ฆ๐ฉ๐ฅ๐:
Imagine youโre teaching your child (Sam) about Fire๐ฅ and Rain๐ง. You show him pictures of ๐ฅ and ๐ง and tell him, โThis is Fire๐ฅ, and this is Rain๐ง.โ Over time, Sam learns that the picture of ๐ฅ is called Fire, and ๐ง is called Rain. โฃThis learning process, where Sam learns from labeled examples is called ๐๐ฎ๐ฉ๐๐ซ๐ฏ๐ข๐ฌ๐๐ ๐๐๐๐ซ๐ง๐ข๐ง๐ .โฃโฃ
๐๐ง๐ฌ๐ฎ๐ฉ๐๐ซ๐ฏ๐ข๐ฌ๐๐ ๐๐๐๐ซ๐ง๐ข๐ง๐ :โฃ
Unsupervised learning involves working with unlabeled data, where the algorithm tries to find patterns or structures within the data and group them together. Common tasks include clustering and dimensionality reduction.โฃ
๐๐ง๐ฌ๐ฎ๐ฉ๐๐ซ๐ฏ๐ข๐ฌ๐๐ ๐๐๐๐ซ๐ง๐ข๐ง๐ ๐๐๐๐ฅ-๐๐ข๐๐ ๐๐ฑ๐๐ฆ๐ฉ๐ฅ๐:
Here, you donโt tell Sam what Fire๐ฅ and Rain๐งare. Instead, Sam observes the two items and notices that they look different. He decides to group them into two categories without anyone telling him which is which.โฃ
This type of learning, where Sam organizes the data into groups on his own, is ๐๐ง๐ฌ๐ฎ๐ฉ๐๐ซ๐ฏ๐ข๐ฌ๐๐ ๐๐๐๐ซ๐ง๐ข๐ง๐ .โฃ
โฃ๐๐๐ข๐ง๐๐จ๐ซ๐๐๐ฆ๐๐ง๐ญ ๐๐๐๐ซ๐ง๐ข๐ง๐ :โฃ
In reinforcement learning, an agent learns to make decisions by interacting with an environment. It receives rewards or penalties based on its actions and aims to maximize cumulative rewards over time. This type of learning is often used in robotics, game-playing AI, and autonomous systems.โฃ
โฃ๐๐๐ข๐ง๐๐จ๐ซ๐๐๐ฆ๐๐ง๐ญ ๐๐๐๐ซ๐ง๐ข๐ง๐ ๐๐๐๐ฅ-๐๐ข๐๐ ๐๐ฑ๐๐ฆ๐ฉ๐ฅ๐:
Reinforcement Learning(RL) is bit different than the Supervised and Unsupervised Learning. Itโs works on Punishment and Reward system.
Imagine Sam is playing a game where his goal is to avoid getting wet in the rain๐ง.โฃ
The first time Sam goes outside without an umbrella, he gets wet (punishment)๐ข.โฃ
The next time, Sam decides to take an umbrellaโ. He stays dry and gets a (reward)๐.โฃ
Over time, Sam learns that taking the umbrella leads to a reward, while forgetting it leads to a punishment. As Sam keeps playing the game, he gets better at making the right decision, taking the umbrella to avoid getting wet and earning rewards!โฃ
โฃThis is ๐๐๐ข๐ง๐๐จ๐ซ๐๐๐ฆ๐๐ง๐ญ ๐๐๐๐ซ๐ง๐ข๐ง๐ , where the agent (Sam) learns by interacting with the environment and receiving feedback (rewards or punishments) for his actions.โฃโฃ
While there are other specialized types of ML algorithms, these three: Supervised Learning, Unsupervised Learning, and Reinforcement Learning are considered the core categories.โฃ
Like
Comment
Share