Types of Machine learning
Regression (output is continuous)
- Linear Regression
- Support Vector Machine (Support Vector Regression)
- K Nearest Neighbours
- Decision Tree
- Random Forest
Classification (output is discrete)
- Logistic Regression
- Naïve Bayes
- Support Vector Machine (Support Vector Classification)
- K Nearest Neighbours
- Decision Tree
- Random Forest
Unsupervised (learns patterns and structures from unlabeled data)
Clustering
- K-Means
- Identify groups of data points that are similar to each other within the same cluster while being different from data points in other clusters.
Dimension reduction
- Principal Component Analysis (PCA)
- Find the best way to tell a story using just a few important pictures, instead of showing every single detail and tons of words.
Reinforcement (teaching a robot/dog to play a game: it learns by trying different things, getting rewards when it does well, and figuring out how to do better next time.)
Steps of Machine learning
- Data Collection
- Data Preparation (preprocessing)
- Handling missing values and data formats

- Country name: Germany, GERMANY, germany, Deutschland, DE, De, de
- True/false: TRUE, true, True, FALSE, False, false, 1, 0
- Feature selection
- Dimensionality reduction
- Normalization
- Choice of Model
- Training of Model
- Remember to split the data into the training set and testing set
- Evaluation of Model
- Parameter Tuning and Optimization
- Predictions and Deployment
Common Libraries
Ways of importing libraries