AI glossary: terms starting with B
48 terms starting with B, each defined the way the lesson that teaches it uses it, with a link to every lesson where it appears.
- backpropagation
the backward pass on a computation graph, each local derivative used once
Example: how deep learning libraries compute gradients
- backward pass
start from the output and multiply local derivatives back along each edge
Example:
∂f/∂a = 10 · 1 · 3 = 30- ball
every point within distance
rof a centreExample:
‖x − c‖₂ ≤ r- bandwidth
The amount of smoothing in a KDE. seaborn scales it with
bw_adjust.Taught in- bar
a mean
Example:
x̄ = (2, 2),ȳ = 4.6667Taught in- bar encoding
Magnitude represented by length from the baseline, which is why a bar axis starts at zero.
Taught in- base case
The part of a recursive function that returns without calling the function again:
if n <= 1: return 1.Taught in- base rate
Event fraction in a stated starting population: 6,636 / 30,000 = 22.12%.
- base, exponent
in
bⁿ,bis the base andncounts how many times it is multipliedExample:
2³ = 2 × 2 × 2Taught in- baseline
A simple prediction rule used for comparison; here, the training mean for each weekday.
- basis function
A transformed feature used as a column.
- basis vectors
e₁ = (1, 0)ande₂ = (0, 1); every point is a combination of themExample:
(1, 2) = e₁ + 2e₂- batch gradient descent
Every update uses every training row.
- batch size
The number of rows in a mini-batch.
- Bayes' theorem
The update from a prior and the likelihoods in each class to a posterior: likelihood times prior, divided by the total probability of the evidence.
Taught in- Bayesian optimization
Choosing each next setting from the scores of the settings tried so far.
Taught in- Bernoulli outcome
One recorded zero or one under this model.
- Bernoulli rate
The probability that a transaction has fraud label one.
- Bernoulli trial
One modelled outcome that is one with probability p and zero otherwise.
- best case
The fewest operations any input of size n needs: a linear search that finds its value first time makes one comparison.
Taught in- Beta distribution
A probability distribution over a rate from 0 to 1, with mean a / (a + b).
- bias
Error from a model too simple for the pattern.
- bias, variance
The two parts of the error that the penalty trades.
Taught in- Big-O notation
An asymptotic upper bound on growth. These lessons use the tightest usual bound, dropping constants and smaller terms:
4n + 4is O(n).Taught in- bin
A declared interval of values.
[5, 10)includes5and excludes10.Taught in- binary
Classification with two classes, such as spam or ham.
Taught in- binary search
Finding a value in a sorted list by comparing it with the middle of the range, and keeping the half that can still hold it.
Taught in- bind
To add a name to the namespace, with a reference to an object.
- binomial count
Number of ones across a fixed number of Bernoulli trials.
- binomial distribution
Probability pattern of the count across a fixed number of independent Bernoulli trials.
- binomial mean
n times the one-trial probability p.
- bisection
halve an interval that contains a zero, keeping the half where the sign changes
Example:
2x + eˣ = 0on[−1, 0]- bivariate view
A view of two variables together, such as each daily count against its date.
- block
The indented lines that belong to an
if,else,while,fororcase. The first line back at the outer level ends it.Taught in- bool
True or False. The type of
TrueandFalse, both keywords, written with a capital letter.Taught in- Boolean mask
Boolean array selecting elements where it is true
- bootstrap
Drawing new samples, with replacement, from the one observed set itself.
Taught in- bootstrap distribution
The collection of a statistic from many bootstrap replicates.
Taught in- bootstrap replicate
One resampled dataset, drawn with replacement from the observed rows.
Taught in- bootstrap resample
A sample of the same size drawn from the data with replacement.
Taught in- box plot
A plot of quartiles, median, whiskers and flagged observations.
Taught in- branch
One of the blocks a condition chooses between. In an
ifandelse, exactly one branch runs.Taught in- break
Ends the loop at once; the program continues with the first line after it. It ends only the loop it is directly in.
- breakpoint
The line where the debugger stops.
breakpoint()in the code sets one; so does a click beside a line number in VS Code.Taught in- Broadcasting
Matching dimensions from the right, repeating a size-one dimension conceptually
- bucket
One slot in a hash table. A key's hash, modulo the number of buckets, chooses its bucket.
Taught in- Buffer
Contiguous storage for the array's elements
Taught in- bug
Code that runs, and does something other than what it should.
Taught in