How to Build a Custom Instruction Dataset for LLM Fine-Tuning
Learn how to build a custom instruction dataset for LLM fine-tuning, covering Alpaca, ShareGPT, and DPO formats, quality filtering, synthetic data...
Machine Learning tutorials from Machine Learning Plus: hands-on guides with worked examples and code you can read, copy and run. Start with the fundamentals and work through to the applied posts in the Machine Learning track.
Learn how to build a custom instruction dataset for LLM fine-tuning, covering Alpaca, ShareGPT, and DPO formats, quality filtering, synthetic data...
Creating custom regressors in scikit-learn means building your own machine learning models that follow scikit-learn's API conventions, allowing them...
A structured roadmap to learn Data Science, AI, and ML from scratch. Covers foundations, Python, statistics, machine learning, deep learning, and...
Understand the key differences between mutual information and cross-entropy. Learn how each measures relationships between probability distributions...
Bayesian Optimization is a method used for optimizing 'expensive-to-evaluate' functions, particularly useful in hyperparameter tuning for machine...
At its core, KL (Kullback-Leibler) Divergence is a statistical measure that quantifies the dissimilarity between two probability distributions.
The Probe method is a highly intuitive approach to feature selection. The idea is to introduce a random feature to the dataset and train a machine...
Cook’s distance is a measure computed to measure the influence exerted by each observation on the trained model. It is measured by building a...
Z score, also called as standard score, is used to scale the features in a dataset. It can also be used to detect outliers.
Z score is one of the most important concepts in statistics. It is also called __standard score__. Typically it is used to scale the features for...
Outliers are those specific data points that differ significantly from others. Let's understand how to identify them using IQR and Boxplots.
MICE Imputation, short for 'Multiple Imputation by Chained Equation' is an advanced missing data imputation technique that uses multiple iterations...
Spline interpolation is a special type of interpolation where a piecewise lower order polynomial called spline is fitted to the datapoints.
Interpolation can be used to impute missing data. Let's see the formula and how to implement in Python.
The quality of ML model results depend on the data provided. Missing values in data degrade the quality. Let's see how to use missing data imputation...
Exploratory Data Analysis (EDA) is the step where you understand the data in detail: each variable through frequency counts and distribution plots...
ML modeling is the step where machine learning is used to find patterns in data and use that learned knowledge to predict an outcome
Adaboost is one of the earliest implementations of the boosting algorithm. It forms the base of other boosting algorithms.
Let's understand how to define and formulate the machine learning problem (for predictive modeling) from a business problem.
Build your first machine learning project in Python from scratch. A beginner-friendly, step-by-step guide, no prior ML experience needed to get...
Python is the most popular programming language used for AI and machine learning. Let’s see how to setup python environment for ML using anaconda.
The train-test split technique is a way of evaluating the performance of machine learning models
A cheat sheet of tasks and things to take care of for every end-to-end ML projects
The Data Science Roadmap: a self-study guide to machine learning in about 6 months, with what to learn for data science, ML, AI and statistics, the...
Why understanding the math behind ML algorithms matters even when libraries exist. Learn how mathematical intuition helps with debugging, tuning, and...
I want to discuss some of the common mistakes that programmers make when starting to learn machine learning.
The use cases of machine learning to real world problems keeps growing as ML/AI sees increased adoption across industries. Let's take of tour of the...
Not all Data Science projects that get kicked-off see the light of day. Let's understand the common reasons why machine learning projects may fail.
Understand the formula behind linear regression coefficients (alpha and beta). Step-by-step derivation with examples for simple linear regression.
Let's understand what linear regression is all about from a non-technical perspective, before we get into the details, we will first understand from...
Explore Nebullvm, an open-source library that optimizes deep learning models to run 5-20x faster. Includes installation, benchmarks, and supported...
Simulated annealing algorithm is a global search optimization algorithm that is inspired by the annealing technique in metallurgy. Understand the...
Learn how Gradient Boosting builds strong predictors by combining many weak learners sequentially. Understand the algorithm, math, and how to prevent...
Bias Variance Tradeoff represents a machine learning model's performance based on how accurate it is and how well it generalizes on new dataset
Gradient boosting works by building weak prediction models sequentially where each model tries to predict the error left over by the previous model.
Portfolio optimization in finance is the process of creating a portfolio of assets, which maximizes return and minimizes risk.
Understand PCA, the math, concept, and Python implementation. Learn how Principal Component Analysis reduces dimensions while preserving maximum...
Discover 10 powerful feature selection techniques in R including Boruta, Lasso, stepwise selection, and variable importance to build better...
Using caret package, you can build all sorts of machine learning models. In this tutorial, I explain the core features of the caret package and walk...
Computing just the accuracy to evaluate a classification model is not enough. This tutorial shows how to build and interpret the evaluation metrics.
Learn the concepts behind logistic regression, its purpose and how it works. This is a simplified tutorial with example codes in R. Logistic...
Learn how to implement linear regression in R, its purpose, when to use and how to interpret the results of linear regression, such as R-Squared, P...