How to stop train() of RTrees?
Hi,
I using RTrees in one of my projects.
Is there any way to stop (or interrupt) train() after it starts without crashing the application?
Thanks in advance.
Hi,
I using RTrees in one of my projects.
Is there any way to stop (or interrupt) train() after it starts without crashing the application?
Thanks in advance.
Thanks for replying.
Asked: 2019-11-20 08:20:49 -0600
Seen: 112 times
Last updated: Nov 20 '19
why do you want / need to do this ?
Thanks for the question. My application can be used to train the model. So user can start the training and if it's taking too long I want to allow the user to stop the training by some user event.
Which according to me can be done if we have some function like
stop()
or if I can get a handle on the thread on which training happens so that I can stop it.Till now I have not been able to find anything like that in the library.
i'm afraid, all you have is the TermCriteria (and ctrl^c)
with an ANN, you could train / update it in small batches, and stop if a button was pressed. unfortunately not so with RTrees ;(