check_no_nan¶
- check_no_nan(*, port_dict, feature_dict)[source]¶
Ensure there are no NaN values in port or feature arrays.
- Parameters:
port_dict (dict[str, ndarray] | None) – Mapping from port names to arrays, or None.
feature_dict (dict[str, ndarray] | None) – Mapping of feature names to arrays, or None.
- Raises:
ValueError – If any array contains NaN.