Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ func (c *Classifier) SelectBestModelForCategory(categoryName string) string {
return bestModel
}

// forEachModelScore traverses the ModelScores document of the category and executes the callback for each element
// forEachModelScore traverses the ModelScores document of the category and executes the callback for each element.
func (c *Classifier) forEachModelScore(cat *config.Category, fn func(modelScore config.ModelScore)) {
for _, modelScore := range cat.ModelScores {
fn(modelScore)
Expand Down
Loading