Skip to content

Doesn't seem to implement Naive Bayes #1

@eloj

Description

@eloj

I'm certainly no expert, but the inner loop in classify() looks totally broken. I'd expect there to be a summation/product taken over 'prob', and then perhaps some scaling applied based on the number of documents with label L to the total number of documents.

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