]> granicus.if.org Git - liblinear/log
liblinear
9 years agoSquashed commit of the following:
boyu [Sun, 28 Jun 2015 20:56:32 +0000 (04:56 +0800)]
Squashed commit of the following:

commit 3f867438140182ad5edeb7b5fff11fbe39216052
Author: boyu <r02222047@ntu.edu.tw>
Date:   Mon Jun 29 04:23:22 2015 +0800

    num_unchanged_w

commit d8fce5f7a19fa14bcfe0245be1217741706bb913
Author: boyu <r02222047@ntu.edu.tw>
Date:   Sun Jun 28 14:57:25 2015 +0800

    windows math.h log ambiguous fix

commit 52d5addd8179f247f56df8eb098fa24751b8bf0c
Author: Chia-Hua Ho <b95082@csie.ntu.edu.tw>
Date:   Sat Jun 27 16:38:04 2015 +0800

    c_double * 0 => None

commit 24e0fac8d23b31de54c28ab4a790d4fe56f5f3b0
Author: Chia-Hua Ho <b95082@csie.ntu.edu.tw>
Date:   Sat Jun 27 15:04:27 2015 +0800

    default of -C: L2R_LR => L2R_L2LOSS_SVC

commit fd170647d2808ff3ff97e4af7d2e76734a5ffd7a
Author: Chia-Hua Ho <b95082@csie.ntu.edu.tw>
Date:   Sat Jun 27 00:11:36 2015 +0800

    Fix NULL pointer bug, python README

commit 947cfa1226a774e79675c7280d2de6719545ff29
Author: boyu <r02222047@ntu.edu.tw>
Date:   Fri Jun 26 23:50:34 2015 +0800

    fix

commit 225d35ed39d2b9028ae4da1005183ea65a30d5f1
Merge: adf59e5 5d5b3a6
Author: boyu <r02222047@ntu.edu.tw>
Date:   Fri Jun 26 23:49:37 2015 +0800

    Merge branch 'parasearch' of svm:liblr into parasearch

commit adf59e5ecc60e5b943bf0083a8d53156463125a9
Author: boyu <r02222047@ntu.edu.tw>
Date:   Fri Jun 26 23:49:12 2015 +0800

    fix

commit 5d5b3a60edd41b4585c669f210b0bb67f83900b4
Author: Chia-Hua Ho <b95082@csie.ntu.edu.tw>
Date:   Fri Jun 26 21:07:31 2015 +0800

    README

commit bcdde0a776b6f7f1023ec65733d689834c9c445d
Author: boyu <r02222047@ntu.edu.tw>
Date:   Fri Jun 26 19:52:57 2015 +0800

    num_unchanged_w; README

commit 97b4b7a2af81767effadaaa3549f29e5866320e3
Author: Chih-Jen Lin <cjlin@csie.ntu.edu.tw>
Date:   Thu Jun 25 20:07:24 2015 -0700

    minor changes to ensure consistency

commit b982e1c0fed146c82efc616de49f10323fb9ae8f
Author: boyu <r02222047@ntu.edu.tw>
Date:   Fri Jun 26 02:56:29 2015 +0800

    naming and indent

commit a46ba8359de45401f9693ef27c1bfd2ed968118e
Author: boyu <r02222047@ntu.edu.tw>
Date:   Fri Jun 26 02:40:07 2015 +0800

    comments except 67 and interface

commit 75b8a547eb742240127f39599f94427d1bf9300e
Merge: 83dc99b 1c9b998
Author: boyu <r02222047@ntu.edu.tw>
Date:   Thu Jun 25 23:05:58 2015 +0800

    Merge branch 'parasearch' of svm:liblr into parasearch

commit 83dc99b843569c4fa868ad0c9eb669a7e1e9ac9b
Author: boyu <r02222047@ntu.edu.tw>
Date:   Thu Jun 25 23:05:22 2015 +0800

    solver specified

commit 1c9b9989046244ba6b983abffc742f931290c692
Merge: 1be6f38 e25481b
Author: Chia-Hua Ho <b95082@csie.ntu.edu.tw>
Date:   Thu Jun 25 22:24:21 2015 +0800

    Merge branch 'parasearch' of svm.csie.ntu.edu.tw:liblr into parasearch

commit 1be6f384358d79b86d602dcfbae0d2bd0c0ff951
Author: Chia-Hua Ho <b95082@csie.ntu.edu.tw>
Date:   Thu Jun 25 22:23:58 2015 +0800

    MATLAB interface README

commit e25481bd5325a6d2fc076af20ed55c3afd02b62b
Author: boyu <r02222047@ntu.edu.tw>
Date:   Thu Jun 25 20:56:16 2015 +0800

    unchanged_w undo

commit e41852838bae0acec5e64e20e6de308179456597
Author: boyu <r02222047@ntu.edu.tw>
Date:   Thu Jun 25 13:03:41 2015 +0800

    python fix

commit d86ef0693eb18e7b763b3e18581c56b2054283c4
Author: boyu <r02222047@ntu.edu.tw>
Date:   Thu Jun 25 13:00:50 2015 +0800

    comments 6/25

commit ffc1831a7a28113925ed4825ad57e67a4f26124b
Merge: fed01f9 a29f7b1
Author: boyu <r02222047@ntu.edu.tw>
Date:   Thu Jun 25 12:47:23 2015 +0800

    Merge branch 'parasearch' of svm:liblr into parasearch

commit fed01f95c27b720d9755a1f5a0601c76ae0e75f8
Author: boyu <r02222047@ntu.edu.tw>
Date:   Thu Jun 25 12:24:29 2015 +0800

    python

commit a29f7b111a5b464bcd612490da00b4952db95167
Author: Chia-Hua Ho <b95082@csie.ntu.edu.tw>
Date:   Thu Jun 25 11:22:28 2015 +0800

    comments 20150625: train.c matlab/train.c

commit d25ac8709c095be2406cf3eda6125e34197e5966
Merge: e45c874 4dc5739
Author: Chih-Jen Lin <cjlin@csie.ntu.edu.tw>
Date:   Thu Jun 25 02:30:18 2015 +0800

    Merge branch 'parasearch' of svm.csie.ntu.edu.tw:liblr into parasearch

    Conflicts:
     linear.cpp

commit e45c8742e8ef05a47c7c9613807ca7954ab21925
Author: Chih-Jen Lin <cjlin@csie.ntu.edu.tw>
Date:   Thu Jun 25 02:26:37 2015 +0800

    reorder variables' declaration in find_parameter_C

commit 4dc57397a193faf761cf3602d8daae027a6930de
Author: boyu <r02222047@ntu.edu.tw>
Date:   Wed Jun 24 23:25:31 2015 +0800

    fix

commit a37f6180940470d491fa7db0db88a7801903fbf8
Author: boyu <r02222047@ntu.edu.tw>
Date:   Wed Jun 24 18:32:21 2015 +0800

    fix

commit bf8dcd427e82f52da413406eac84189445ef12a9
Author: Chia-Hua Ho <b95082@csie.ntu.edu.tw>
Date:   Wed Jun 24 18:09:49 2015 +0800

    MATLAB interface

commit 10ec863e6560e16fa3edb5b45387961efbd3bbbe
Author: boyu <r02222047@ntu.edu.tw>
Date:   Wed Jun 24 15:55:07 2015 +0800

    comments 0618; merge the two new subroutine

commit 069daa543cfd6bb0f2b858a3a4c6ac60d385f32e
Author: boyu <r02222047@ntu.edu.tw>
Date:   Thu Jun 18 19:08:50 2015 +0800

    CV separate; init_sol in param; remove interactive

commit 64bdcf116bca2ecc2c6956dbe62a8c517c31528f
Author: boyu <r02222047@ntu.edu.tw>
Date:   Sat Jun 13 00:29:30 2015 +0800

    intial check on 2015 6 11

commit ae3fd7104ef587834ab06b5fdadaacaefb757ffe
Author: boyu <r02222047@ntu.edu.tw>
Date:   Fri Jun 12 18:50:06 2015 +0800

    nolable

9 years agoMerge branch 'master' of svm.csie.ntu.edu.tw:liblr
Chih-Jen Lin [Fri, 19 Jun 2015 03:30:02 +0000 (20:30 -0700)]
Merge branch 'master' of svm.csie.ntu.edu.tw:liblr

9 years agoExplain "Parameters" of the returned MATLAB/Octave model. It contains only solver...
Chih-Jen Lin [Fri, 19 Jun 2015 03:12:52 +0000 (20:12 -0700)]
Explain "Parameters" of the returned MATLAB/Octave model. It contains only solver type now

9 years agoUsing include "linear.h" instead of include "../linear.h"
b02902056 [Wed, 6 May 2015 12:05:24 +0000 (20:05 +0800)]
Using include "linear.h" instead of include "../linear.h"

Commented by CarnĂ« Draug <carandraug+dev@gmail.com>:

The Matlab Makefile already has .. on the -I option for the compiler
so this was not required. This was only required for the make.m Matlab
and Octave script, so it was modified to include .. on the search path.

This change is required to build the mex files using a libsvm library
different than the one in this distribution.  Maybe a system-wide
install of libsvm, or just another version for testing.

See the pull request for details: https://github.com/cjlin1/libsvm/pull/29

9 years agoMatlab/Octave: use the standard method of checking OCTAVE_VERSION to distinguish...
b02902056 [Wed, 6 May 2015 11:58:30 +0000 (19:58 +0800)]
Matlab/Octave: use the standard method of checking OCTAVE_VERSION to distinguish between the two.

Commented by CarnĂ« Draug <carandraug+dev@gmail.com>

See the pull request for details: https://github.com/cjlin1/libsvm/pull/30

9 years agoMake the indention of set_locale consistent with the group convention
leepei [Sat, 4 Apr 2015 21:58:42 +0000 (05:58 +0800)]
Make the indention of set_locale consistent with the group convention

9 years agosymbolic link of libsvmread/write.c changed to hardlink
Chih-Jen Lin [Tue, 24 Mar 2015 05:10:10 +0000 (13:10 +0800)]
symbolic link of libsvmread/write.c changed to hardlink
as files are not accessable in liblinear git directory

9 years ago[Update] set windows 64bit as default
yuanbowen [Sun, 1 Mar 2015 05:01:51 +0000 (13:01 +0800)]
[Update] set windows 64bit as default

9 years agoChange the access permissions to window binary from 644 to 755.
yong [Tue, 24 Feb 2015 03:33:22 +0000 (19:33 -0800)]
Change the access permissions to window binary from 644 to 755.

9 years agoCheck return value of setlocale().
Tavian Barnes [Wed, 3 Dec 2014 15:20:59 +0000 (10:20 -0500)]
Check return value of setlocale().

setlocale() is allowed to return NULL.  In particular, this happens on
Bionic (Android's libc) because it doesn't support C locales.

Signed-off-by: Chih-Jen Lin <cjlin@csie.ntu.edu.tw>
9 years agocompile new version windows binary v196
yuanbowen [Fri, 14 Nov 2014 12:58:17 +0000 (20:58 +0800)]
compile new version windows binary

9 years agoCompile 64-bit windows binary to replace 32-bit windows binary.
yong [Mon, 3 Nov 2014 03:12:03 +0000 (11:12 +0800)]
Compile 64-bit windows binary to replace 32-bit windows binary.

9 years agoexplicit list blas/*.c for consistency with octave v195
Chih-Jen Lin [Mon, 27 Oct 2014 02:47:21 +0000 (10:47 +0800)]
explicit list blas/*.c for consistency with octave
(as for octave explicit names are needed)

9 years agoCompile windows binary.
yong [Fri, 24 Oct 2014 11:57:06 +0000 (19:57 +0800)]
Compile windows binary.

9 years agoadd three functions:
yong [Fri, 24 Oct 2014 11:09:48 +0000 (19:09 +0800)]
add three functions:
get_decfun_coef, get_decfun_bias, and check_regression_model
to linear.def

9 years agoIn get_decfun_coef and get_decfun_bias, a zero value is returned in all invalid
Yu-Chin [Tue, 21 Oct 2014 19:32:51 +0000 (03:32 +0800)]
In get_decfun_coef and get_decfun_bias, a zero value is returned in all invalid
cases. We decide not to return NaN because we are not sure if it can be
properly assigned in all platforms. (For example, ``double nan = 0.0/0.0;''
won't compile in Visual Studio.)

9 years agoTo support nnz > 2^32, change the data type of the variables related to nnz.
b99902019 [Fri, 17 Oct 2014 03:19:07 +0000 (11:19 +0800)]
To support nnz > 2^32, change the data type of the variables related to nnz.
Data types of some other variables are also changed to be consistent with the
data types returned by matlab functions.

9 years agoremove ^M in the end of each line in make.m
Yu-Chin [Thu, 16 Oct 2014 13:41:23 +0000 (21:41 +0800)]
remove ^M in the end of each line in make.m

9 years ago1. use "extern C" in blas to make sure the compiled function names are always not...
Yu-Chin [Wed, 15 Oct 2014 15:17:41 +0000 (23:17 +0800)]
1. use "extern C" in blas to make sure the compiled function names are always not mangled.
2. replace ``#'' with ``='' in matlab/Makefile

9 years agoreplace long int with size_t in linear.cpp and train.c
Yu-Chin [Mon, 13 Oct 2014 16:13:36 +0000 (00:13 +0800)]
replace long int with size_t in linear.cpp and train.c

9 years agoadd two functions get_decfun_coef and get_decfun_bias
Hsiang-Fu Yu [Mon, 28 Jul 2014 18:22:42 +0000 (13:22 -0500)]
add two functions get_decfun_coef and get_decfun_bias

9 years agouse __all__ in Python interfaces to make sure only useful things are visible to the...
Yu-Chin [Fri, 25 Jul 2014 15:37:50 +0000 (23:37 +0800)]
use __all__ in Python interfaces to make sure only useful things are visible to the users

9 years agoExpand the expression of blas to fix the compiling error
coha [Thu, 16 Oct 2014 05:43:09 +0000 (13:43 +0800)]
Expand the expression of blas to fix the compiling error

9 years agoMerge branch 'master' of svm.csie.ntu.edu.tw:liblr
Chih-Jen Lin [Fri, 3 Oct 2014 04:18:08 +0000 (12:18 +0800)]
Merge branch 'master' of svm.csie.ntu.edu.tw:liblr

9 years agostopping condition of l1 solvers uses 1-norm rather than inf norm
Chih-Jen Lin [Fri, 3 Oct 2014 04:17:34 +0000 (12:17 +0800)]
stopping condition of l1 solvers uses 1-norm rather than inf norm
(wrong description in README)

10 years agoinitialize Gnorm1_init with -1
Yu-Chin [Fri, 29 Aug 2014 08:51:23 +0000 (16:51 +0800)]
initialize Gnorm1_init with -1

10 years agoinitialize Gnorm1_init with NAN
Yu-Chin [Tue, 26 Aug 2014 03:46:27 +0000 (11:46 +0800)]
initialize Gnorm1_init with NAN

10 years agoMerge branch 'master' of svm.csie.ntu.edu.tw:liblr
Chih-Jen Lin [Fri, 20 Jun 2014 14:15:39 +0000 (22:15 +0800)]
Merge branch 'master' of svm.csie.ntu.edu.tw:liblr

10 years agofix the following bug
Chih-Jen Lin [Fri, 20 Jun 2014 14:15:19 +0000 (22:15 +0800)]
fix the following bug

- model_->bias = (int)ptr[0];
+ model_->bias = ptr[0];

10 years agomodify matlab/train.c to check if the label vector is in dense format.
Tzu-Ming Kuo [Fri, 6 Jun 2014 15:42:35 +0000 (23:42 +0800)]
modify matlab/train.c to check if the label vector is in dense format.

10 years agoChange the year of COPYRIGHT from 2013 to 2014
yong [Wed, 23 Apr 2014 15:23:58 +0000 (23:23 +0800)]
Change the year of COPYRIGHT from 2013 to 2014

10 years agoModify SHVER from 1 to 2.
yong [Fri, 21 Mar 2014 14:54:24 +0000 (22:54 +0800)]
Modify SHVER from 1 to 2.

10 years agomatlab Makefile modified, octave removed
boyu [Tue, 10 Dec 2013 14:36:59 +0000 (22:36 +0800)]
matlab Makefile modified, octave removed

10 years agoModify README so that user can build 64 bit windows binary
b99902019 [Mon, 2 Dec 2013 04:32:14 +0000 (12:32 +0800)]
Modify README so that user can build 64 bit windows binary
Fix a bug in Makefile.win: __WIN32__ should be _WIN32

10 years agoremove one space in matlab/README v194
Chih-Jen Lin [Mon, 11 Nov 2013 10:12:19 +0000 (18:12 +0800)]
remove one space in matlab/README

10 years agocompiled windows binary
boyu [Sat, 9 Nov 2013 10:21:43 +0000 (18:21 +0800)]
compiled windows binary

10 years agoReplace long with long int in linear.cpp for consistency
Wei-Sheng Chin [Sat, 2 Nov 2013 06:45:49 +0000 (14:45 +0800)]
Replace long with long int in linear.cpp for consistency

10 years agoChange the type of nnz (counter of nonzero elements) in "transpose" in "linear.cpp...
Wei-Sheng Chin [Thu, 31 Oct 2013 10:09:08 +0000 (18:09 +0800)]
Change the type of nnz (counter of nonzero elements) in "transpose" in "linear.cpp" from "int" to "long."

10 years agorevert previous two accidental commits
Yu-Chin [Sat, 26 Oct 2013 06:19:48 +0000 (14:19 +0800)]
revert previous two accidental commits

10 years agoset number of threads
Yu-Chin [Sat, 26 Oct 2013 06:00:32 +0000 (14:00 +0800)]
set number of threads

10 years ago.
Yu-Chin [Fri, 25 Oct 2013 15:22:32 +0000 (23:22 +0800)]
.

11 years agoModify python README so that users can run the examples without errors.
Yu-Chin [Sat, 31 Aug 2013 07:43:06 +0000 (15:43 +0800)]
Modify python README so that users can run the examples without errors.

11 years agofix a bug: use "delete[] C" instead of "delete C" in train_one
Yu-Chin [Fri, 16 Aug 2013 06:54:03 +0000 (14:54 +0800)]
fix a bug: use "delete[] C" instead of "delete C" in train_one

11 years agoFix the mixing tab and space problem in tron.cpp.
Yu-Chin [Wed, 24 Jul 2013 16:40:41 +0000 (00:40 +0800)]
Fix the mixing tab and space problem in tron.cpp.

11 years agoModify function group_classes in linear.cpp to ensure label[0] = 1 if class labels...
Tzu-Ming Kuo [Mon, 1 Jul 2013 15:57:43 +0000 (23:57 +0800)]
Modify function group_classes in linear.cpp to ensure label[0] = 1 if class labels are +1 and -1

11 years agoFix the bug of type error when calling set_to_default_values() in python interface
yong [Thu, 13 Jun 2013 12:23:08 +0000 (20:23 +0800)]
Fix the bug of type error when calling set_to_default_values() in python interface

11 years ago(no commit message)
Chih-Jen Lin [Thu, 16 May 2013 11:01:51 +0000 (19:01 +0800)]

11 years agoUpdated a switch statement.
Chun-Heng Huang [Mon, 11 Mar 2013 09:35:30 +0000 (17:35 +0800)]
Updated a switch statement.
Changed it to the convention.

11 years agoMatlab interface parameter checking
Chun-Heng Huang [Mon, 11 Mar 2013 04:20:04 +0000 (12:20 +0800)]
Matlab interface parameter checking
Check 'nlhs' argument.
Allow various output size for predict.

11 years agoLet nr_fold = l when nr_fold > l in CV
leepei [Sun, 10 Feb 2013 17:39:46 +0000 (01:39 +0800)]
Let nr_fold = l when nr_fold > l in CV

Signed-off-by: Po-Wei Wang <xflash96@gmail.com>
11 years agochange the year to 2013 v193
cjlin [Sun, 27 Jan 2013 08:11:31 +0000 (08:11 +0000)]
change the year to 2013

11 years agoCompile windows binary.
guestwalk [Fri, 25 Jan 2013 06:58:44 +0000 (06:58 +0000)]
Compile windows binary.

11 years agoModify Python interface, major changes are:
guestwalk [Mon, 21 Jan 2013 18:03:19 +0000 (18:03 +0000)]
Modify Python interface, major changes are:
    + Find local library first.
    + Change show() to __str__.

11 years agoAdd return 0 into print_null in predict.c,
guestwalk [Fri, 23 Nov 2012 02:48:45 +0000 (02:48 +0000)]
Add return 0 into print_null in predict.c,
because it is used to replace printf for the "-q" option
and printf will return the number of characters it printed.
In train we do not need this because the two "info" are different.

11 years agoFix some indention
leepei [Sun, 28 Oct 2012 16:46:32 +0000 (16:46 +0000)]
Fix some indention

11 years agofix a typo in make.m
cjlin [Fri, 19 Oct 2012 00:51:35 +0000 (00:51 +0000)]
fix a typo in make.m

11 years agofix some typo in README and matlab/make.m
guestwalk [Sat, 13 Oct 2012 12:28:01 +0000 (12:28 +0000)]
fix some typo in README and matlab/make.m

11 years agoupdate windows binary to correct version. (previous revision is 64-bit) v192
guestwalk [Wed, 10 Oct 2012 08:18:37 +0000 (08:18 +0000)]
update windows binary to correct version. (previous revision is 64-bit)

11 years agoremove duplicated blas.h in blas/Makefile
guestwalk [Wed, 10 Oct 2012 04:49:54 +0000 (04:49 +0000)]
remove duplicated blas.h in blas/Makefile
fix a syntax bug in matlab/predict.c
update windows binary

12 years agoFix a typo(CXXC) in Makefile.win.
guestwalk [Wed, 12 Sep 2012 01:00:26 +0000 (01:00 +0000)]
Fix a typo(CXXC) in Makefile.win.

12 years agoFixed a bug of -q option of predict in matlab interface
leepei [Wed, 25 Jul 2012 06:25:21 +0000 (06:25 +0000)]
Fixed a bug of -q option of predict in matlab interface

12 years agoAdded -q option for predict and modified the solver type usage message
leepei [Fri, 20 Jul 2012 07:59:36 +0000 (07:59 +0000)]
Added -q option for predict and modified the solver type usage message

12 years agoRemove matlab/run.m in trunk.
popo [Sat, 30 Jun 2012 01:15:11 +0000 (01:15 +0000)]
Remove matlab/run.m in trunk.

12 years agoModify the make.m of matlab,
coha [Tue, 1 May 2012 08:19:50 +0000 (08:19 +0000)]
Modify the make.m of matlab,
the line after else should be moved right.

12 years agofix typos in python/README. v191
popo [Thu, 26 Apr 2012 02:57:08 +0000 (02:57 +0000)]
fix typos in python/README.

12 years agoFix bug. get_label() returns integer list. model.get_type() is not supported.
popo [Wed, 25 Apr 2012 05:32:21 +0000 (05:32 +0000)]
Fix bug. get_label() returns integer list. model.get_type() is not supported.

12 years agoFix bugs.
popo [Fri, 20 Apr 2012 07:48:46 +0000 (07:48 +0000)]
Fix bugs.
- svm_read_problem should accept regression problems.
- The model name in load_model should be encoded.

12 years ago copyright year 2012 v190
cjlin [Tue, 17 Apr 2012 05:45:51 +0000 (05:45 +0000)]
 copyright year 2012

12 years agoAdd windows binary files.
popo [Tue, 17 Apr 2012 05:31:42 +0000 (05:31 +0000)]
Add windows binary files.

12 years agoindicating -b 1 is only for testing
cjlin [Tue, 17 Apr 2012 05:26:07 +0000 (05:26 +0000)]
indicating -b 1 is only for testing

12 years agoAdd -s 11, 12, 13 to python and matlab interfaces.
popo [Tue, 17 Apr 2012 04:50:50 +0000 (04:50 +0000)]
Add -s 11, 12, 13 to python and matlab interfaces.

12 years ago- Add regression solvers (-s 11, 12, 13).
popo [Sun, 15 Apr 2012 06:07:46 +0000 (06:07 +0000)]
- Add regression solvers (-s 11, 12, 13).
- In L1-regularized solvers, Gp <= H*w[j] and Gn >= H*w[j] become
  Gp < H*w[j] and Gp > H*w[j].
- For tron solvers, C array is used instead of Cp and Cn as the
  argument of the constructors of function classes.

12 years agoFix the type "-W1" to the correct option "-Wl"
rofu [Wed, 11 Apr 2012 18:38:27 +0000 (18:38 +0000)]
Fix the type "-W1" to the correct option "-Wl"

12 years agoBecause model_ is a global variable, do_predict(input, output, model_)
popo [Tue, 10 Apr 2012 04:28:19 +0000 (04:28 +0000)]
Because model_ is a global variable, do_predict(input, output, model_)
does not need the third argument.

12 years agoIn python interface, file names should be encoded in save_model and load_model.
popo [Mon, 9 Apr 2012 14:34:11 +0000 (14:34 +0000)]
In python interface, file names should be encoded in save_model and load_model.
After python 3.2, we need to use bytes instead of a unicode string.

12 years agoIn the README file of python interface, p_val should be p_label
popo [Thu, 22 Mar 2012 03:27:37 +0000 (03:27 +0000)]
In the README file of python interface, p_val should be p_label
in the usage of evaluations().

12 years agoMakefile is modified such that creating the shared library
rofu [Mon, 2 Jan 2012 04:49:38 +0000 (04:49 +0000)]
Makefile is modified such that creating the shared library
works well on unix platforms by looking at the result of uname(1).
- We need this because Mac OS now does not ignore "-soname" which is used
  in Linux and BSD.
- We use uname(1) rather than $OSTYPE because uname(1) is available everywhere
- Instead of using the if-else of make, we use the if-else of shell. The
  reason is the syntax of if-else for gnu-make and bsd-make are different.

12 years agoInitial w_size according to w in solve_l1r_lr.
popo [Mon, 26 Dec 2011 08:20:39 +0000 (08:20 +0000)]
Initial w_size according to w in solve_l1r_lr.
locale should be reset in load_model if the model is invalid.

12 years agoAdd variable primal_solver_tol for primal solvers, where
popo [Fri, 9 Dec 2011 11:12:37 +0000 (11:12 +0000)]
Add variable primal_solver_tol for primal solvers, where
primal_solver_tol = eps*max(min(pos,neg), 1)/prob->l.

12 years agoAdd setlocale(LC_ALL, "C") when saving and loading model.
popo [Tue, 29 Nov 2011 05:19:43 +0000 (05:19 +0000)]
Add setlocale(LC_ALL, "C") when saving and loading model.

12 years agoindicate in predict option that -b 1 is for logistic regression only
cjlin [Tue, 11 Oct 2011 07:01:35 +0000 (07:01 +0000)]
indicate in predict option that -b 1 is for logistic regression only

13 years agoUsing try and catch method to show recommend message of make.m
coha [Thu, 1 Sep 2011 15:43:53 +0000 (15:43 +0000)]
Using try and catch method to show recommend message of make.m
Modify README for new MATLAB make.m

13 years agoModify make.m so that it is workable
coha [Sat, 27 Aug 2011 05:04:47 +0000 (05:04 +0000)]
Modify make.m so that it is workable
for MATLAB and OCTAVE under Windows, Mac, and Unix.
Modify "linear.h" into "../linear.h".
Handle the varible MX_API_VER of OCTAVE.

13 years agoModify linear.cpp so that users can easily give initial solutions.
popo [Wed, 29 Jun 2011 13:34:11 +0000 (13:34 +0000)]
Modify linear.cpp so that users can easily give initial solutions.

13 years agoAdd soname in the shared library.
popo [Sat, 25 Jun 2011 19:54:30 +0000 (19:54 +0000)]
Add soname in the shared library.

13 years agouse "WARNING" and "ERROR" for warning messages and error messages respectively.
popo [Fri, 27 May 2011 03:37:10 +0000 (03:37 +0000)]
use "WARNING" and "ERROR" for warning messages and error messages respectively.

13 years agoAdd dependency for tron.o, linear.o, and blas.a in Makefile and matlab/Makefile.
popo [Mon, 9 May 2011 23:37:09 +0000 (23:37 +0000)]
Add dependency for tron.o, linear.o, and blas.a in Makefile and matlab/Makefile.

13 years agoRemove mxIsSparse(prhs[1]) in do_predict(...) in matlab/predict.c. Sparse format...
popo [Sun, 10 Apr 2011 14:57:03 +0000 (14:57 +0000)]
Remove mxIsSparse(prhs[1]) in do_predict(...) in matlab/predict.c. Sparse format is checked in mexFunction(...).

13 years agocopyright: 2010 -> 2011 v180
cjlin [Sat, 26 Mar 2011 03:29:01 +0000 (03:29 +0000)]
copyright: 2010 -> 2011

13 years agoChange libsvmread/write.mexw64 to symbolic links to
eaudex [Sat, 26 Mar 2011 02:04:49 +0000 (02:04 +0000)]
Change libsvmread/write.mexw64 to symbolic links to
/home/faculty/cjlin/software/svm/libsvm/libsvm/trunk/windows/
libsvmread.mexw64 and libsvmwrite.mexw64

13 years agoBuild windows binaries, delete interface of 32 bits and add new matlab interface...
coha [Fri, 25 Mar 2011 09:55:12 +0000 (09:55 +0000)]
Build windows binaries, delete interface of 32 bits and add new matlab interface (only 64 bits)

13 years agoBuild windows binaries and add new matlab interface (only 64 bits)
coha [Fri, 25 Mar 2011 09:50:34 +0000 (09:50 +0000)]
Build windows binaries and add new matlab interface (only 64 bits)

13 years agomatlab/README is modified because 32bit Windows binary files are going to be replaced...
popo [Wed, 16 Mar 2011 03:12:39 +0000 (03:12 +0000)]
matlab/README is modified because 32bit Windows binary files are going to be replaced by 64bit Windows binary files in next version.

13 years ago@@ -1562,8 +1562,6 @@
eaudex [Mon, 14 Mar 2011 05:02:26 +0000 (05:02 +0000)]
@@ -1562,8 +1562,6 @@
In solve_l1_lr(.),
                        iter++;
-                       //if(iter % 10 == 0)
-                       //      info(".");

                        if(QP_Gnorm1_new <= inner_eps*Gnorm1_init)
                        {
@@ -1573,7 +1571,6 @@
                                //active set reactivation
                                else
                                {
-                                       info("*");
                                        QP_active_size = active_size;

13 years agoIn solve_l1_lr(.),
eaudex [Sat, 12 Mar 2011 17:28:47 +0000 (17:28 +0000)]
In solve_l1_lr(.),
change
cond = w_norm_new-w_norm - sigma*delta;
cond += negsum_xTd;
to
cond = w_norm_new - w_norm + negsum_xTd - sigma*delta;

13 years agohelp message in matlab/train.c is modified according to trunk/train.c.
popo [Fri, 11 Mar 2011 19:32:49 +0000 (19:32 +0000)]
help message in matlab/train.c is modified according to trunk/train.c.

13 years agoThe default print function for matlab interface should be mexPrintf(.).
popo [Wed, 9 Mar 2011 19:06:20 +0000 (19:06 +0000)]
The default print function for matlab interface should be mexPrintf(.).

13 years agoIn solve_l1r_lr(.),
eaudex [Mon, 7 Mar 2011 08:21:31 +0000 (08:21 +0000)]
In solve_l1r_lr(.),
replace CDN with newGLMNET.

In solve_l1r_l2_svc(.),
change the stopping condition from inf-norm to 1-norm.

13 years ago- Rename linear.py and linearutil.py to liblinear.py and liblinearutil.py.
cttsai [Sat, 5 Mar 2011 08:46:26 +0000 (08:46 +0000)]
- Rename linear.py and linearutil.py to liblinear.py and liblinearutil.py.
- Add L2R_LR_DUAL to python interface.

13 years agomatlab/README is slightly modified. (Section 'Other Utilities' and 'Examples' are...
popo [Sat, 26 Feb 2011 00:09:48 +0000 (00:09 +0000)]
matlab/README is slightly modified. (Section 'Other Utilities' and 'Examples' are swapped.)