Skip to content

check_finite

Module: strata.utils • Kind: function
Source: strata/utils/validation.mojo

def check_finite[dtype: DType](
values: List[Scalar[dtype]],
name: String,
caller: String,
)
from strata.utils import check_finite

Rejects NaN and infinite entries in a target or prediction list.