A Naive Bayes Approach to telling what category certain ingredients belong.
require 'fBayes' @sr24_classifier.classify("cucumber") => "Vegetables-and-vegetable-products" @sr24_classifier.classify("steak") => "Beef-products"
Contributing to fBayes
Hack like there is no tomorrow.
Tell somebody the % distribution of the categories of certain ingredients or meals.
We have a set Z that represent the category of a certain ingredient or meal.
Given a string ingredients or meal names.
% distribution of the category each meal or ingredient represents.
Copyright © 2012 Ivan Acosta-Rubio.