sklearn.set_config

sklearn.set_config(assume_finite=None)[source]

Set global scikit-learn configuration

Parameters:
assume_finite : bool, optional

If True, validation for finiteness will be skipped, saving time, but leading to potential crashes. If False, validation for finiteness will be performed, avoiding error.