Straight Line Equation

A straight line equation represents a linear relationship between two variables, typically written as y = mx + b, where m is the slope (gradient) and b is the y-intercept.

Linear Regression

A statistical method used to model the relationship between a dependent variable (y) and one or more independent variables (x) by fitting a linear equation to observed data. It assumes a straight-line relationship between x and y — meaning change in y is proportional to change in x.

Logistic Regression

A statistical method used for binary classification problems, where the goal is to predict a categorical dependent variable based on one or more independent variables. It transforms a linear combination of input variables using the sigmoid function to output probabilities between 0 and 1.

Matrices & Vectors

In machine learning, matrices and vectors are used to represent datasets — rows are data points and columns are features. They form the backbone of many algorithms used in machine learning.

Matrix
A rectangular array of numbers arranged in rows and columns.
Vector
A one-dimensional array of numbers. A matrix with only one row or column.
💡 Tip: Make sure you understand matrix multiplication — it comes up constantly in ML algorithms.

Calculus

Differentiation and Integration are widely used in AI and machine learning for optimization, neural networks, and data analysis.

Probability Theory

Understanding probability is essential for evaluating model performance. These are the four key outcomes in classification:

True Positive (TP)
Correctly predicted positive.
False Positive (FP)
Incorrectly predicted positive. Type I Error.
False Negative (FN)
Incorrectly predicted negative. Type II Error.
True Negative (TN)
Correctly predicted negative.

Descriptive Statistics

These five measures are foundational to understanding your data before running any model:

Wrapping Up

These concepts form the mathematical foundation you'll need to properly understand machine learning. A solid grasp of them will help you quickly learn and implement ML models without getting lost in the jargon.

In the upcoming articles, I'll cover machine learning concepts in detail — types, use cases, and code snippets. Happy Learning!

← All Articles Machine Learning — Supervised & Unsupervised →