check_installation#
- skbn.check_installation(n_jobs=None)#
Fit and evaluate every model once and report what it found.
The first use of a model compiles its kernels, which takes from a second to some ten seconds per model and is cached on disk. Running this check after installing or upgrading pays that cost once, in one place, and verifies the results on the iris data: probabilities that are finite and sum to one, a training accuracy above 0.9, the equality of
MixedNBwith scikit-learn’sGaussianNBand the cut-points ofMDLPDiscretizer. It is whatpython -m skbnruns.- Parameters:
- n_jobsint, default=None
Number of threads of the kernels. With more than one, the threaded versions of the kernels are the ones compiled.
- Returns:
- okbool
Whether every check passed.