AI glossary: terms starting with C
87 terms starting with C, each defined the way the lesson that teaches it uses it, with a link to every lesson where it appears.
- call
Running a function's body, by writing its name and round brackets:
with_tax(12.50).Taught in- call stack
The frames of every call that has started and not yet returned, the newest on top.
Taught in- cancellation
the loss of correct digits when two nearly equal numbers are subtracted
Example:
(1 + h)² − 1ath = 10⁻¹²- cancellation record
An invoice ID with a C prefix; refund status is not established.
Taught in- candidate feature
A recorded input proposed for later model evaluation.
- capacity
How closely a model can follow its training rows.
- categorical
A column whose values name groups, even when they are stored as numbers.
Taught in- category
A named group represented by a recorded value.
- causal claim
A claim about what would change if something were changed; the report can not make one from this file.
- causal effect
The outcome change attributable to an intervention under a valid comparison.
- CDF
Cumulative probability at or below a value.
- CDF gap
The largest vertical distance between the two classes' empirical CDFs: 0.812 for
concave_points_worst. A threshold placed there separates the classes as well as the feature can.Taught in- central limit theorem
Under suitable conditions, standardized sample means approach a normal distribution as sample size increases; it gives no fixed sample size.
- centred matrix
each column minus its mean, so every column mean is zero
Example:
[[0, −1], [−2, 1], [2, 0]]- centring
Subtracting each feature's mean.
- chain rule
the derivative of
f(g(x))isf′(g(x)) · g′(x)Example:
(3 − 2x)² → 2(3 − 2x)(−2)- chaining
Calling a method on the value the previous method returned:
review.strip().lower().Taught in- Chebyshev distance
The largest absolute difference.
Taught in- chord
a straight line between two points of a curve
Example:
x²from−2to1- chronological holdout
A later test period separated from earlier training dates.
Taught in- churn indicator
One for a recorded churn label, zero otherwise.
- class
A definition of a new kind of object:
class Review:. Calling it,Review(...), creates an instance.Taught in- class-conditional distribution
The distribution of a feature within one class:
concave_points_worstamong the malignant tumors.Taught in- classification
Supervised learning where the answer is one of a set of categories.
Taught in- closed form
A formula that gives the minimum directly, without iterating.
- closure
A function that retains access to bindings in an enclosing function scope after the outer call returns.
- clustering
Finding groups of similar examples (Module 12).
Taught in- coefficient
Score change when x rises by one.
- coefficient path
Every weight plotted against the penalty strength.
Taught in- Colab
Jupyter notebooks in the browser, run on Google's computers. Notebooks are saved to Google Drive, and nothing is installed locally.
Taught in- collection artifact
A pattern in the data made by how it was collected, not by what it records.
Taught in- collinearity
Features that are close to linear functions of each other.
- collision
Two keys in the same bucket, such as
46and22in a table of eight buckets.Taught in- column mean
the average of one column, one number per feature
Example:
(2, 2)- column space
the span of a matrix's columns, every possible
Ax|- column vector
one column,
d × 1Example:
u.reshape(-1, 1)Taught in- columns of a matrix
where
e₁ande₂landExample:
[[2, 1], [1, 3]]:(2, 1)and(1, 3)- comment
Text after
#, skipped when the code runs. A comment over several lines starts each line with its own#.- comparison operator
An operator that gives True or False:
==,!=,<,>,<=,>=.Taught in- complement
Every outcome in the sample space outside an event.
Taught in- complementary slackness
either the constraint is tight or its multiplier is zero
Example:
x + y ≤ 4: multiplier0- complex
A number with real and imaginary parts, such as
1 + 2j. Thejmarks the imaginary part;type(1 + 2j)is<class 'complex'>.Taught in- component
one entry of a vector
Example:
3in(3, 2)Taught in- composition
one transformation applied after another
Example: shear, then rotate
- computation graph
a calculation drawn as nodes, one operation each, joined by the values they pass
Example:
u = 3a,v = u + b,f = v²- condition
An expression whose truth value an
ifor awhiletests, such astotal >= 50orname.Taught in- condition number
how much a matrix can magnify a small relative change; 1 is perfect, and large means nearly singular
Example:
25,008for[[1, 2], [2, 4.001]]- conditional expression
a if condition else b, an expression that gives one of two values:0.0 if total >= 50 else 4.99.Taught in- conditional independence
Within each class, one flag result does not alter another flag's probability. An assumption the construction does not establish.
Taught in- conditional probability
A fraction calculated inside a restricted group: P(A given B) counts the outcomes in both and divides by all of B. P(spam given flagged) = 9 / 108.
- confidence interval
Bounds produced by a sampling procedure.
- confidence level
The intended long-run coverage of a procedure under its assumptions.
Taught in- consensus set
The rows within the threshold of the chosen fit.
- constant error spread
Similar conditional residual variability across predictor values.
- constant time
O(1): the same number of operations however large the input, such as
values[0]orlen(values).Taught in- constraint
a condition the answer must satisfy, such as
g(x, y) = cExample:
x + y = 1- contingency table
Counts for each combination of two recorded categories.
- continue
Ends this iteration; the loop goes on with the next item, or checks its condition again.
- continuous random variable
Under a model, any value in an interval is possible, such as a review time from 0 to 10 minutes.
- contour
a curve joining points where the function has the same value
Example: the ellipse
x² + 3y² = 7- contour map
Lines of equal loss over the plane of two parameters.
Taught in- contraction factor
The number the remaining error is multiplied by at each update.
- control total
A published population count used here for comparison.
Taught in- convergence
The parameters settling at the minimum.
Taught in- convex function
every chord lies on or above the curve
Example:
x²,log(1 + eˣ)- Cook's distance
How much the fitted values change when one row is left out.
- coordinate descent
Minimizing over one weight at a time, with the others held fixed.
Taught in- Copy
An array with independent data
- correlation
covariance divided by both standard deviations, between −1 and 1
Example:
0.8Taught in- correlation matrix
the covariance matrix of standardised features; ones on the diagonal, correlations off it
Example:
[[1, 0.9588], [0.9588, 1]]- cosine
the horizontal coordinate of the point at angle θ on the unit circle
Example:
cos 60° = 0.5- cosine distance
One minus cosine similarity.
Taught in- cosine similarity
the cosine of the angle between two vectors
Example:
0.5714for emails 12 and 13- cost matrix
An assumed cost for each action × outcome combination: $1,000 per missed default, $100 per reviewed nondefault, $0 otherwise.
- count vector
one component per vocabulary word
Example: email 12,
(2, 0, 1, 1, 1, 0, 0, 0, 0, 0)- Counter
A dictionary that counts; a missing key counts zero.
Counter(votes).most_common(1)gives[('tea', 3)]. Fromcollections.Taught in- covariance
the mean of the products of two centred features; positive when they rise together
Example:
4- covariance ellipse
axes along the covariance matrix's eigenvectors, semi-axes the square roots of its eigenvalues
Example:
3and1Taught in- covariance matrix
(1/n) XᵀXfor centredX; one row and column per featureExample:
[[5, 4], [4, 5]]- coverage
Fraction of repeated intervals containing a fixed target.
Taught in- credible interval
A rate range containing a stated share of posterior probability under the stated prior and likelihood.
- cross-validation
Estimating a model's score by fitting and validating on several splits of the training rows.
Taught in- CSV
A table stored as text, one row per line, values separated by commas. A value with a comma in it is written in quotes.
Taught in- cumulative distribution function, CDF
Probability at or below a threshold.
Taught in- cumulative fraction
The count at or below a value divided by all selected observations.
- curvature
how sharply a curve bends; its sign says up or down
Example:
+6at 1,−6at−1- curvature along a direction
How fast the slope of the loss changes as one moves that way.