

@staticmethod
def log_pdf(X, parameters):
    '\n        Calculates the pdf for each point in the data X given mean mu and\n        precision kappa.\n        Inputs:\n            X: a column of data (numpy)\n            parameters: a dict with the following keys\n                mu: the Von Mises mean\n                kappa: the precision of the Von Mises\n        '
    check_data_type_column_data(X)
    check_model_params_dict(parameters)
    return vonmises.logpdf((X - (- math.pi)), parameters['kappa'], loc=(parameters['mu'] - math.pi))

dataset/ETHPy150Open probcomp/crosscat/src/tests/component_model_extensions/CyclicComponentModel.py p_CyclicComponentModel.log_pdf/original