TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to use Ruby for Naive Bayes Classification with Floats?

2 pointsby bjoernlassehalmost 14 years ago
We are trying to do naive bayes classification in Ruby.<p>Currently we are using http://ai4r.rubyforge.org/<p>We couldn't get it working for float values and have about 20% points lower accuracy with string values. With float/integers we get a [] no implicit conversion from nil to integer. We convert floats with to_s.<p>Is there a way to get float values working? If not what are alternative gems to ai4r for ruby or alternative algorithms to naive bayes?

no comments

no comments