debian/0000775000000000000000000000000011774404221007172 5ustar debian/compat0000664000000000000000000000000211550635035010371 0ustar 7 debian/liblinear1.install0000664000000000000000000000002211550635035012577 0ustar lib*.so.* usr/lib debian/liblinear-train.10000664000000000000000000000724211550635035012336 0ustar .\" Hey, EMACS: -*- nroff -*- .TH LIBLINEAR-TRAIN 1 "March 08, 2011" .SH NAME liblinear-train \- train a linear classifier and produce a model .SH SYNOPSIS .B liblinear-train .RI [ options ] " training_set_file " [ model_file ] .br .SH DESCRIPTION \fBliblinear-train\fP trains a linear classifier using liblinear and produces a model suitable for use with \fBliblinear-predict\fP(1). \fItraining_set_file\fP is the file containing the data used for training. \fImodel_file\fP is the file to which the model will be saved. If \fImodel_file\fP is not provided, it defaults to \fItraining_set_file.model\fP. To obtain good performances, sometimes one needs to scale the data. This can be done with \fBsvm-scale\fP(1). .SH OPTIONS A summary of options is included below. .TP .B \-s \fItype\fP Set the type of the solver: .sp .RS 10 .nf 0 ... L2-regularized logistic regression .sp 1 ... L2-regularized L2-loss support vector classification (dual) (default) .sp 2 ... L2-regularized L2-loss support vector classification (primal) .sp 3 ... L2-regularized L1-loss support vector classification (dual) .sp 4 ... multi-class support vector classification .sp 5 ... L1-regularized L2-loss support vector classification .sp 6 ... L1-regularized logistic regression .sp 7 ... L2-regularized logistic regression (dual) .fi .RE .TP .B \-c \fIcost\fP Set the parameter C (default: \fB1\fP) .TP .B \-e \fIepsilon\fP Set the tolerance of the termination criterion .sp For \-s 0 and 2: .RS 10 .nf .sp |f'(w)|_2 <= \fIepsilon\fP*min(pos,neg)/l*|f'(w0)_2, where f is the primal function and pos/neg are the number of positive/negative data (default: \fB0.01\fP) .fi .RE .IP For \-s 1, 3, 4 and 7: .sp .nf .RS 10 Dual maximal violation <= \fIepsilon\fP; similar to libsvm (default: \fB0.1\fP) .fi .RE .IP For \-s 5 and 6: .sp .nf .RS 10 |f'(w)|_inf <= \fIepsilon\fP*min(pos,neg)/l*|f'(w0)|_inf, where f is the primal function (default: \fB0.01\fP) .RE .TP .B \-B \fIbias\fP If \fIbias\fP >= 0, then instance x becomes [x; bias]; if \fIbias\fP < 0, then no bias term is added (default: \fB-1\fP) .TP .B \-w\fIi\fP \fIweight\fP Weight-adjusts the parameter C of class \fIi\fP by the value \fIweight\fP .TP .B \-v \fIn\fP \fIn\fP-fold cross validation mode .TP .B \-q Quiet mode (no outputs). .SH EXAMPLES .sp Train a linear SVM using L2-loss function: .sp .RS 10 .nf liblinear-train data_file .fi .RE .sp Train a logistic regression model: .sp .RS 10 .nf liblinear-train \-s 0 data_file .fi .RE .sp Do five-fold cross-validation using L2-loss SVM, using a smaller stopping tolerance 0.001 instead of the default 0.1 for more accurate solutions: .sp .RS 10 .nf liblinear-train \-v 5 \-e 0.001 data_file .fi .RE .sp Train four classifiers: .RS 18 .sp positive negative Cp Cn .br class 1 class 2,3,4 20 10 .br class 2 class 1,3,4 50 10 .br class 3 class 1,2,4 20 10 .br class 4 class 1,2,3 10 10 .RE .sp .RS 10 .nf liblinear-train \-c 10 \-w1 2 \-w2 5 \-w3 2 four_class_data_file .fi .RE .sp If there are only two classes, we train ONE model. The C values for the two classes are 10 and 50: .sp .RS 10 .nf liblinear-train \-c 10 \-w3 1 \-w2 5 two_class_data_file .fi .RE .sp Output probability estimates (for logistic regression only) using \fBliblinear-predict\fP(1): .sp .RS 10 .nf liblinear-predict \-b 1 test_file data_file.model output_file .fi .RE .SH SEE ALSO .BR liblinear-predict (1), .BR svm-predict (1), .BR svm-train (1) .SH AUTHORS liblinear-train was written by the LIBLINEAR authors at National Taiwan university for the LIBLINEAR Project. .PP This manual page was written by Christian Kastner , for the Debian project (and may be used by others). debian/liblinear-predict.10000664000000000000000000000233211550635035012646 0ustar .\" Hey, EMACS: -*- nroff -*- .TH LIBLINEAR-PREDICT 1 "March 08, 2011" .SH NAME liblinear-predict \- Make predictions based on a trained linear classifier model .SH SYNOPSIS .B linear-predict .RI [ options ] " test_file " "\fImodel_file\fP " \fIoutput_file\fP .br .SH DESCRIPTION \fBliblinear-predict\fP uses the linear classifier \fImodel-file\fP to make predictions for each of the samples in \fItest_file\fP and stores the results in \fIoutput_file\fP. .SH OPTIONS A summary of options is included below. .TP .B \-b \fI(0|1)\fP Whether to output probability estimates or not (default: \fB0\fP) .SH EXAMPLES Train a linear SVM using L2-loss function with \fBlinear-train\fP(1): .sp .RS 10 .nf liblinear-train data_file .fi .RE .sp Output probability estimates (for logistic regression only): .sp .RS 10 .nf liblinear-predict \-b 1 test_file data_file.model output_file .fi .RE .SH SEE ALSO .BR liblinear-train (1), .BR svm-predict (1), .BR svm-train (1) .SH AUTHORS liblinear-predict was written by the LIBLINEAR authors at National Taiwan university for the LIBLINEAR Project. .PP This manual page was written by Christian Kastner , for the Debian project (and may be used by others). debian/python-liblinear.install0000664000000000000000000000012211550635035014036 0ustar python/liblinear.py usr/share/pyshared python/liblinearutil.py usr/share/pyshared debian/copyright0000664000000000000000000000403411550635035011127 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173 Upstream-Name: LIBLINEAR Upstream-Contact: Chih-Jen Lin Source: http://www.csie.ntu.edu.tw/~cjlin/liblinear/ Disclaimer: For DFSG purposes, some of the files (eg: precompiled binaries) have been removed from the upstream source. The get-orig-source target in debian/rules can be used to recreate such a DFSG-free tarball. File: * Copyright: 2007-2011, The LIBLINEAR Project License: BSD-3-clause Files: debian/* Copyright: 2010-2011, Christian Kastner License: BSD-3-clause License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Neither name of copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/liblinear1.dirs0000664000000000000000000000001011550635035012067 0ustar usr/lib debian/rules0000775000000000000000000000376411774400407010266 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Path to package source directory PKGDIR := $(dir $(firstword $(MAKEFILE_LIST))).. # Get version numbers for SONAME from changelog DVER := $(shell cd $(PKGDIR) && dpkg-parsechangelog | grep '^Version') UPVER := $(shell echo $(DVER) | sed -rne 's/Version: ([^+]+).*/\1/p') LVER := $(shell echo $(UPVER) | sed -rne 's/([0-9]+)\..*/\1/p') LSUBVER := $(shell echo $(UPVER) | sed -rne 's/[0-9]+\.([0-9]+)/\1/p') # Export for upstream's Makefile export LVER export LSUBVER # Get Dpkg version (needed for override_dh_makeshlibs) DPKGVER := $(shell dpkg -l dpkg-dev | grep '^i' | awk '{print $$3}') CFLAGS += -Wall ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ifeq (amd64,$(DEB_HOST_ARCH)) CFLAGS += -msse endif endif %: dh $@ --with=python2 # Help out backporters on platforms not supporting c++ tags in symbols files override_dh_makeshlibs: dpkg --compare-versions "$(DPKGVER)" ge "1.15.6" || \ rm -f debian/liblinear1.symbols dh_makeshlibs override_dh_compress: dh_compress -Xexamples override_dh_strip: dh_strip --dbg-package=liblinear-dbg get-orig-source: test -x /usr/bin/unzip || { echo "Package 'unzip' required"; exit 1; } uscan --noconf --force-download --download-current-version \ --check-dirname-level=0 --destdir=$(CURDIR) $(PKGDIR) unzip liblinear-$(UPVER).zip rm -f liblinear-$(UPVER).zip # Remove Windows binaries rm -rf liblinear-$(UPVER)/windows/ # Remove BLAS implementation with unknown license rm -rf liblinear-$(UPVER)/blas/ sed -i -e 's| ../blas/blas.a||' liblinear-$(UPVER)/matlab/Makefile sed -i -e 's| blas/blas.a||' liblinear-$(UPVER)/Makefile sed -i -e '/blas/d' liblinear-$(UPVER)/matlab/Makefile sed -i -e '/blas/d' liblinear-$(UPVER)/Makefile mv liblinear-$(UPVER) liblinear-$(UPVER).orig GZIP="-9" tar --owner=root --group=root --mode=a+rX \ -czf liblinear_$(UPVER)+dfsg.orig.tar.gz \ liblinear-$(UPVER).orig rm -rf liblinear-$(UPVER).orig debian/python-liblinear.NEWS0000664000000000000000000000066411550635035013157 0ustar python-liblinear (1.7+dfsg-1) unstable; urgency=low NAMESPACE CHANGE In 1.6, we moved the Python bindings to their own namespace. Upstream has now confirmed a similar namespace move for upcoming release 1.8. Since we are currently incompatible with upstream anyway, the namespace for 1.7 has been changed to the one agreed upon with upstream for 1.8+. -- Christian Kastner Fri, 11 Mar 2011 19:23:05 +0100 debian/changelog0000664000000000000000000000745511774404221011057 0ustar liblinear (1.8+dfsg-1ubuntu1) quantal; urgency=low * debian/control: - Use dh_python2 instead of python-support - Add X-Python-Version - Drop libsvm-tools from Recommends to Suggests, as the tools are only mentioned in man pages. * debian/pyversions: - Drop, unused with dh_python2 -- Michael Terry Mon, 02 Jul 2012 16:05:38 -0400 liblinear (1.8+dfsg-1) unstable; urgency=low * New upstream release. * debian/control: - Added Chen-Tse Tsai to Uploaders - Bumped Standards-Version to 3.9.2 (no changes needed) * debian/python-liblinear.install debian/rules: - Dropped the override for dh_install in favor of python-liblinear.install Previously, this was not possible because we had to rename files * debian/watch: - Rewrote version mangling. Now only the upstream version needs to be mangled. The previous approach didn't work well together with DEHS * debian/copyright: - Refreshed upstream's copyright - Fixed the previous refresh of my packaging copyright (don't drop 2010) - Refreshed DEP5 format to r173 * debian/python-liblinear.README.Debian - Refreshed to reflect that we are now upstream-compatible again * debian/patches refreshed: - 0001-Properly-build-shared-and-static-libraries-programs Fixed a (harmless) missing definition. Also, patch now applies against orig tarball created with get-orig-source. The orig tarball previously created manually differed slightly (whitespace in Makefile) * debian/patches dropped (implemented/included upstream): - 0003-Add-missing-solver-to-Python-bindings - 0004-Python-namespace-change.patch * debian/patches added: - 0005-Documentation-fix.patch Mismatch between documented formulas -- Christian Kastner Tue, 05 Apr 2011 14:23:37 +0200 liblinear (1.7+dfsg-1) unstable; urgency=low * New upstream release. Closes: #609380 * python-liblinear: - NAMESPACE CHANGE. In anticipation of upstream's namespace switch for the next release, our own namespace switch (which broke compatibility) was modified to conform to it. - Added NEWS file indicating namespace change - Updated README.Debian indicating namespace change * debian/control: - Bumped Standards-Version to 3.9.1 (no changes needed) - Modified Depends: of liblinear-dev to support alternative BLAS implementations - Fixed broken Vcs-Browser URL. * debian/copyright: - Refreshed DEP5-format to r166 - Refreshed copyrights - Added Disclaimer for the modifications made during DFSG-cleaning - Relicense all of my contributions to BSD-3-clause to facilitate possible inclusions in upstream * debian/liblinear1.symbols: - Added new symbols - Removed the unnecessary dfsg suffix * debian/rules: - Added target get-orig-source - Don't hardcode CFLAGs; honor dpkg-buildflags - On systems with a dpkg-dev (<< 1.15.6), the symbols file is removed prior before dh_makeshlibs runs. This is a convenience solution for backporters on platforms where the c++ tags would otherwise cause build failures. This is temporary solution. * debian/patches: - Added 0003-Add-missing-solver-to-Python-bindings - Dropped 0002-Move-Python-bindings-to-package-liblinear - Added 0004-Python-namespace-change.patch (i.e., the old namespace switch was dropped, and the new one implemented as a fresh patch) -- Christian Kastner Fri, 11 Mar 2011 19:30:51 +0100 liblinear (1.6+dfsg-1) unstable; urgency=low * Initial release (Closes: #585788) * debian/patches: - 0001-Properly-build-shared-and-static-libraries-programs - 0002-Move-Python-bindings-to-package-liblinear -- Christian Kastner Fri, 09 Jul 2010 21:45:57 +0200 debian/liblinear-tools.install0000664000000000000000000000006211550635035013660 0ustar liblinear-train usr/bin liblinear-predict usr/bin debian/python-liblinear.README.Debian0000664000000000000000000000042211550635035014511 0ustar python-liblinear for Debian --------------------------- Historical note: the Debian versions of python-liblinear earlier than 1.8 broke API compatibility with upstream due to possible name collisions. -- Christian Kastner Tue, 05 Apr 2011 14:33:37 +0200 debian/liblinear-tools.examples0000664000000000000000000000001411550635035014025 0ustar heart_scale debian/liblinear1.docs0000664000000000000000000000000711550635035012064 0ustar README debian/python-liblinear.docs0000664000000000000000000000001611550635035013322 0ustar python/README debian/TODO0000664000000000000000000000061211550635035007662 0ustar Concerning upstream sources --------------------------- No TODOs at this time. Concerning Debian packaging --------------------------- 2011-02-27 (CK): As a convenience to backporters, we remove the liblinear1.symbols file on systems with a dpkg version earlier than 1.15.6. However, this should be considered only a temporary measure, until a more satisfactory solution is found. debian/liblinear-dev.install0000664000000000000000000000007611550635035013303 0ustar linear.h usr/include liblinear.so usr/lib liblinear.a usr/lib debian/patches/0000775000000000000000000000000011550635035010622 5ustar debian/patches/0001-Properly-build-shared-and-static-libraries-programs.patch0000664000000000000000000000453711550635035024236 0ustar From: Christian Kastner Date: Fri, 9 Jul 2010 18:09:09 +0200 Subject: [PATCH] Properly build shared and static libraries, programs Modify upstream's Makefile to properly build shared and static libraries, link upstream's programs to the shared libraries. Forwarded: not-needed Last-Update: 2011-04-11 --- Makefile | 50 ++++++++++++++++++++++++++++++++------------------ 1 files changed, 32 insertions(+), 18 deletions(-) Index: liblinear-1.8.orig/Makefile =================================================================== --- liblinear-1.8.orig.orig/Makefile 2011-04-05 14:14:49.000000000 +0200 +++ liblinear-1.8.orig/Makefile 2011-04-05 14:23:19.804010092 +0200 @@ -1,27 +1,41 @@ CXX ?= g++ CC ?= gcc -CFLAGS = -Wall -Wconversion -O3 -fPIC -LIBS = -SHVER = 1 - -all: train predict - -lib: linear.o tron.o - $(CXX) -shared -dynamiclib linear.o tron.o -o liblinear.so.$(SHVER) - -train: tron.o linear.o train.c - $(CXX) $(CFLAGS) -o train train.c tron.o linear.o $(LIBS) - -predict: tron.o linear.o predict.c - $(CXX) $(CFLAGS) -o predict predict.c tron.o linear.o $(LIBS) - -tron.o: tron.cpp tron.h - $(CXX) $(CFLAGS) -c -o tron.o tron.cpp - -linear.o: linear.cpp linear.h - $(CXX) $(CFLAGS) -c -o linear.o linear.cpp - +CFLAGS += +LDFLAGS += -L. +LIBS += + +LIB_CFLAGS += $(CFLAGS) -fPIC +LIB_LDFLAGS += $(LDFLAGS) +LIB_LIBS += $(LIBS) -lblas + +PROG_CFLAGS += $(CFLAGS) +PROG_LDFLAGS += $(LDFLAGS) +PROG_LIBS += $(LIBS) -llinear + +LVER ?= 0 +LSUBVER ?= 0 +LIBFILE = liblinear.so.$(LVER).$(LSUBVER) + + +all: liblinear-train liblinear-predict liblinear.a + +liblinear-train: train.c $(LIBFILE) + $(CXX) $(PROG_CFLAGS) $(PROG_LDFLAGS) -o $@ train.c $(PROG_LIBS) + +liblinear-predict: predict.c $(LIBFILE) + $(CXX) $(PROG_CFLAGS) $(PROG_LDFLAGS) -o $@ predict.c $(PROG_LIBS) + +$(LIBFILE): linear.cpp linear.h tron.cpp tron.h + $(CXX) $(LIB_CFLAGS) $(LIB_LDFLAGS) -shared \ + -Wl,-soname,liblinear.so.$(LVER) \ + -o $@ linear.cpp tron.cpp $(LIB_LIBS) + ln -s $@ liblinear.so.$(LVER) + ln -s liblinear.so.$(LVER) liblinear.so + +liblinear.a: + $(CXX) $(CFLAGS) $(LDFLAGS) -c -o linear-static.o linear.cpp + $(CXX) $(CFLAGS) $(LDFLAGS) -c -o tron-static.o tron.cpp + ar cru liblinear.a linear-static.o tron-static.o clean: - cd matlab; make clean - rm -f *~ tron.o linear.o train predict liblinear.so.$(SHVER) + rm -f *~ *.o *.a *.so* liblinear-train liblinear-predict debian/patches/0005-Documentation-fix.patch0000664000000000000000000000160211550635035015621 0ustar From: Christian Kastner Date: Mon, 11 Apr 2011 17:25:04 +0200 Subject: Documentation fix Documented formula does not match train.c and matlab/train.c Forwarded: yes Last-Update: 2011-04-11 Index: liblinear-1.8+dfsg/README =================================================================== --- liblinear-1.8+dfsg.orig/README 2011-04-11 17:28:39.688001268 +0200 +++ liblinear-1.8+dfsg/README 2011-04-11 17:29:04.567996946 +0200 @@ -114,7 +114,7 @@ -s 1, 3, 4 and 7 Dual maximal violation <= eps; similar to libsvm (default 0.1) -s 5 and 6 - |f'(w)|_inf <= eps*min(pos,neg)/l*|f'(w0)|_inf, + |f'(w)|_1 <= eps*min(pos,neg)/l*|f'(w0)|_1, where f is the primal function (default 0.01) -B bias : if bias >= 0, instance x becomes [x; bias]; if < 0, no bias term added (default -1) -wi weight: weights adjust the parameter C of different classes (see README for details) debian/patches/series0000664000000000000000000000013411550635035012035 0ustar 0001-Properly-build-shared-and-static-libraries-programs.patch 0005-Documentation-fix.patch debian/liblinear-dev.README.Debian0000664000000000000000000000067611550635035013761 0ustar liblinear for Debian -------------------- For more information (including formulations) about LIBLINEAR, you are strongly advised to read upstream's README file in /usr/share/doc/liblinear1/README. To compile software against liblinear, you need to include "linear.h" and link against liblinear with -llinear. When compiling statically, you must also link against -lblas. -- Christian Kastner Fri, 09 Jul 2010 20:57:11 +0200 debian/python-liblinear.dirs0000664000000000000000000000002311550635035013331 0ustar usr/share/pyshared debian/liblinear-tools.manpages0000664000000000000000000000006411550635035014007 0ustar debian/liblinear-train.1 debian/liblinear-predict.1 debian/liblinear-dev.dirs0000664000000000000000000000002411550635035012567 0ustar usr/lib usr/include debian/source/0000775000000000000000000000000011550635035010473 5ustar debian/source/format0000664000000000000000000000001411550635035011701 0ustar 3.0 (quilt) debian/liblinear-tools.README.Debian0000664000000000000000000000075211550635035014336 0ustar liblinear for Debian -------------------- For more information (including formulations) about LIBLINEAR, you are strongly advised to read upstream's README file in /usr/share/doc/liblinear1/README. Upstream calls its binary executables "train" and "predict". To avoid possible name collisions, these binaries (available in the liblinear-tools package) have been renamed to "liblinear-train" and "liblinear-predict". -- Christian Kastner Fri, 09 Jul 2010 20:55:11 +0200 debian/control0000664000000000000000000000771211774404347010615 0ustar Source: liblinear Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Christian Kastner Uploaders: Chen-Tse Tsai Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), libblas-dev Standards-Version: 3.9.2 Section: libs Homepage: http://www.csie.ntu.edu.tw/~cjlin/liblinear/ Vcs-Git: git://scm.kvr.at/git/pkg-liblinear.git Vcs-Browser: http://scm.kvr.at/git/?p=pkg-liblinear.git;a=summary X-Python-Version: >= 2.5 Package: liblinear-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, liblinear1 (= ${binary:Version}), libblas-dev | libatlas-dev | libblas-3gf.so Description: Development libraries and header files for LIBLINEAR LIBLINEAR is a library for learning linear classifiers for large scale applications. It supports Support Vector Machines (SVM) with L2 and L1 loss, logistic regression, multi class classification and also Linear Programming Machines (L1-regularized SVMs). Its computational complexity scales linearly with the number of training examples making it one of the fastest SVM solvers around. . This package contains the header files and static libraries. Package: liblinear1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: liblinear-tools (= ${binary:Version}) Suggests: liblinear-dev (= ${binary:Version}) Description: Library for Large Linear Classification LIBLINEAR is a library for learning linear classifiers for large scale applications. It supports Support Vector Machines (SVM) with L2 and L1 loss, logistic regression, multi class classification and also Linear Programming Machines (L1-regularized SVMs). Its computational complexity scales linearly with the number of training examples making it one of the fastest SVM solvers around. It also provides Python bindings. . This package contains the shared libraries. Package: liblinear-dbg Priority: extra Section: debug Architecture: any Depends: ${misc:Depends}, liblinear1 (= ${binary:Version}), liblinear-tools (= ${binary:Version}) Description: Debugging symbols for LIBLINEAR LIBLINEAR is a library for learning linear classifiers for large scale applications. It supports Support Vector Machines (SVM) with L2 and L1 loss, logistic regression, multi class classification and also Linear Programming Machines (L1-regularized SVMs). Its computational complexity scales linearly with the number of training examples making it one of the fastest SVM solvers around. It also provides Python bindings. . This package contains the debugging symbols. Package: liblinear-tools Section: science Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, liblinear1 (= ${binary:Version}) Suggests: libsvm-tools Description: Standalone applications for LIBLINEAR LIBLINEAR is a library for learning linear classifiers for large scale applications. It supports Support Vector Machines (SVM) with L2 and L1 loss, logistic regression, multi class classification and also Linear Programming Machines (L1-regularized SVMs). Its computational complexity scales linearly with the number of training examples making it one of the fastest SVM solvers around. It also provides Python bindings. . This package contains the standalone applications. Package: python-liblinear Section: python Architecture: any Depends: ${python:Depends}, ${misc:Depends}, liblinear1 (= ${binary:Version}) Description: Python bindings for LIBLINEAR LIBLINEAR is a library for learning linear classifiers for large scale applications. It supports Support Vector Machines (SVM) with L2 and L1 loss, logistic regression, multi class classification and also Linear Programming Machines (L1-regularized SVMs). Its computational complexity scales linearly with the number of training examples making it one of the fastest SVM solvers around. It also provides Python bindings. . This package contains the Python bindings. debian/liblinear1.README.Debian0000664000000000000000000000041711550635035013257 0ustar liblinear for Debian -------------------- For more information (including formulations) about LIBLINEAR, you are strongly advised to read upstream's README file in /usr/share/doc/liblinear1/README. -- Christian Kastner Fri, 09 Jul 2010 20:56:11 +0200 debian/watch0000664000000000000000000000050711550635035010226 0ustar version=3 # Upstream's versioning scheme is 1.5, 1.51, 1.52, etc., so we mangle # it by adding a dot between minor release and revision, eg: # 1.8 -> 1.8, but 1.81 -> 1.8.1 opts=\ uversionmangle=s/(\d)\.(\d)(\d)/$1.$2.$3/,\ dversionmangle=s/\+dfsg// \ http://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-(.*)\.zip debian/liblinear1.symbols0000664000000000000000000000624611550635035012637 0ustar liblinear.so.1 liblinear1 #MINVER# (c++)"solve_l2r_lr_dual(problem const*, double*, double, double, double)@Base" 1.7 (c++)"compare_double(void const*, void const*)@Base" 1.6 (c++)"l2r_lr_fun::get_nr_variable()@Base" 1.6 (c++)"l2r_lr_fun::Hv(double*, double*)@Base" 1.6 (c++)"l2r_lr_fun::Xv(double*, double*)@Base" 1.6 (c++)"l2r_lr_fun::XTv(double*, double*)@Base" 1.6 (c++)"l2r_lr_fun::fun(double*)@Base" 1.6 (c++)"l2r_lr_fun::grad(double*, double*)@Base" 1.6 (c++)"l2r_lr_fun::l2r_lr_fun(problem const*, double, double)@Base" 1.6 (c++)"l2r_lr_fun::l2r_lr_fun(problem const*, double, double)@Base" 1.6 (c++)"l2r_lr_fun::~l2r_lr_fun()@Base" 1.6 (c++)"l2r_lr_fun::~l2r_lr_fun()@Base" 1.6 (c++)"l2r_lr_fun::~l2r_lr_fun()@Base" 1.6 (c++)"l2r_l2_svc_fun::get_nr_variable()@Base" 1.6 (c++)"l2r_l2_svc_fun::Hv(double*, double*)@Base" 1.6 (c++)"l2r_l2_svc_fun::Xv(double*, double*)@Base" 1.6 (c++)"l2r_l2_svc_fun::fun(double*)@Base" 1.6 (c++)"l2r_l2_svc_fun::grad(double*, double*)@Base" 1.6 (c++)"l2r_l2_svc_fun::subXv(double*, double*)@Base" 1.6 (c++)"l2r_l2_svc_fun::subXTv(double*, double*)@Base" 1.6 (c++)"l2r_l2_svc_fun::l2r_l2_svc_fun(problem const*, double, double)@Base" 1.6 (c++)"l2r_l2_svc_fun::l2r_l2_svc_fun(problem const*, double, double)@Base" 1.6 (c++)"l2r_l2_svc_fun::~l2r_l2_svc_fun()@Base" 1.6 (c++)"l2r_l2_svc_fun::~l2r_l2_svc_fun()@Base" 1.6 (c++)"l2r_l2_svc_fun::~l2r_l2_svc_fun()@Base" 1.6 (c++)"Solver_MCSVM_CS::solve_sub_problem(double, int, double, int, double*)@Base" 1.6 (c++)"Solver_MCSVM_CS::Solve(double*)@Base" 1.6 (c++)"Solver_MCSVM_CS::be_shrunk(int, int, int, double, double)@Base" 1.6 (c++)"Solver_MCSVM_CS::Solver_MCSVM_CS(problem const*, int, double*, double, int)@Base" 1.6 (c++)"Solver_MCSVM_CS::Solver_MCSVM_CS(problem const*, int, double*, double, int)@Base" 1.6 (c++)"Solver_MCSVM_CS::~Solver_MCSVM_CS()@Base" 1.6 (c++)"Solver_MCSVM_CS::~Solver_MCSVM_CS()@Base" 1.6 (c++)"TRON::set_print_string(void (*)(char const*))@Base" 1.6 (c++)"TRON::info(char const*, ...)@Base" 1.6 (c++)"TRON::trcg(double, double*, double*, double*)@Base" 1.6 (c++)"TRON::tron(double*)@Base" 1.6 (c++)"TRON::norm_inf(int, double*)@Base" 1.6 (c++)"TRON::TRON(function const*, double, int)@Base" 1.6 (c++)"TRON::TRON(function const*, double, int)@Base" 1.6 (c++)"TRON::~TRON()@Base" 1.6 (c++)"TRON::~TRON()@Base" 1.6 (c++)"function::~function()@Base" 1.6 (c++)"function::~function()@Base" 1.6 (c++)"typeinfo for l2r_lr_fun@Base" 1.6 (c++)"typeinfo for l2r_l2_svc_fun@Base" 1.6 (c++)"typeinfo for function@Base" 1.6 (c++)"typeinfo name for l2r_lr_fun@Base" 1.6 (c++)"typeinfo name for l2r_l2_svc_fun@Base" 1.6 (c++)"typeinfo name for function@Base" 1.6 (c++)"vtable for l2r_lr_fun@Base" 1.6 (c++)"vtable for l2r_l2_svc_fun@Base" 1.6 (c++)"vtable for function@Base" 1.6 check_parameter@Base 1.6 check_probability_model@Base 1.6 cross_validation@Base 1.6 destroy_param@Base 1.6 free_and_destroy_model@Base 1.6 free_model_content@Base 1.6 get_labels@Base 1.6 get_nr_class@Base 1.6 get_nr_feature@Base 1.6 load_model@Base 1.6 predict@Base 1.6 predict_probability@Base 1.6 predict_values@Base 1.6 save_model@Base 1.6 set_print_string_function@Base 1.6 train@Base 1.6