Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Is this mathematically correct? #19

Open
torstenbm opened this issue Dec 10, 2019 · 0 comments
Open

Is this mathematically correct? #19

torstenbm opened this issue Dec 10, 2019 · 0 comments

Comments

@torstenbm
Copy link

Forgive me if I am wrong, but on this line

return this.getFeatureCount(feature, category) / (float) this.getFeatureCount(feature);

would not
return this.getFeatureCount(feature, category) / (float) this.getFeatureCount(feature);
return P(category | feature) rather than P(feature | category)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant