Expand description
Common input validation helpers.
These utilities centralise the dimension-checking boilerplate that recurs across regression, classification, depth, and alignment entry points.
Functionsยง
- validate_
dist_ mat - Validate that a distance matrix is square and optionally matches an expected size.
- validate_
fdata - Validate functional data dimensions.
- validate_
labels - Validate class labels match data dimensions and have at least
min_classesclasses. - validate_
ncomp - Validate and clamp the
ncompparameter. - validate_
response - Validate that a response vector matches the data row count.