Skip to content

question about BayesianRegression #42

@Keneyr

Description

@Keneyr

why self.w_cov = np.linalg.inv(self.w_precision) in fit function?
what's the meaning of w_cov?
why y_var = 1 / self.beta + np.sum(x @ self.w_cov * x, axis=1) in predict function ?

Can anybody give me a clue or some knowledge about this? Thanks

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