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 MixedNB with scikit-learn’s GaussianNB and the cut-points of MDLPDiscretizer. It is what python -m skbn runs.

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.