Skip to content

AttributeError: DensityRatioEstimator instance has no attribute '_sigma' #2

Description

@damhurmuller

Traceback (most recent call last):
File "challenge.py", line 187, in
weights = kliep.predict(X)
File "challenge.py", line 180, in predict
return np.dot(self._phi(X, sigma=sigma), self._alpha).reshape((X.shape[0],))
File "challenge.py", line 150, in _phi
sigma = self._sigma
AttributeError: DensityRatioEstimator instance has no attribute '_sigma'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions