Kde1d.pdf

Kde1d.pdf(self, x: numpy.ndarray[dtype=float64, shape=(*), order='C'], check_fitted: bool = True) numpy.ndarray[dtype=float64, shape=(*), order='C']

Evaluate the probability density function.

Computes the pdf of the kernel density estimate by interpolation.

Parameters:
  • x (array_like) – Vector of evaluation points.

  • check_fitted (bool, optional) – Whether to check if the model is fitted before evaluation. Default is True.

Returns:

array_like – Vector of pdf values at the evaluation points.