If you think deep, you’d realize the whole process of predictive modeling is a war. Ruthless war. Don’t you believe me?
Consider the data set as your opponent. Your knowledge of data mining & ml algorithms as your weapons. Your win will depend on the intuitive usage of your knowledge & strategy to get highest accuracy. So, how many times have you won this battle?
Here’s my short story.
I realized it last week. While travelling to south, I met a person whose daughter is a data scientist. That’s all he knew when I asked him about his kid’s profession. He didn’t get much time to spent with his daughter. He was a soldier.
He inquired about me too. His eyes glowed with ecstasy when he found out that I’m also a data scientist. He inquired further. Precisely, he was curious to know about ML Algorithms. It’s a lot being used in defense these days, he said.
This was a tough task for me. I didn’t know how to explain the technical stuff to a soldier. I found out a way. I knew he would surely understand things about battle, warfare, strategy. I explained him machine learning in these terms. In the end, he was convinced that his daughter has landed herself into a challenging job. He felt proud.
In this article, I’ve revealed that approach used to explain ML algorithms to the soldier. Though, there would be less soldiers who would read this, yet this idea promotes an interesting way of learning. This would surely help beginners who are struggling to understand these algorithms. I’ve also added images to help you visualize the situation and learn.
Note: The objective of this article is to help people learn machine learning in a fun and interesting way. You’ll also notice every algorithm has its own special situation where it is used.
This is how I started!
Supervised Learning : You go on a war and don’t stop until you kill all your enemies whoever comes your way. It include algorithms such as Linear Regression, Logistic Regression, Decision Tree, Random Forest etc.
Unsupervised Learning : Your rival has challenged you for a war. Now, you decide after assessing your strengths and weakness, whether to accept the challenge or surrender. It include algorithms such as k-means, apriori etc
Reinforcement Learning : You’ve accepted the challenge. The war has begun. After every hour, you are accessing your position in the battle. Are you loosing more men? Is the opponent dominating? And, accordingly you decide where to continue or surrender. It includes algorithm such as markov decision process.
These algorithms are nothing but the weapons used to fight data sets. Make sure you learn them well to build your armory. Look, I’ve 10 weapons in my armory. How many have you got?
Let’s see my way of explaining these algorithms to the soldier. You can also view the below video that gives you a quick overview of these techniques!
Linear Regression is completely taking over your opposition. Once you’ve entered the battle ground, don’t look back. Only take rest, once you’ve satisfactorily killed all your enemies.
Logistic Regression is taking simplistic assumptions and then deciding whether to go on a war or not.
This includes Decision Trees, Random Forest. Tree Based Modeling is simply Divide and Rule. You divide your opponents with some smart strategy and kill them.
Bayesian Modeling is considering your probability of winning in different battle base types such as air battle, land battle, water battle. And, accordingly take the overall decision of battle.
SVM is drawing out territory and boundary where you’ve advantage on field base. For example, your soldiers might be adept to fighting in specific areas such as desert / mountain / fields and declare the war accordingly.
kNN is checking past outcomes and mapping accordingly. Evaluate your performance in past battles, contemplate on your weak and strong areas and prepare for the next battle accordingly.
k-means is building up alliances (groups) with provinces which share the same philosophy, goals and motives. The idea is to become more powerful than ever before.
Neural Network is every soldier in your army decides whom to fight. Imagine, the situation arising when soldiers run towards enemy soldiers and instantly decide which soldier to fight. Naturally, every soldier would prefer to fight a weaker enemy soldier (watch and analyze) so that he can kill as many quickly. Overall, this strategy would impact the performance of whole army.
Ensemble Modeling is when an army consists of men skilled in various combats such as archery, knife fighting, swordsmen, shooting etc which shares a common motive of ‘victory over enemies’. All these men together would result in a formidable army.
Anomaly Detection is checking for unusual patterns in your own army. You may have a secret agent among your soldier brothers. Keep your periodic checks on.
I hope now you understand these algorithms well. This is how I helped that soldier to understand these algorithms. I believe, the most difficult things in nature, do have a simple explanation to offer. We just need to start relating this around us. As I just did. People new to machine learning, would now find them easier to remember and apply these algorithms.
In this article, I’ve explained machine learning algorithms to a soldier in terms of war, battle, and strategy. Do you find watching battle, wars interesting? If yes, you would surely find an interest here.
Did you find it useful ? Do share your opinions / suggestions in the comments section below. I’d love to talk.
Analytics Vidhya Content team
15+ Github Machine Learning Repositories for Da...
Top 20 Most Asked Machine Learning Interview Qu...
Introduction to Machine Learning for Absolute B...
Practicing Machine Learning Techniques in R wit...
Get Knowledge from Best Ever Data Science Discu...
Beginner Guide to Basic Machine Learning: Conce...
Introduction to Artificial Neural Network : Sim...
Top 10 Machine Learning Algorithms You Must Know
27 Top Videos, Tutorials & Courses on Mach...
How to choose an appropriate Machine Learning A...
We use cookies essential for this site to function well. Please click to help us improve its usefulness with additional cookies. Learn about our use of cookies in our Privacy Policy & Cookies Policy.
Show details
This site uses cookies to ensure that you get the best experience possible. To learn more about how we use cookies, please refer to our Privacy Policy & Cookies Policy.
It is needed for personalizing the website.
Expiry: Session
Type: HTTP
This cookie is used to prevent Cross-site request forgery (often abbreviated as CSRF) attacks of the website
Expiry: Session
Type: HTTPS
Preserves the login/logout state of users across the whole site.
Expiry: Session
Type: HTTPS
Preserves users' states across page requests.
Expiry: Session
Type: HTTPS
Google One-Tap login adds this g_state cookie to set the user status on how they interact with the One-Tap modal.
Expiry: 365 days
Type: HTTP
Used by Microsoft Clarity, to store and track visits across websites.
Expiry: 1 Year
Type: HTTP
Used by Microsoft Clarity, Persists the Clarity User ID and preferences, unique to that site, on the browser. This ensures that behavior in subsequent visits to the same site will be attributed to the same user ID.
Expiry: 1 Year
Type: HTTP
Used by Microsoft Clarity, Connects multiple page views by a user into a single Clarity session recording.
Expiry: 1 Day
Type: HTTP
Collects user data is specifically adapted to the user or device. The user can also be followed outside of the loaded website, creating a picture of the visitor's behavior.
Expiry: 2 Years
Type: HTTP
Use to measure the use of the website for internal analytics
Expiry: 1 Years
Type: HTTP
The cookie is set by embedded Microsoft Clarity scripts. The purpose of this cookie is for heatmap and session recording.
Expiry: 1 Year
Type: HTTP
Collected user data is specifically adapted to the user or device. The user can also be followed outside of the loaded website, creating a picture of the visitor's behavior.
Expiry: 2 Months
Type: HTTP
This cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected includes the number of visitors, the source where they have come from, and the pages visited in an anonymous form.
Expiry: 399 Days
Type: HTTP
Used by Google Analytics, to store and count pageviews.
Expiry: 399 Days
Type: HTTP
Used by Google Analytics to collect data on the number of times a user has visited the website as well as dates for the first and most recent visit.
Expiry: 1 Day
Type: HTTP
Used to send data to Google Analytics about the visitor's device and behavior. Tracks the visitor across devices and marketing channels.
Expiry: Session
Type: PIXEL
cookies ensure that requests within a browsing session are made by the user, and not by other sites.
Expiry: 6 Months
Type: HTTP
use the cookie when customers want to make a referral from their gmail contacts; it helps auth the gmail account.
Expiry: 2 Years
Type: HTTP
This cookie is set by DoubleClick (which is owned by Google) to determine if the website visitor's browser supports cookies.
Expiry: 1 Year
Type: HTTP
this is used to send push notification using webengage.
Expiry: 1 Year
Type: HTTP
used by webenage to track auth of webenagage.
Expiry: Session
Type: HTTP
Linkedin sets this cookie to registers statistical data on users' behavior on the website for internal analytics.
Expiry: 1 Day
Type: HTTP
Use to maintain an anonymous user session by the server.
Expiry: 1 Year
Type: HTTP
Used as part of the LinkedIn Remember Me feature and is set when a user clicks Remember Me on the device to make it easier for him or her to sign in to that device.
Expiry: 1 Year
Type: HTTP
Used to store information about the time a sync with the lms_analytics cookie took place for users in the Designated Countries.
Expiry: 6 Months
Type: HTTP
Used to store information about the time a sync with the AnalyticsSyncHistory cookie took place for users in the Designated Countries.
Expiry: 6 Months
Type: HTTP
Cookie used for Sign-in with Linkedin and/or to allow for the Linkedin follow feature.
Expiry: 6 Months
Type: HTTP
allow for the Linkedin follow feature.
Expiry: 1 Year
Type: HTTP
often used to identify you, including your name, interests, and previous activity.
Expiry: 2 Months
Type: HTTP
Tracks the time that the previous page took to load
Expiry: Session
Type: HTTP
Used to remember a user's language setting to ensure LinkedIn.com displays in the language selected by the user in their settings
Expiry: Session
Type: HTTP
Tracks percent of page viewed
Expiry: Session
Type: HTTP
Indicates the start of a session for Adobe Experience Cloud
Expiry: Session
Type: HTTP
Provides page name value (URL) for use by Adobe Analytics
Expiry: Session
Type: HTTP
Used to retain and fetch time since last visit in Adobe Analytics
Expiry: 6 Months
Type: HTTP
Remembers a user's display preference/theme setting
Expiry: 6 Months
Type: HTTP
Remembers which users have updated their display / theme preferences
Expiry: 6 Months
Type: HTTP
Used by Google Adsense, to store and track conversions.
Expiry: 3 Months
Type: HTTP
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
Expiry: 2 Years
Type: HTTP
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
Expiry: 2 Years
Type: HTTP
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
Expiry: 2 Years
Type: HTTP
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
Expiry: 2 Years
Type: HTTP
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
Expiry: 2 Years
Type: HTTP
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
Expiry: 2 Years
Type: HTTP
These cookies are used for the purpose of targeted advertising.
Expiry: 6 Hours
Type: HTTP
These cookies are used for the purpose of targeted advertising.
Expiry: 1 Month
Type: HTTP
These cookies are used to gather website statistics, and track conversion rates.
Expiry: 1 Month
Type: HTTP
Aggregate analysis of website visitors
Expiry: 6 Months
Type: HTTP
This cookie is set by Facebook to deliver advertisements when they are on Facebook or a digital platform powered by Facebook advertising after visiting this website.
Expiry: 4 Months
Type: HTTP
Contains a unique browser and user ID, used for targeted advertising.
Expiry: 2 Months
Type: HTTP
Used by LinkedIn to track the use of embedded services.
Expiry: 1 Year
Type: HTTP
Used by LinkedIn for tracking the use of embedded services.
Expiry: 1 Day
Type: HTTP
Used by LinkedIn to track the use of embedded services.
Expiry: 6 Months
Type: HTTP
Use these cookies to assign a unique ID when users visit a website.
Expiry: 6 Months
Type: HTTP
These cookies are set by LinkedIn for advertising purposes, including: tracking visitors so that more relevant ads can be presented, allowing users to use the 'Apply with LinkedIn' or the 'Sign-in with LinkedIn' functions, collecting information about how visitors use the site, etc.
Expiry: 6 Months
Type: HTTP
Used to make a probabilistic match of a user's identity outside the Designated Countries
Expiry: 90 Days
Type: HTTP
Used to collect information for analytics purposes.
Expiry: 1 year
Type: HTTP
Used to store session ID for a users session to ensure that clicks from adverts on the Bing search engine are verified for reporting purposes and for personalisation
Expiry: 1 Day
Type: HTTP
Cookie declaration last updated on 24/03/2023 by Analytics Vidhya.
Cookies are small text files that can be used by websites to make a user's experience more efficient. The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies, we need your permission. This site uses different types of cookies. Some cookies are placed by third-party services that appear on our pages. Learn more about who we are, how you can contact us, and how we process personal data in our Privacy Policy.
Edit
Resend OTP
Resend OTP in 45s
I recommend "The Master Algorithm" as a very readable and entertaining introduction to ML.
Surely. I'll check it soon. Thanks for your suggestion.
This was a really creative post.
Thanks Jatin.
Very well explained. It is said that if one can describe some complex things to a layman in simpler terms, then he / she has understood the subject a lot. Thanks for posting this beautiful article.
Welcome Soumya :)