angleto / liblinear

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Where is the model file? #11

Open simsong opened 6 years ago

simsong commented 6 years ago

From @enmengyi on July 30, 2016 13:50

In the Ubuntu terminal, I typed:

./train -s 2 -v 5 -e 0.001 -q train1.txt model1

Where "train1.txt" is my train sample file .

The result is:

Cross Validation Accuracy = 91.5398%

But I didn't find any file named "model1" in the current directory. What's the matter?

Copied from original issue: cjlin1/liblinear#25

simsong commented 6 years ago

From @cjlin1 on July 30, 2016 15:54

please see the following faq

Q: After doing cross validation, why there is no model file outputted ?

Cross validation is used for selecting good parameters. After finding them, you want to re-train the whole data without the -v option.

enmengyi writes:

In the Ubuntu terminal, I typed:

./train -s 2 -v 5 -e 0.001 -q train1.txt model1

Where "train1.txt" is my train sample file .

The result is:

Cross Validation Accuracy = 91.5398%

But I didn't find any file named "model1" in the current directory. What's the matter?

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