Pros & Cons of the Most famous AI Algorithms
Last Updated on July 24, 2023 by Editorial Team
Author(s): Surya Govind
Originally published on Towards AI.
Famous AI weapons: what is the use, when to use & when to ignore. Point-wise summary
Introduction:
First, letβs see what a Classifier is: An algorithm that maps the input data to a specific category. Classification model: βA classification model tries to draw some conclusions from the input values given for training. It will predict the class labels/categories for the new data.β So here are a few algorithms mentioned below with a point-wise description. You will take an idea of when to use when to avoid, why you should use, etc.
1. Naive Bayes classifier:
Pros:
- Simple, easy, and fast.
- Not sensitive to irrelevant features.
- Works great in practice.
- Needs less data during training.
- For both multiclass and binary classification.
- Works with continuous and discrete data.
Cons:
1. Accept every feature is independent. This isnβt always the truth.
Decision Tree:
Pros:
- Easy to understand.
- Easy to generate rules.
- There are almost hyperparameters to be tuned.
- Complex decision tree models can be significantly simplified by its visualization.
Cons:
- Mine suffers from overfitting.
- It does not efficiently work with non-numerical data.
- No prediction accuracy for a data set in comparison with other algorithms.
- When there are many class labels, calculations can be complex.
Support Vector Machines:
Pros:
- Fast algorithm.
- Effective in high dimensional spaces.
- Great accuracy.
- Power and flexibility from kernels.
- Works very well with the clear margin of separation.
- Many applications.
Cons:
- It doesnβt perform well with large data sets.
- Not so simple to program.
- It doesnβt perform so well when the data comes with more noise, i.e. added classes are overlapping.
Random Forest Classifier:
Pros:
- The overfitting problem does not exist.
- It can be used for feature engineering that is for identifying the most critical features among all available features in the training data set.
- Runs very well on large data set.
- Extraordinarily flexible and have very high accuracy.
- No need for operation of the input data.
Cons:
- Complexity.
- It requires a lot of competition resources.
- Time-consuming.
- I need to choose the number of trees.
KNN Algorithm :
Pros:
- Simple to understand and easy to implement.
- Zero two little train time.
- Works easily with multiclass data sets.
- Has good predictive power.
- It does well in practice.
Cons:
- Computationally Expensive testing phase.
- It can have skewed class distribution.
- Accuracy can be decreased when it comes to high dimension data.
- Need to find a value for the parameter k.
I hope, now you have some idea about what are all these terms and when to use what! There are links added for every algorithm for your reference.
βItβs never too late to learn.β
Good Luck!
Happy AI Learning!
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.
Published via Towards AI