From: Matt Mower Date: 2005-04-19T18:48:56+09:00 Subject: Re: [ANN] Bishop 0.3.0 - bayesian classifier for Ruby ported from Python Hi Jean-Pierre, On 4/18/05, Jaypee wrote: > Thank you for this useful librbary. You're welcome. > I am trying to use it to analyse the project of text for the european > constitution (Is it social? liberal? respectful of human rights?) > [..snip..] > I'd like to know what the behaviour of the training of a classifier is > when two different set of words are submitted in two successive "train" > method invocations for a given category. Does the second invocation > resets the training or does it accumulate the "experience" progressively. > You're right when you say it accumulates. Further training supplies more evidence to the classifier about which words are associated with which categories . It uses this evidence to work out conditional probabilities which are then combined to make a guess about the approriate category for an item. There is an #untrain method if you want to remove previously trained information. Regards, Matt -- Matt Mower :: http://matt.blogs.it/