-
Notifications
You must be signed in to change notification settings - Fork 0
ML algorithm types
After going over that terminology -the question then is then how is an algorithm type chosen?
if the variable is continuous 👍🏽 : Regression
- Linear; Penalized Regression/LASSO
- Logistic
- Classification and regression tree (cart)
- Random forest
if the variable is categorical 👍🏽 : Classification
- Logistic
- Support Vector Machine (if linear)
- KNN K nearest neighbor (if linear)
- CART - Classification and regression tree (non linear)
if continuous/continuous : Dimensionality reduction (A) or clustering (#) A) Principal Components analysis (PCA)
- K-means
- Hierarchical
-
Decide if the data is complex (aka too many features -x variables). If so, apply dimension reduction algorithm
-
Decide if problem is classification - if yes, go to step 3. If this is a numerical prediction : -use penalized regression if the data is linear -or if nonlinear or complex use CART, Random forest, or neural network
-
Is it supervised classification, if not: go to step 4. if it is supervised: -for linear data use KNN, or SVM -for complex data use CART, Random forest, neural network
-
For unsupervised classification -for non linear data - use k means if the number categories is unknown. If the number categories is known then hierarchical networks -if complex data- use neural networks
Welcome to the Learning-AI-and-LLM wiki!
This is a current work in progress and I will be updating this as I complete projects/learn basics around AI and LLM space.
-Andy