AI glossary: terms starting with F
32 terms starting with F, each defined the way the lesson that teaches it uses it, with a link to every lesson where it appears.
- "f" string
A string with
fbefore the quote; each{expression}inside it is replaced by its value:f"The {item} costs {price}".f′(x)the derivative of
f, a function ofxExample:
x² → 2x- false-positive rate
Probability of a positive flag when the class is real: 10% in the construction.
Taught in- Fancy indexing
Selection by integer positions; returns a copy
- feature
A recorded property of a message, such as whether a certain word appears in it.
- feature code
A stored numeric value standing for a documented category or status.
- feature matrix
The table of features, one row per sample, written
X.Taught in- feature space
one axis per feature
Example: white-cell count against temperature
- field
One attribute a dataclass lists, with a type hint:
rating: int.Taught in- file object
What
opengives back; you read from it or write to it.withcloses it.Taught in- filter
A condition that determines which items are included.
Taught in- finite-population correction
Reduction in sampling spread when draws use a substantial fraction of a finite frame: √((N − n) / (N − 1)).
- fit
The method that learns from examples. It stores what it learned in attributes ending in
_, and returnsself.Taught in- fitted value
Prediction from the estimated line.
- fixed-model uncertainty
Variation from resampled validation rows while fitted models stay unchanged.
Taught in- flagged observation
An observed value outside a declared box-plot fence. It is a flag for inspection, not a proven error.
Taught in- float
A number with a decimal point:
24.75,2.0.Taught in- floating-point number
a sign, a significand and an exponent,
±1.f × 2ᵉExample:
0.75 = 1.1₂ × 2⁻¹- floor division
//: divides, then rounds down toward negative infinity.10 // 3is3, and-7 // 2is-4.Taught in- fold
One of the k parts.
Taught in- format specifier
After the colon in an "f" string's braces, how a value is shown:
{price:.2f},{52000:,},{name:<10}.- formatter
A tool that rewrites code's layout, without changing what it does:
ruff format.- forward pass
compute each node's value from its inputs, in order
Example:
3,5,25- frame
The execution state for one call, including its local namespace and current instruction; its active call-stack entry ends when the call returns.
Taught in- frequency
The number of observations in a bin.
- frequency density
Bin count divided by bin width, used when histogram bins have unequal widths.
Taught in- frozen
A dataclass that blocks field assignment and deletion,
@dataclass(frozen=True). Nested mutable values can still change. With the default equality, its generated hash works only when every hashed field is hashable.Taught in- frozenset
An immutable, hashable set:
frozenset({1, 2}).Taught in- function
A named piece of code that does one job.
print's job is to display a value.- function definition
A
defstatement; running it creates a function object and binds its name. The body does not run until a call.Taught in- function object
An object created by a function definition or lambda, which can be passed, stored and called.
Taught in- fundamental theorem of calculus
the area's rate of growth is the curve's height
Example:
A′(x) = x²Taught in