VineDensity.fit

VineDensity.fit(X, y=None)

Fits the joint density to the training data.

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

Training data. DataFrame columns may mix numeric, ordered-categorical, and unordered-categorical dtypes; unordered categoricals are expanded to ordered {0, 1} dummies before fitting.

yNone

Ignored; present for sklearn API compatibility.

Returns:
selfVineDensity

The fitted estimator.