Machine Learning Mid 2 Set 1
Machine Learning Mid 2 Set 1
Machine Learning Mid 2 Set 1
That being said, there are some ways to adapt linear regression for
classification tasks:
However, there are better algorithms for classification tasks, such as:
2. *Decision trees and random forests*: Algorithms that can handle non-
linear relationships and provide probability estimates.
while linear regression can be adapted for classification tasks, it’s not the
most suitable algorithm. Better options exist, like logistic regression, decision
trees, random forests, and SVMs.
*Types of SVMs:*
1. *Linear SVM*: Used for linearly separable data, where classes can be
separated by a single hyperplane.
- *Radial Basis Function (RBF) Kernel*: Most commonly used kernel, maps
data to an infinite-dimensional space.
3. *Support Vector Regression (SVR)*: Used for regression tasks, where the
goal is to predict continuous values.
- Image classification
- Text classification
- Bioinformatics
- Financial forecasting
SVMs are powerful algorithms for classification and regression tasks, offering
flexibility and robustness. By choosing the appropriate type of SVM and
kernel, you can tackle various machine learning problems.
2. *Lazy learning*: KNN doesn’t require explicit training; it only stores the
training data.
*Types of KNN:*
*Advantages:*
1. *Easy to implement*
3. *Robust to noise*
*Disadvantages:*
1. *Computer-intensive*
*Common applications:*
1. *Image classification*
2. *Text classification*
3. *Recommendation systems*
4. ** Fraud detection**
2. *Multiple layers*: Input layer, one or more hidden layers, and an output
layer.
*Advantages:*
*Disadvantages:*
*Common applications:*
1. *Image classification*
2. *Speech recognition*
MLPs are a type of ANN that can learn complex relationships between inputs
and outputs, while BP is a powerful algorithm for training MLPs. Together,
they form a fundamental building block of deep learning and neural networks
in machine learning.