AI & AI Engineering
Machine Learning
Prepare for machine learning fundamentals, algorithms, feature engineering, model training, evaluation, optimization, and practical machine learning applications.
Your learning roadmap
Explore the key concepts
Use these subtopics as a study checklist. Start with the fundamentals, then progress to practical examples and interview preparation.
Machine learning fundamentals
Understand the foundations of machine learning, including how algorithms learn patterns from data, make predictions, identify relationships, and improve through training.
Start learningIntroduction to machine learning
Explore how machine learning enables computers to learn from examples instead of relying entirely on explicitly programmed rules, including common workflows and applications.
Start learningTypes of machine learning
Compare supervised, unsupervised, semi-supervised, and reinforcement learning, understanding their training approaches, data requirements, and practical use cases.
Start learningSupervised learning
Learn how supervised learning uses labeled training data to build predictive models for tasks such as classification and regression.
Start learningUnsupervised learning
Understand how unsupervised learning discovers hidden patterns, groups, structures, and relationships in datasets without predefined target labels.
Start learningSemi-supervised learning
Explore semi-supervised learning techniques that combine a small amount of labeled data with larger collections of unlabeled data to improve model training.
Start learningReinforcement learning fundamentals
Understand reinforcement learning through agents, environments, actions, rewards, and policies, and how agents learn strategies through interaction and feedback.
Start learningClassification and regression
Compare classification and regression, understanding how classification predicts discrete categories while regression estimates continuous numerical values.
Start learningTraining, validation, and test datasets
Learn how to divide datasets into training, validation, and test subsets, understand the purpose of each split, and prevent data leakage during model development.
Start learningData preprocessing
Explore the data preprocessing workflow, including cleaning, transformation, encoding, scaling, and preparing raw datasets for reliable machine learning models.
Start learningData cleaning and missing values
Learn how to identify duplicate records, inconsistent values, incorrect formats, and missing data, and choose suitable strategies for handling data quality problems.
Start learningFeature engineering
Understand feature engineering techniques for creating meaningful input variables from raw data using domain knowledge, mathematical transformations, and existing features.
Start learningFeature selection
Explore feature selection methods that identify relevant input variables, remove redundant information, reduce model complexity, and improve generalization.
Start learningCategorical and numerical feature encoding
Learn how to represent categorical and numerical variables using techniques such as one-hot encoding, ordinal encoding, and suitable numerical transformations.
Start learningFeature scaling and normalization
Compare standardization and normalization techniques, understanding how feature scales influence distance-based algorithms, gradient optimization, and model performance.
Start learningHandling imbalanced datasets
Understand class imbalance and its effect on predictive models, including oversampling, undersampling, class weights, SMOTE, and appropriate evaluation metrics.
Start learningLinear regression
Learn how linear regression models relationships between independent variables and a continuous target using coefficients, intercepts, and least-squares optimization.
Start learningLogistic regression
Understand logistic regression as a classification algorithm that estimates class probabilities using a logistic function, decision thresholds, and model coefficients.
Start learningDecision trees
Explore decision trees and how they split datasets using feature-based conditions, impurity measures, and recursive rules to perform classification or regression.
Start learningRandom forests
Learn how random forests combine multiple decision trees trained on sampled data and feature subsets to improve predictive stability and reduce overfitting.
Start learningGradient boosting
Understand gradient boosting, where models are trained sequentially to correct previous prediction errors and progressively improve overall predictive performance.
Start learningXGBoost and LightGBM
Compare XGBoost and LightGBM, focusing on gradient-boosted tree architectures, regularization, efficient training strategies, and practical model-tuning considerations.
Start learningSupport vector machines (SVM)
Learn how support vector machines identify decision boundaries with maximum margins and use kernel functions to handle complex classification problems.
Start learningK-nearest neighbors (KNN)
Understand K-nearest neighbors and how predictions are made using the labels or values of nearby training examples based on a selected distance metric.
Start learningNaive Bayes
Explore Naive Bayes classifiers and how Bayes' theorem with conditional independence assumptions supports efficient probabilistic classification, especially for text data.
Start learningEnsemble learning
Understand ensemble learning and how combining multiple models can improve predictive accuracy, stability, and generalization compared with individual models.
Start learningBagging and boosting
Compare bagging and boosting, examining how bagging trains models on sampled datasets while boosting builds sequential models that focus on previous errors.
Start learningClustering algorithms
Explore clustering algorithms that group similar observations without predefined labels, including their distance measures, assumptions, and practical applications.
Start learningK-means clustering
Learn how K-means partitions data into a specified number of clusters by iteratively assigning observations to centroids and updating cluster centers.
Start learningHierarchical clustering
Understand hierarchical clustering and how it builds nested groups through agglomerative or divisive strategies, often represented using dendrograms.
Start learningDBSCAN
Explore DBSCAN, a density-based clustering algorithm that identifies dense groups of observations, detects noise, and discovers clusters with irregular shapes.
Start learningDimensionality reduction
Understand dimensionality reduction techniques that transform high-dimensional datasets into fewer variables while attempting to preserve important information.
Start learningPrincipal Component Analysis (PCA)
Learn how Principal Component Analysis transforms correlated features into orthogonal principal components that capture directions of maximum variance.
Start learningModel training fundamentals
Understand the machine learning training process, including model initialization, fitting algorithms, parameter estimation, optimization, and performance measurement.
Start learningLoss and cost functions
Explore loss and cost functions used to quantify prediction errors and guide model optimization across regression, classification, and other learning tasks.
Start learningGradient descent
Learn how gradient descent updates model parameters using loss-function gradients and a learning rate to iteratively minimize prediction errors.
Start learningBias and variance
Understand bias and variance as sources of model prediction error and how model complexity, training data, and learning assumptions influence generalization.
Start learningOverfitting and underfitting
Learn how overfitting and underfitting affect machine learning models, recognize their symptoms through training and validation performance, and apply suitable remedies.
Start learningRegularization techniques
Explore regularization methods such as L1 and L2 penalties, dropout, and early stopping to control model complexity and reduce overfitting.
Start learningCross-validation
Understand cross-validation techniques, including K-fold and stratified K-fold validation, for estimating model performance across multiple training and validation splits.
Start learningHyperparameter tuning
Learn how to tune hyperparameters such as learning rates, tree depth, regularization strength, and neighborhood size to improve model performance.
Start learningGrid search and random search
Compare grid search and random search for hyperparameter optimization, understanding their search strategies, computational costs, and suitability for different parameter spaces.
Start learningModel evaluation metrics
Explore how to select evaluation metrics based on the machine learning task, dataset characteristics, business objectives, and consequences of prediction errors.
Start learningConfusion matrix
Understand the confusion matrix and how true positives, true negatives, false positives, and false negatives help analyze classification model performance.
Start learningAccuracy, precision, recall, and F1-score
Learn how accuracy, precision, recall, and F1-score measure different aspects of classification performance and when each metric is appropriate.
Start learningROC curve and AUC
Understand ROC curves and Area Under the Curve, including how true positive and false positive rates help evaluate classification models across decision thresholds.
Start learningMean Absolute Error and Mean Squared Error
Compare Mean Absolute Error and Mean Squared Error for regression evaluation, understanding their error calculations and sensitivity to large prediction mistakes.
Start learningModel interpretability
Explore model interpretability techniques that help developers and stakeholders understand how machine learning models produce predictions and make decisions.
Start learningFeature importance
Learn how feature importance methods estimate the contribution of input variables to model predictions using techniques such as impurity-based scores and permutation importance.
Start learningExplainable AI (XAI)
Understand Explainable AI approaches such as SHAP and LIME that help explain individual predictions, identify influential features, and improve model transparency.
Start learningModel selection
Learn how to compare candidate algorithms and select a suitable model based on validation performance, complexity, interpretability, computational cost, and deployment requirements.
Start learningProbability calibration
Understand probability calibration and how techniques such as Platt scaling and isotonic regression improve the reliability of predicted class probabilities.
Start learningMachine learning pipelines
Explore machine learning pipelines that combine preprocessing, feature transformation, model training, and prediction into repeatable workflows that reduce data leakage.
Start learningScikit-learn fundamentals
Learn Scikit-learn fundamentals, including estimators, transformers, pipelines, train-test splitting, model fitting, evaluation metrics, and hyperparameter search.
Start learningMachine learning with Python
Explore how to develop end-to-end machine learning applications in Python using data processing libraries, Scikit-learn, visualization tools, and practical model workflows.
Start learningModel persistence and serialization
Understand how to save and reload trained machine learning models using serialization techniques and formats such as Joblib, Pickle, and model-specific persistence options.
Start learningModel deployment fundamentals
Learn the fundamentals of deploying trained models into applications through APIs, batch-processing systems, model-serving infrastructure, and production environments.
Start learningBatch and real-time prediction
Compare batch and real-time prediction architectures, including their processing patterns, latency requirements, throughput considerations, and suitable application scenarios.
Start learningModel monitoring and drift detection
Understand production model monitoring, including prediction quality, data drift, concept drift, performance degradation, and strategies for detecting and responding to changes.
Start learningMachine learning performance optimization
Explore techniques for improving machine learning performance through feature optimization, efficient algorithms, parallel processing, model compression, and inference improvements.
Start learningPractical machine learning projects
Apply machine learning concepts through complete projects involving problem definition, data preparation, feature engineering, model selection, evaluation, and deployment.
Start learningPractice & revise
Interview questions
Practice interview questions with answers, key points, and practical examples.
Test your knowledge
Explore 100 questions for this topic, covering concepts, practical examples, and interview scenarios.
Keep learning step by step
Work through the concepts, practice explaining them in your own words, and use interview questions to check your understanding.
Explore another learning path