[root@emr-header-1:/root/source/xlearn/build 2017-12-06 17:45:39]#./xlearn_train ./small_train.txt -v ./small_test.txt -s 2
----------------------------------------------------------------------------------------------
_
| |
__ _| | ___ __ _ _ __ _ __
\ \/ / | / _ \/ _` | '__| '_ \
> <| |___| __/ (_| | | | | | |
/_/\_\_____/\___|\__,_|_| |_| |_|
xLearn -- 0.10 Version --
----------------------------------------------------------------------------------------------
[ ACTION ] Read Problem ...
[------------] First check if the text file has been already converted to binary format.
[------------] Binary file (./small_train.txt.bin) NOT found. Convert text file to binary file.
[------------] First check if the text file has been already converted to binary format.
[------------] Binary file (./small_test.txt.bin) NOT found. Convert text file to binary file.
[------------] Number of Feature: 9991
[------------] Number of Field: 18
[------------] Time cost for reading problem: 0.01 (sec)
[ ACTION ] Initialize model ...
[------------] Model size: 5.56 MB
[------------] Time cost for model initial: 0.00 (sec)
[ ACTION ] Start to train ...
[------------] Epoch Train log_loss Test log_loss Time cost (sec)
[ 10% ] 1 0.595659 0.533602 0.03
[ 20% ] 2 0.542846 0.531371 0.03
[ 30% ] 3 0.522697 0.529272 0.03
[ 40% ] 4 0.504781 0.538329 0.03
[ 50% ] 5 0.490954 0.527123 0.03
[ 60% ] 6 0.481927 0.531130 0.03
[ 70% ] 7 0.469584 0.539557 0.03
[ ACTION ] Early-stopping at epoch 5
[ ACTION ] Finish training and start to save model ...
[------------] Model file: ./small_train.txt.model
[------------] Time cost for saving model: 0.01 (sec)
[ ACTION ] Clear the xLearn environment ...
[------------] Total time cost: 0.26 (sec)
[root@emr-header-1:/root/source/xlearn/build 2017-12-06 17:47:11]# ./xlearn_train /root/data/avazu-site.tr -v /root/data/avazu-site.t -s 2
----------------------------------------------------------------------------------------------
_
| |
__ _| | ___ __ _ _ __ _ __
\ \/ / | / _ \/ _` | '__| '_ \
> <| |___| __/ (_| | | | | | |
/_/\_\_____/\___|\__,_|_| |_| |_|
xLearn -- 0.10 Version --
----------------------------------------------------------------------------------------------
[ ACTION ] Read Problem ...
[------------] First check if the text file has been already converted to binary format.
[------------] Binary file (/root/data/avazu-site.tr.bin) NOT found. Convert text file to binary file.
Aborted
wget https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/avazu-app.t.bz2
wget https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/avazu-app.tr.bz2
bzip2 -dk avazu-app.t.bz2
bzip2 -dk avazu-app.tr.bz2