VineDensity.score

VineDensity.score(X, y=None)

Mean log-likelihood over a sample (sklearn score convention).

Parameters:
Xndarray, shape (n_samples, n_features), dtype float, or DataFrame

Test samples. Sparse matrices are not supported.

yNone

Ignored; present for DensityMixin.score compatibility.

Returns:
float

Mean of score_samples(X).

Raises:
TypeError

If X is a sparse matrix or another unsupported array type.