Question about (bayes-train)
Posted: Thu Mar 16, 2006 11:21 am
Hi,
With (bayes-train) it is possible to train lists and put this into a context. As is described in the documentation, the syntax is (bayes-train list-M1 list-M2 [list-M3 ... ] sym-context-D), where the lists are the categories to be trained.
What I want to do is train an additional list into the same context.
One way of doing this, is reserve the position for it: (bayes-train c1 c2 '() '() '() 'MYCONTEXT) . Here 3 positions have been reserved which I can update later on in my program.
However, if I have used all positions and want to add another category, how should I do that? I want to do this dynamically, I mean, without interruption of the running program. So stopping, changing the code, and starting is not an option.
In case of self-learning program this seems to be a very convenient construction. While I am encountering new categories, I can add them on the fly. Is there a way of doing this?
Peter
With (bayes-train) it is possible to train lists and put this into a context. As is described in the documentation, the syntax is (bayes-train list-M1 list-M2 [list-M3 ... ] sym-context-D), where the lists are the categories to be trained.
What I want to do is train an additional list into the same context.
One way of doing this, is reserve the position for it: (bayes-train c1 c2 '() '() '() 'MYCONTEXT) . Here 3 positions have been reserved which I can update later on in my program.
However, if I have used all positions and want to add another category, how should I do that? I want to do this dynamically, I mean, without interruption of the running program. So stopping, changing the code, and starting is not an option.
In case of self-learning program this seems to be a very convenient construction. While I am encountering new categories, I can add them on the fly. Is there a way of doing this?
Peter