libsvm icon indicating copy to clipboard operation
libsvm copied to clipboard

Is this able to train a model which has been trained

Open Hypn0t1st opened this issue 7 years ago • 1 comments

I mean if dataset is very large, is LibSVM able to train a part first, and then load the model trained and train another part. for example, first time x is [[1, 1], [2, 2]], y is [1, 2], second time x is [[3,3],[4,4]], y is [3,4]. after train two times, I hope the model can classify 4 classes. Now it seems that the model just remember the last train result.

Hypn0t1st avatar Jan 18 '18 11:01 Hypn0t1st

Sorry libsvm doesn't support such incremental settings now. But liblinear does. You can check the paper https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/warm-start/warm-start.pdf to see why it's easier to do linear classification than kernel.

JiayuWu writes:

I mean if dataset is very large, is LibSVM able to train a part first, and then load the model trained and train another part. for example, first time x is [[1, 1], [2, 2]], y is [1, 2], second time x is [[3,3],[4,4]], y is [3,4]. after train two times, I hope the model can classify 4 classes. Now it seems that the model just remember the last train result.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.*

cjlin1 avatar Aug 28 '18 22:08 cjlin1