{"id":93893,"library":"nbayes","title":"NBayes","description":"Ruby implementation of Naive Bayes that generates true probabilities per class, works with many token types, and provides lots of bells and whistles while being optimized for performance.","status":"active","version":"0.1.3","language":"ruby","source_language":null,"source_url":"https://github.com/oasic/nbayes","tags":["machine-learning","classification","naive-bayes","nlp"],"install":[{"cmd":"gem install nbayes","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'nbayes', '~> 0.1.3'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"NBayes","correct":"require 'nbayes'"}],"quickstart":{"code":"require 'nbayes'\nclassifier = NBayes::Base.new\nclassifier.train('positive', ['good', 'great'])\nclassifier.train('negative', ['bad', 'awful'])\nresult = classifier.classify(['good'])\nputs result.max_class","lang":"ruby","description":"Train a Naive Bayes classifier and classify a token."},"warnings":[],"env_vars":null,"search_vec":"'bay':6,36 'bell':22 'class':12 'classif':33 'generat':8 'implement':3 'learn':32 'lot':20 'machin':31 'machine-learn':30 'mani':15 'naiv':5,35 'naive-bay':34 'nbay':1 'nlp':37 'optim':27 'per':11 'perform':29 'probabl':10 'provid':19 'rubi':2 'token':16 'true':9 'type':17 'whistl':24 'work':13","created_at":"2026-06-19T09:57:42.742901+00:00","updated_at":"2026-06-19T09:57:42.742901+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/oasic/nbayes","github":"https://github.com/oasic/nbayes","docs":"http://www.rubydoc.info/gems/nbayes/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}