copulas/univariate/kde.py
def probability_density(self, X):
        """Evaluate the estimated pdf on a point.

        Args:
            X(float):  a datapoint.

        Returns:
            (float): value of estimated pdf.

        """
        self.check_fit()

        if type(X) not in (int, float):
            raise ValueError('x must be int or float')

        return self.model.evaluate(X)[0]
Evaluate the estimated pdf on a point.

        Args:
            X(float):  a datapoint.

        Returns:
            (float): value of estimated pdf.

        
Evaluate the estimated pdf on a point.
Evaluate the estimated pdf on a point .
def probability_density(self, X):
        self.check_fit()
        if type(X) not in (int, float):
            raise ValueError('x must be int or float')
        return self.model.evaluate(X)[0]
def probability_density ( self , X ) : self . check_fit ( ) if type ( X ) not in ( int , float ) : raise ValueError ( 'x must be int or float' ) return self . model . evaluate ( X ) [ 0 ]
Evaluate the estimated pdf on a point.
Evaluate the estimated pdf on a point .
"""Evaluate the estimated pdf on a point.

        Args:
            X(float):  a datapoint.

        Returns:
            (float): value of estimated pdf.

        """
value of estimated pdf.
value of estimated pdf .
(float)
self
X
None