]> granicus.if.org Git - liblinear/log
liblinear
13 years agoIn solve_l2r_lr_dual, the if-condition "newton_iter < l/10" is replaced by "newton_it...
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.

13 years agoprint error when 1. no label 2. emtpy line
xflash96 [Sat, 5 Feb 2011 12:21:49 +0000 (12:21 +0000)]
print error when 1. no label 2. emtpy line

13 years agoadd a comment in l1r_lr indicating that
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

13 years agowindows binaries are uploaded.
popo [Mon, 13 Sep 2010 04:56:15 +0000 (04:56 +0000)]
windows binaries are uploaded.

13 years agoRemove a duplicated ''options:'' in README.
popo [Mon, 13 Sep 2010 03:52:03 +0000 (03:52 +0000)]
Remove a duplicated ''options:'' in README.

13 years agocheck model_ptr != NULL before calling free_model_content in free_and_destroy_model
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

13 years agoadd LR dual for matlab interface
cjlin [Sun, 5 Sep 2010 13:57:28 +0000 (13:57 +0000)]
add LR dual for matlab interface

13 years ago- for (s=0;s<active_size;s++)
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++)

13 years agoAdd L2-regularized logistic regression (dual)
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.

13 years agoFor each solver, show the corresponding reference
cjlin [Sat, 4 Sep 2010 01:06:27 +0000 (01:06 +0000)]
For each solver, show the corresponding reference
(i.e., Algorithm ?? in ?? paper)

14 years agofix a grammatical error in README v160
cjlin [Sat, 19 Jun 2010 21:55:54 +0000 (21:55 +0000)]
fix a grammatical error in README

14 years agoBuild windows binary files.
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.

14 years agoAdd a python interface description in README.
rofu [Sat, 19 Jun 2010 15:20:59 +0000 (15:20 +0000)]
Add a python interface description in README.

14 years agoRemove some spaces in python/README
rofu [Wed, 16 Jun 2010 07:41:34 +0000 (07:41 +0000)]
Remove some spaces in python/README

14 years agoChange "svm.h" to "linear.h" in python README.
rofu [Tue, 15 Jun 2010 14:58:21 +0000 (14:58 +0000)]
Change "svm.h" to "linear.h" in python README.

14 years agoFix clean build on 64-bit platform by removing dependency on ../linear.o. By adding
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).

14 years agoNo need to set executable property
rafan [Tue, 15 Jun 2010 14:34:35 +0000 (14:34 +0000)]
No need to set executable property

14 years agoLoad the lib we just found (liblinear instead of linear)
rafan [Tue, 15 Jun 2010 14:29:13 +0000 (14:29 +0000)]
Load the lib we just found (liblinear instead of linear)

14 years ago- Fix typos in README
rofu [Mon, 14 Jun 2010 15:32:43 +0000 (15:32 +0000)]
- Fix typos in README
- Change setBias to set_bias in python

14 years ago2009 -> 2010 in copyright
cjlin [Mon, 14 Jun 2010 13:14:18 +0000 (13:14 +0000)]
2009 -> 2010 in copyright

14 years ago- Add two interface functions
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

14 years ago- Add comment for bias term in read_problem.
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.

14 years agoError out when we can not save the model. This happens if one saves model
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.

14 years agoProbability output for L1R_LR
rainfarmer [Wed, 17 Mar 2010 15:31:33 +0000 (15:31 +0000)]
Probability output for L1R_LR

14 years agoAdd a comment "default printing to stdout" for initializing print_func.
rofu [Wed, 27 Jan 2010 09:42:33 +0000 (09:42 +0000)]
Add a comment "default printing to stdout" for initializing print_func.

14 years agoreplace tab with space in README
cjlin [Wed, 27 Jan 2010 09:38:47 +0000 (09:38 +0000)]
replace tab with space in README

14 years agoRemove redundant spaces.
rofu [Tue, 26 Jan 2010 15:29:16 +0000 (15:29 +0000)]
Remove redundant spaces.

14 years agoChange global variable liblinear_print_string to static, and add a interface function
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.

14 years agocorrect link
rafan [Wed, 6 Jan 2010 13:23:40 +0000 (13:23 +0000)]
correct link

14 years agoChange the position of the definition of C
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.

14 years agoChange
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.

14 years agoUpdated the binary files. v151
rofu [Sun, 20 Dec 2009 06:37:23 +0000 (06:37 +0000)]
Updated the binary files.

14 years agoChange the C access mechanism for all solver
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.

14 years agoFix the bug of calculation of upper bound in the be_shrunk() by
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]]

14 years agoMake feature_node.index started from 1 for x' for consistency
rafan [Sat, 7 Nov 2009 09:49:18 +0000 (09:49 +0000)]
Make feature_node.index started from 1 for x' for consistency

14 years agoBuild binaries for Windows v150
eaudex [Sun, 4 Oct 2009 06:30:50 +0000 (06:30 +0000)]
Build binaries for Windows

14 years agoSet -B -1 as default (no bias term included)
eaudex [Sun, 4 Oct 2009 04:42:33 +0000 (04:42 +0000)]
Set -B -1 as default (no bias term included)

14 years agoL1-regularized L2-loss SVM and Logistic Regression
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

15 years agobuild WINDOWS binaries and MATLAB interface v140
eaudex [Mon, 24 Aug 2009 05:36:57 +0000 (05:36 +0000)]
build WINDOWS binaries and MATLAB interface
in 32-bit Windows platform

15 years agomodify solver_type in train.c predict.c
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

15 years ago- white space cleanup
rafan [Sun, 23 Aug 2009 16:36:37 +0000 (16:36 +0000)]
- white space cleanup

15 years ago(no commit message)
eaudex [Sun, 23 Aug 2009 13:15:43 +0000 (13:15 +0000)]

15 years ago(no commit message)
eaudex [Sun, 23 Aug 2009 13:06:14 +0000 (13:06 +0000)]

15 years agouse w_size, same as linear.cpp
yinwen [Sat, 22 Aug 2009 09:15:27 +0000 (09:15 +0000)]
use w_size, same as linear.cpp

15 years agocorrect the comment on instance weights
cjlin [Fri, 21 Aug 2009 14:04:11 +0000 (14:04 +0000)]
correct the comment on instance weights

15 years agoUpdate README
eaudex [Fri, 21 Aug 2009 14:00:26 +0000 (14:00 +0000)]
Update README

15 years agoUpdate Makefile
eaudex [Fri, 21 Aug 2009 13:42:00 +0000 (13:42 +0000)]
Update Makefile

15 years agoL1-regularized L2-loss SVC
eaudex [Fri, 21 Aug 2009 13:40:52 +0000 (13:40 +0000)]
L1-regularized L2-loss SVC
L1-regularized Logistic Regression

15 years agoThe previlege of libsvmwrite and libsvmread is changed to 755. (BY scan) v134
scan [Sun, 2 Aug 2009 16:26:44 +0000 (16:26 +0000)]
The previlege of libsvmwrite and libsvmread is changed to 755. (BY scan)

15 years ago(no commit message)
scan [Sun, 2 Aug 2009 16:25:43 +0000 (16:25 +0000)]

15 years agotrain.mexw32 is updated by scan.
scan [Sun, 2 Aug 2009 15:51:44 +0000 (15:51 +0000)]
train.mexw32 is updated by scan.

15 years agoModify the useage in matlab/train.c
biconnect [Sun, 2 Aug 2009 15:42:30 +0000 (15:42 +0000)]
Modify the useage in matlab/train.c

15 years agoThe windows executables are updated by Scan
scan [Sun, 2 Aug 2009 15:24:46 +0000 (15:24 +0000)]
The windows executables are updated by Scan

15 years ago- Fix some bugs (redefine w_size)
biconnect [Fri, 31 Jul 2009 11:16:23 +0000 (11:16 +0000)]
- Fix some bugs (redefine w_size)
- Remove some redundant space

15 years ago- add explanation for model structure
rafan [Thu, 16 Jul 2009 02:25:55 +0000 (02:25 +0000)]
- add explanation for model structure

Discussed by: cjlin, biconnect, rainfarmer, rafan

15 years agoremove comment for the label array in the model
cjlin [Wed, 15 Jul 2009 13:34:49 +0000 (13:34 +0000)]
remove comment for the label array in the model
structure

15 years agoModify linear.cpp so that it is consistent to /poly2/linear.cpp
biconnect [Sun, 12 Jul 2009 13:34:09 +0000 (13:34 +0000)]
Modify linear.cpp so that it is consistent to /poly2/linear.cpp

15 years agoMaximum iteration set 1000
biconnect [Tue, 7 Jul 2009 06:58:53 +0000 (06:58 +0000)]
Maximum iteration set 1000

15 years agoexplain pos/neg of tron stopping condition
cjlin [Mon, 6 Jul 2009 14:08:54 +0000 (14:08 +0000)]
explain pos/neg of tron stopping condition

15 years agoAdd option -q to disable the screen output from train
biconnect [Wed, 1 Jul 2009 15:58:51 +0000 (15:58 +0000)]
Add option -q to disable the screen output from train

15 years agoModify the usage in matlab/train.c to consistent with train.c
biconnect [Mon, 29 Jun 2009 02:20:18 +0000 (02:20 +0000)]
Modify the usage in matlab/train.c to consistent with train.c

15 years agoModify Makefile rule
biconnect [Wed, 24 Jun 2009 05:57:11 +0000 (05:57 +0000)]
Modify Makefile rule
-CFLAGS ?= ...  -> -CFLAGS =

15 years ago- move everything to trunk/
biconnect [Thu, 18 Jun 2009 11:58:09 +0000 (11:58 +0000)]
-  move everything to trunk/

15 years ago- create layout
biconnect [Thu, 18 Jun 2009 11:57:31 +0000 (11:57 +0000)]
- create layout