]>
granicus.if.org Git - liblinear/log
leepei [Fri, 20 Jul 2012 07:59:36 +0000 (07:59 +0000)]
Added -q option for predict and modified the solver type usage message
popo [Sat, 30 Jun 2012 01:15:11 +0000 (01:15 +0000)]
Remove matlab/run.m in trunk.
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.
popo [Thu, 26 Apr 2012 02:57:08 +0000 (02:57 +0000)]
fix typos in python/README.
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.
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.
cjlin [Tue, 17 Apr 2012 05:45:51 +0000 (05:45 +0000)]
copyright year 2012
popo [Tue, 17 Apr 2012 05:31:42 +0000 (05:31 +0000)]
Add windows binary files.
cjlin [Tue, 17 Apr 2012 05:26:07 +0000 (05:26 +0000)]
indicating -b 1 is only for testing
popo [Tue, 17 Apr 2012 04:50:50 +0000 (04:50 +0000)]
Add -s 11, 12, 13 to python and matlab interfaces.
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.
rofu [Wed, 11 Apr 2012 18:38:27 +0000 (18:38 +0000)]
Fix the type "-W1" to the correct option "-Wl"
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.
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.
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().
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.
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.
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.
popo [Tue, 29 Nov 2011 05:19:43 +0000 (05:19 +0000)]
Add setlocale(LC_ALL, "C") when saving and loading model.
cjlin [Tue, 11 Oct 2011 07:01:35 +0000 (07:01 +0000)]
indicate in predict option that -b 1 is for logistic regression only
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
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.
popo [Wed, 29 Jun 2011 13:34:11 +0000 (13:34 +0000)]
Modify linear.cpp so that users can easily give initial solutions.
popo [Sat, 25 Jun 2011 19:54:30 +0000 (19:54 +0000)]
Add soname in the shared library.
popo [Fri, 27 May 2011 03:37:10 +0000 (03:37 +0000)]
use "WARNING" and "ERROR" for warning messages and error messages respectively.
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.
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(...).
cjlin [Sat, 26 Mar 2011 03:29:01 +0000 (03:29 +0000)]
copyright: 2010 -> 2011
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
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)
coha [Fri, 25 Mar 2011 09:50:34 +0000 (09:50 +0000)]
Build windows binaries and add new matlab interface (only 64 bits)
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.
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;
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;
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.
popo [Wed, 9 Mar 2011 19:06:20 +0000 (19:06 +0000)]
The default print function for matlab interface should be mexPrintf(.).
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.
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.
popo [Sat, 26 Feb 2011 00:09:48 +0000 (00:09 +0000)]
matlab/README is slightly modified. (Section 'Other Utilities' and 'Examples' are swapped.)
cjlin [Thu, 24 Feb 2011 04:41:40 +0000 (04:41 +0000)]
add libsvmwrite.mexw32 and libsvmread.mexw32
cjlin [Thu, 24 Feb 2011 04:38:14 +0000 (04:38 +0000)]
modify symlinkx for libsvmwrite and libsvmread
popo [Wed, 23 Feb 2011 22:57:08 +0000 (22:57 +0000)]
In matlab interface, tron.o and linear.o are in the parent directory now.
matlab/README is also slightly modified.
popo [Wed, 16 Feb 2011 13:35:05 +0000 (13:35 +0000)]
Change the path of loading *.dll and *.so to the relative path of linear.py.
popo [Mon, 14 Feb 2011 15:31:57 +0000 (15:31 +0000)]
In solve_l2r_lr_dual, the if-condition "newton_iter < l/10" is replaced by "newton_iter <= l/10." Otherwise, the inner epsilon may never be changed for l < 10.
xflash96 [Sat, 5 Feb 2011 12:21:49 +0000 (12:21 +0000)]
print error when 1. no label 2. emtpy line
cjlin [Mon, 11 Oct 2010 05:24:38 +0000 (05:24 +0000)]
add a comment in l1r_lr indicating that
approx line search condition works only
if xij>=0
popo [Mon, 13 Sep 2010 04:56:15 +0000 (04:56 +0000)]
windows binaries are uploaded.
popo [Mon, 13 Sep 2010 03:52:03 +0000 (03:52 +0000)]
Remove a duplicated ''options:'' in README.
popo [Fri, 10 Sep 2010 08:12:27 +0000 (08:12 +0000)]
check model_ptr != NULL before calling free_model_content in free_and_destroy_model
cjlin [Sun, 5 Sep 2010 13:57:28 +0000 (13:57 +0000)]
add LR dual for matlab interface
cjlin [Sun, 5 Sep 2010 13:38:46 +0000 (13:38 +0000)]
- for (s=0;s<active_size;s++)
+ for (s=0; s<active_size; s++)
cjlin [Sun, 5 Sep 2010 13:36:05 +0000 (13:36 +0000)]
Add L2-regularized logistic regression (dual)
by implementing Alg 5 of Yu et al.
cjlin [Sat, 4 Sep 2010 01:06:27 +0000 (01:06 +0000)]
For each solver, show the corresponding reference
(i.e., Algorithm ?? in ?? paper)
cjlin [Sat, 19 Jun 2010 21:55:54 +0000 (21:55 +0000)]
fix a grammatical error in README
rofu [Sat, 19 Jun 2010 15:24:13 +0000 (15:24 +0000)]
Build windows binary files.
In additional to orinial files, this version adds liblinear.dll for python interface.
rofu [Sat, 19 Jun 2010 15:20:59 +0000 (15:20 +0000)]
Add a python interface description in README.
rofu [Wed, 16 Jun 2010 07:41:34 +0000 (07:41 +0000)]
Remove some spaces in python/README
rofu [Tue, 15 Jun 2010 14:58:21 +0000 (14:58 +0000)]
Change "svm.h" to "linear.h" in python README.
rafan [Tue, 15 Jun 2010 14:37:05 +0000 (14:37 +0000)]
Fix clean build on 64-bit platform by removing dependency on ../linear.o. By adding
this, ../linear.o is built without proper CFLAGS (say -fPIC) as it is built by
current Makefile instead of ../Makefile. Without this dependency, the cost is
everytime we type 'make', it relinks so again (should be fine though).
rafan [Tue, 15 Jun 2010 14:34:35 +0000 (14:34 +0000)]
No need to set executable property
rafan [Tue, 15 Jun 2010 14:29:13 +0000 (14:29 +0000)]
Load the lib we just found (liblinear instead of linear)
rofu [Mon, 14 Jun 2010 15:32:43 +0000 (15:32 +0000)]
- Fix typos in README
- Change setBias to set_bias in python
cjlin [Mon, 14 Jun 2010 13:14:18 +0000 (13:14 +0000)]
2009 -> 2010 in copyright
rofu [Mon, 14 Jun 2010 09:04:03 +0000 (09:04 +0000)]
- Add two interface functions
void free_model_content(struct model *model_ptr);
void free_and_destroy_model(struct model **model_ptr_ptr);
- Add python interface
- Prepare for liblinear 1.6 release
rofu [Mon, 14 Jun 2010 06:15:55 +0000 (06:15 +0000)]
- Add comment for bias term in read_problem.
- Fix a typo in README.
rafan [Sat, 10 Apr 2010 06:13:08 +0000 (06:13 +0000)]
Error out when we can not save the model. This happens if one saves model
under a subdirectory without creating it first.
rainfarmer [Wed, 17 Mar 2010 15:31:33 +0000 (15:31 +0000)]
Probability output for L1R_LR
rofu [Wed, 27 Jan 2010 09:42:33 +0000 (09:42 +0000)]
Add a comment "default printing to stdout" for initializing print_func.
cjlin [Wed, 27 Jan 2010 09:38:47 +0000 (09:38 +0000)]
replace tab with space in README
rofu [Tue, 26 Jan 2010 15:29:16 +0000 (15:29 +0000)]
Remove redundant spaces.
rofu [Tue, 26 Jan 2010 15:20:42 +0000 (15:20 +0000)]
Change global variable liblinear_print_string to static, and add a interface function
to assign the print_function.
rafan [Wed, 6 Jan 2010 13:23:40 +0000 (13:23 +0000)]
correct link
rofu [Thu, 24 Dec 2009 07:31:09 +0000 (07:31 +0000)]
Change the position of the definition of C
in the constructor of Solver_MCSVM_CS.
rofu [Thu, 24 Dec 2009 07:28:19 +0000 (07:28 +0000)]
Change
if(nrhs > 0 && nrhs < 5)
to
if(nrhs > 1 && nrhs < 5)
in mexFunction to make sure accessing prhs[1] is legal.
rofu [Sun, 20 Dec 2009 06:37:23 +0000 (06:37 +0000)]
Updated the binary files.
rofu [Sun, 20 Dec 2009 05:20:37 +0000 (05:20 +0000)]
Change the C access mechanism for all solver
by adding a Macro GETI(i).
It is easier for the instance weight support.
rofu [Sun, 20 Dec 2009 05:13:18 +0000 (05:13 +0000)]
Fix the bug of calculation of upper bound in the be_shrunk() by
1. add a new parameter for the instance index
2. change C[yi] to C[prob->y[i]]
rafan [Sat, 7 Nov 2009 09:49:18 +0000 (09:49 +0000)]
Make feature_node.index started from 1 for x' for consistency
eaudex [Sun, 4 Oct 2009 06:30:50 +0000 (06:30 +0000)]
Build binaries for Windows
eaudex [Sun, 4 Oct 2009 04:42:33 +0000 (04:42 +0000)]
Set -B -1 as default (no bias term included)
eaudex [Fri, 2 Oct 2009 05:04:56 +0000 (05:04 +0000)]
L1-regularized L2-loss SVM and Logistic Regression
- sufficient decrease condition
- shriking violation
- H <- max(H, 1e-12) for L2-loss SVM
- swap the indices i and j
i for instances and j for features
eaudex [Mon, 24 Aug 2009 05:36:57 +0000 (05:36 +0000)]
build WINDOWS binaries and MATLAB interface
in 32-bit Windows platform
eaudex [Mon, 24 Aug 2009 02:33:25 +0000 (02:33 +0000)]
modify solver_type in train.c predict.c
L2_LR => L2R_LR
L2_L2LOSS_SVC_DUAL => L2R_L2LOSS_SVC_DUAL
L2_L2LOSS_SVC => L2R_L2LOSS_SVC
L2_L1LOSS_SVC_DUAL => L2R_L1LOSS_SVC_DUAL
L1_L2LOSS_SVC => L1R_L2LOSS_SVC
L1_LR => L1R_LR
rafan [Sun, 23 Aug 2009 16:36:37 +0000 (16:36 +0000)]
- white space cleanup
eaudex [Sun, 23 Aug 2009 13:15:43 +0000 (13:15 +0000)]
eaudex [Sun, 23 Aug 2009 13:06:14 +0000 (13:06 +0000)]
yinwen [Sat, 22 Aug 2009 09:15:27 +0000 (09:15 +0000)]
use w_size, same as linear.cpp
cjlin [Fri, 21 Aug 2009 14:04:11 +0000 (14:04 +0000)]
correct the comment on instance weights
eaudex [Fri, 21 Aug 2009 14:00:26 +0000 (14:00 +0000)]
Update README
eaudex [Fri, 21 Aug 2009 13:42:00 +0000 (13:42 +0000)]
Update Makefile
eaudex [Fri, 21 Aug 2009 13:40:52 +0000 (13:40 +0000)]
L1-regularized L2-loss SVC
L1-regularized Logistic Regression
scan [Sun, 2 Aug 2009 16:26:44 +0000 (16:26 +0000)]
The previlege of libsvmwrite and libsvmread is changed to 755. (BY scan)
scan [Sun, 2 Aug 2009 16:25:43 +0000 (16:25 +0000)]
scan [Sun, 2 Aug 2009 15:51:44 +0000 (15:51 +0000)]
train.mexw32 is updated by scan.
biconnect [Sun, 2 Aug 2009 15:42:30 +0000 (15:42 +0000)]
Modify the useage in matlab/train.c
scan [Sun, 2 Aug 2009 15:24:46 +0000 (15:24 +0000)]
The windows executables are updated by Scan
biconnect [Fri, 31 Jul 2009 11:16:23 +0000 (11:16 +0000)]
- Fix some bugs (redefine w_size)
- Remove some redundant space
rafan [Thu, 16 Jul 2009 02:25:55 +0000 (02:25 +0000)]
- add explanation for model structure
Discussed by: cjlin, biconnect, rainfarmer, rafan
cjlin [Wed, 15 Jul 2009 13:34:49 +0000 (13:34 +0000)]
remove comment for the label array in the model
structure
biconnect [Sun, 12 Jul 2009 13:34:09 +0000 (13:34 +0000)]
Modify linear.cpp so that it is consistent to /poly2/linear.cpp