{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":205251777,"defaultBranch":"master","name":"classifier","ownerLogin":"cadmiumcr","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-08-29T21:16:06.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/54465349?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1567113952.0","currentOid":""},"activityList":{"items":[{"before":"f9c70d89b16fe8fbb279c0048588e3ec0bc1a1af","after":"9ac9abe0ba882ccc085bde732f16e79e186d83e3","ref":"refs/heads/master","pushedAt":"2023-03-28T03:40:11.275Z","pushType":"push","commitsCount":1,"pusher":{"login":"watzon","name":"Chris Watson","path":"/watzon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4535422?s=80&v=4"},"commit":{"message":"๐Ÿ” refactor(bayes.cr): use log probabilities\nThe classify method has been refactored to use log probabilities to avoid underflow. The method now iterates through each category and calculates the log probability of the category. It then iterates through each word in the text and adds the log probability of that word belonging to the category. The maximum log probability is then found and used to calculate the log-sum-exp of all the probabilities. The log probabilities are then normalized and converted to percentages, which are returned as a sorted Hash.","shortMessageHtmlLink":"๐Ÿ” refactor(bayes.cr): use log probabilities"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADDI_EJwA","startCursor":null,"endCursor":null}},"title":"Activity ยท cadmiumcr/classifier"}