check_new_segments

check_new_segments(transform_segments: Iterable[str], fit_segments: Optional[Iterable[str]])[source]

Check if there are any new segments that weren’t present during training.

Parameters
  • transform_segments (Iterable[str]) –

  • fit_segments (Optional[Iterable[str]]) –