AI glossary: terms starting with S
114 terms starting with S, each defined the way the lesson that teaches it uses it, with a link to every lesson where it appears.
- saddle point
a point with zero gradient that is neither a minimum nor a maximum
Example: the origin of
x² − y²- Sample
observed recorded trips.
- sample covariance
Average centred cross-product, using one less than the sample count.
Taught in- sample mean
Sum of sampled numeric values divided by sample size.
Taught in- sample space
The outcomes under consideration; here, all 284,807 recorded transactions.
Taught in- sample standard deviation
The square root of the sample variance, in the original unit.
- sample statistic
A number calculated from the selected sample, such as its mean.
- sample variance
The sum of squared deviations divided by
n - 1. Its unit is the original unit squared.- sampling distribution
Distribution of a statistic across repeated samples under one design.
- sampling frame
The operational set or process from which sample members can be selected.
- sampling unit
One eligible invoice ID, the unit a draw selects.
- sampling without replacement
One ID appears at most once in a draw; the full frame is available again for the next draw.
- scalar multiplication
every component times one number
Example:
2 · (3, 1) = (6, 2)- scatter plot
One point per paired numerical observation.
- schema
Field names and stored data types in a table, as
df.info()shows them.- scientific notation
a number times a power of ten; Python writes it
3.6e-06Example:
3.6 × 10⁻⁶Taught in- scope
The region of a program in which a name is available; a comprehension's loop variable has its own scope.
- score
w · x + bfor a pointxExample:
6forP = (4, 3)- search budget
The number of fits a search may use.
Taught in- secant
a line through two points of a curve
Example: through
(1, 1)and(2, 4), slope3- second derivative
the derivative of the derivative,
f″(x)Example:
x³ − 3x → 6x- Seed
Starting value used to reproduce a generator's sequence
- selection
A rule determining which source rows enter a reported subset.
- selection bias
When the way rows are chosen makes the data differ from the population a claim is about.
Taught in- selection instability
A different sample choosing different features.
Taught in- selective reporting
Showing only the results that found something, and leaving out the checks that did not.
selfThe conventional first parameter of an instance method: the object the method was called on.
review.is_positive()isReview.is_positive(review).Taught in- self-supervised learning
Learning from labels taken from the data itself, as a language model predicts the next word.
Taught in- semi-supervised learning
Learning from a few labelled and many unlabelled examples.
Taught in- sensitivity check
Recompute after one stated change to see its effect.
- sentinel
A value that marks the end of the input, and is not processed, such as an empty entry at a checkout.
Taught in- sentinel value
A special value that stands for a missing or unusual case, not an amount:
pdays = 999.- separator
Text used between fields when splitting or joining strings.
Taught in- set
An unordered collection in which each value appears at most once. An empty set is
set().Taught in- set comprehension
A set built from an expression evaluated for each item:
{len(item) for item in items}.Taught in- shallow copy
A new outer collection that still refers to the original elements; nested mutable elements remain shared.
Taught in- Shape
Element count on each axis, as a tuple
- shape parameter
A number defining an assumed Beta curve before sampled evidence.
- shape rule
the matrix's number of columns must equal the vector's length; the result has one entry per row
Example:
(3, 2) @ (2,) → (3,)- shape rule for products
(m, k) @ (k, n) → (m, n)Example:
(2, 3) @ (3, 4) → (2, 4)- shift
adding
k, or replacingxwithx − hExample:
(x − 3)² + 1Taught in- short circuit evaluation
andandorstop as soon as they know the answer: inFalse and xandTrue or x, thexis never evaluated.Taught in- shrinkage
Pulling the weights toward zero.
Taught in- side effect
An action such as printing or mutating an object, beyond producing a return value.
Taught in- sigmoid
1 / (1 + e⁻ˣ), an S-shaped curve between zero and oneExample:
0.5atx = 0- sign of the determinant
negative when the transformation flips the plane over
Example: the flip,
−1- signal
Information a feature carries about the label; the less the class distributions overlap, the more signal.
Taught in- signature
A function's name and its parameters, as the documentation lists them:
sorted(iterable, /, *, key=None, reverse=False).Taught in- signed distance
(w · x + b) / ‖w‖, positive on the sidewpoints toExample:
2.6833- significand
the binary digits of the number, 53 of them in float64
Example:
1.1₂for0.75- Simple model
a rule, calculated from recorded trips, that gives a prediction for a new trip. Both forecasts in 00.1, one duration for every trip and one duration per pickup zone, are simple models.
- simple random sample
Every set of this size has equal chance.
Taught in- Simpson's paradox
An overall comparison that reverses inside the subgroups because the groups have different compositions.
- simulation
An explicit teaching rule or process applied to data and labelled as such; here the screen
PAY_0 <= 0, not an actual lender rule.- singular matrix
a square matrix with no inverse; it flattens at least one direction, and its determinant is zero
Example:
[[1, 2], [2, 4]]- singular value
the length of a semi-axis of the ellipse; how much the matrix stretches one direction
Example:
6.7082,2.2361- singular vectors
vᵢ, the input directions, anduᵢ, where they landExample:
v₁at 45°,u₁at 71.57°- skewed
A distribution with a long tail on one side, whose few large values pull its mean away from its median:
area_se, median 24.61, largest 542.2.Taught in- slice
A range of elements, from a start up to but not including a stop, with an optional step:
temps[2:5],temps[::-1]. Slicing a list creates a new outer list; slicing a tuple or string returns the same type, possibly reusing an unchanged immutable object.- slice step
The spacing and direction used to select positions in a slice.
Taught in- slope
Change in fitted minutes per additional mile.
- smoothing
Replacing nearby values with a declared local summary, such as a three-week moving average.
Taught in- soft thresholding
Shrinking a value toward zero by α and setting it to zero when it is within α of zero.
Taught in- source population
The recorded cases a summary begins with: 30,000 existing clients.
- source-population bias
Systematic difference between the available frame and the population a claim is meant to describe.
Taught in- space complexity
How memory use grows with input size. Extra storage excludes the input; auxiliary space also excludes the returned output. State which is being counted.
Taught in- span
every combination of a set of vectors
Example: a plane through the origin
- sparse values
Many recorded zeros with fewer nonzero entries.
- sparsity
Many weights exactly zero.
Taught in- special method
A method with two underscores on each side of its name, which Python calls itself:
__init__,__repr__,__eq__,__add__.Taught in- spline
A curve built from joined low-degree pieces.
- spread
How far observed values extend around a stated center.
- squared deviation
The square of an observed value minus the group mean.
- squared error
A residual multiplied by itself.
Taught in- stable sort
A sort that keeps items with equal keys in their original order.
sortedandlist.sortare stable.- stacked bar plot
Outcome segments placed end to end within a group. Scaled to equal height, it shows fractions and hides group size.
- standard deviation
Square root of variance, in the original units: about $306.02 for the first rule's costs.
- standard error
Spread of a statistic across repeated samples.
- standard error of a cross-validated score
The fold scores' standard deviation over the square root of the number of folds.
Taught in- standard library
The modules that come with Python:
math,pathlib,csv,json,importlib.Taught in- standard normal
Normal model with mean zero and SD one.
Taught in- standardised coefficient
The change in the prediction for a one-standard-deviation change in the feature.
Taught in- standardising
subtract the mean, divide by the standard deviation
Example: the lot's age and mileage
- standardization
Recomputing group rates under one declared subgroup mix.
- star
the optimal value for an objective
Example:
w* = (2.7667, −0.3333)Taught in- statement
One instruction. Python executes a program's statements one at a time, from top to bottom.
- stationary point
a point where the derivative is zero
Example:
x² − 3x + 2at1.5- Statistical inference
reasoning from observed cases about unobserved cases, such as using March trips to choose a forecast for trips that have not happened yet.
- Statistics
describing observed data and reasoning about unobserved cases.
- stochastic gradient descent
Each update uses one training row, in shuffled order.
- stockout
The simulated total exceeds the candidate stock.
Taught in- str
Text, a sequence of characters, written in single, double or triple quotes.
Taught in- stratified k-fold
Folds that keep each class's share.
Taught in- stratified sample
Separate random draws within predeclared groups.
- stratified split
A split that keeps each class's share the same in every part.
- stratum
A predeclared, nonoverlapping group used for selection; here United Kingdom, Germany, France and Other.
Taught in- stretch
multiplying the output by
aExample:
2x²Taught in- strictly convex
every chord lies strictly above the curve; at most one minimiser
Example:
x²(one),log(1 + eˣ)(none)- string
Text, written in quotes:
"Hello, world!". Its type isstr.- strip sum
the total area of thin rectangles under a curve
Example:
0.46875with four right-edge stripsTaught in- subclass
A class defined from a base class:
RatingErroris a subclass ofValueError.Taught in- subgroup
Records selected by one declared value of another variable.
- subgroup view
The same measure split by a declared category, such as recorded country.
- subscript
a small index written below and to the right
Example:
x₂₁ = 0Taught in- substring
A contiguous sequence of characters within a string.
Taught in- successive halving
Running many settings on little data and giving more data to the best.
Taught in- summary statistic
One number computed from a whole data set, such as a correlation; it can not show the shape behind it.
Taught in- summation
Σ add an expression over an index
Example:
Σᵢ₌₁³ i² = 14Taught in- superscript
a small mark above and to the right
Example:
x², orx⁽¹⁾for row 1Taught in- supervised learning
Learning from examples whose labels are known.
Taught in- survey weight
A released value used with survey guidance to represent the target population in an analysis.
Taught in- survivorship bias
A summary distorted because only cases that passed a selection step were recorded: the simulated approvals default at 13.8%, the simulated rejects at 50.3%.
- SVD
A = UΣVᵀ: rotate, stretch along the axes, rotateExample: every matrix
- symmetric matrix
equal to its own transpose; real eigenvalues, perpendicular eigenvectors
Example:
XᵀX