jbrukh / bayesian

Naive Bayesian Classification for Golang.
Other
799 stars 128 forks source link

what is good or bad? #31

Closed hktalent closed 1 year ago

hktalent commented 1 year ago

what is good or bad?

Sorry, I didn't understand. After getting the result, how to know whether the result belongs to good or bad?

scores, likely, _ := classifier.LogScores(
                        []string{"tall", "girl"},
                     )

probs, likely, _ := classifier.ProbScores(
                        []string{"tall", "girl"},
                     )

likely == 1 is bad? @jbrukh