AI glossary: terms starting with M
45 terms starting with M, each defined the way the lesson that teaches it uses it, with a link to every lesson where it appears.
- machine epsilon
the gap between 1 and the next float,
2.22 × 10⁻¹⁶in float64Example:
np.finfo(float).eps- machine learning
Choosing a program's parameters from examples, then using it on new examples.
Taught in- MAE
Mean absolute error, average absolute prediction miss in the original unit.
- Mahalanobis distance
Distance from the fitted centre after accounting for covariance.
Taught in- Manhattan distance
The sum of the absolute differences.
Taught in- MAR (missing at random)
Missingness independent of the missing value after conditioning on observed variables.
Taught in- marginal distribution
One variable's distribution after counting across the other variable.
- matrix
a table of numbers, written as a capital
Example:
X, shape(3, 2)- Matrix product
Row-column combination written
@- matrix–vector product
each row of the matrix dotted with the vector, one output per row
Example:
Xw = (5, −3, 10)- maximum
the derivative changes from positive to negative
Example:
x⁴ − 4x² + xat0.126- maximum likelihood estimate
Parameter value where the observed-data likelihood is largest.
- MCAR (missing completely at random)
Missingness probability independent of observed and unobserved values.
Taught in- mean
The sum of observed values divided by their count.
- Mean absolute error
total absolute error divided by evaluated trips; the average size of the error per trip.
- mean squared error
The average of the squared residuals.
Taught in- mean vector
One average coordinate for each feature.
Taught in- mean vector (centroid)
the component-by-component mean of a set of points
Example:
(4, 3)- median
the middle value; it minimises the sum of absolute errors
Example:
13.2for the six hero prices- memorisation
Storing the training examples' answers instead of learning a rule, as model M does.
Taught in- method
A function that belongs to an object, called with a dot:
cart.append(...),review.lower().- mini-batch
A small group of training rows used for one update.
- minimum
the derivative changes from negative to positive
Example:
f′(1) = −1,f′(2) = 1- Minkowski distance
(Σ | dᵢ | ᵖ)^(1/p); Manhattan at p = 1, Euclidean at p = 2; a distance only for p ≥ 1.Taught in- missing outcome group
Cases whose result cannot be observed under the stated process.
- missing value
A cell with no recorded value, read by pandas as
NaN.Taught in- missingness
Absent recorded values in a stated field and set of rows: 135,080 lines have no
CustomerID.- missingness mechanism
A possible reason a value is missing; the rows alone cannot say which one applies.
Taught in- MNAR (missing not at random)
Missingness still depends on unavailable values after conditioning on observed information.
Taught in- modal bin
The histogram interval with the highest count under declared edges.
Taught in- mode
The most frequent observed value under a stated precision (here, to the penny).
Taught in- model
The form of the rule, with its parameters left open: "spam when the digit count is at least
t".Taught in- module
A Python file that other code imports.
Taught in- modulo
%: the remainder after floor division.10 % 3is1, and-7 % 2is1.Taught in- monitoring
Measuring a deployed model's score on new labelled data.
Taught in- Monte Carlo error
Difference caused by using finitely many random draws under a fixed model: 30.44% simulated against 29.94% exact.
Taught in- Monte Carlo simulation
Repeated random draws and outcome calculations under stated assumptions.
Taught in- moving average
The mean of each value and its neighbors; a centered three-week one uses the week and the weeks either side.
Taught in- multi-class
Classification with more than two classes, such as the ten digits.
Taught in- multicollinearity
Collinearity among more than two features.
Taught in- multiple linear regression
A linear model with more than one feature.
Taught in- multivariate normal
A normal probability model for a vector of jointly varying numeric features.
Taught in- mutable
A type whose objects can be changed after they are created; a list is mutable, and so are sets and dictionaries.
Taught in- mutation
Changing an object in place, which every alias sees:
append,remove,sort, assigning to an index.Taught in- mutually exclusive
Two events with no shared outcomes, such as spam and real.