Back In the print window choose "Save as PDF" as the destination
NOTE.CS

Classical ML Algorithms

1 topic ยท 28 Nov 2026
1

Classical ML Algorithms

Artificial Intelligence

What is linear regression?

It fits a straight line between input features and a numeric output.


What is logistic regression?

It is a classification algorithm. It uses the sigmoid function to output a probability between 0 and 1.


What is a decision tree?

It splits data step by step using questions on features, like a flowchart, until it reaches a prediction.


What is a random forest?

It builds many decision trees on random parts of the data and combines their votes. This reduces overfitting.


What is SVM?

Support Vector Machine finds the boundary that separates classes with the largest possible margin.


What is KNN?

K-Nearest Neighbors classifies a sample by looking at the majority class of its K closest samples.


What is Naive Bayes?

It is a probability-based classifier that uses Bayes' theorem. It assumes features are independent.


What is K-Means clustering?

It groups data into K clusters by moving cluster centers until each point is close to its nearest center.


What is PCA?

Principal Component Analysis reduces the number of features while keeping most of the information (variance).


What is an ensemble method?

It combines multiple models to get better results than a single model. Examples are bagging, boosting, and voting.


Bagging vs boosting?

Bagging trains models in parallel on random samples (Random Forest). Boosting trains models one after another, each fixing the previous errors (XGBoost).


What is feature engineering?

Creating or selecting useful input features to help the model perform better.


What is feature selection?

Choosing only the most useful features and removing irrelevant ones.