Skip to content

BayesLinRegDemo2d likelihood calculation seems wrong #143

@xeonqq

Description

@xeonqq

https://github.com/probml/pmtk3/blob/dfe84aabf65d4e5133a62ac1f4722bf3834a3327/demos/bayesLinRegDemo2d.m#LL46C59-L46C71
It should be

likelihood = @(W) uniGaussPdf(ytrain(i),W*[1;xtrain(i)],likelihoodSD.^2);

I think

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions