[liblinear] 88/123: Added patch for documentation fix

Christian Kastner chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch master
in repository liblinear.

commit 43b39706e6027cbe1d3a0367ea6b9eb44e6d7eb2
Author: Christian Kastner <debian at kvr.at>
Date:   Mon Apr 11 17:31:11 2011 +0200

    Added patch for documentation fix
---
 debian/changelog                            |  3 +++
 debian/patches/0005-Documentation-fix.patch | 22 ++++++++++++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8d7d804..dde0957 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,9 @@ liblinear (1.8+dfsg-1) unstable; urgency=low
   * 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 <debian at kvr.at>  Tue, 05 Apr 2011 14:23:37 +0200
 
diff --git a/debian/patches/0005-Documentation-fix.patch b/debian/patches/0005-Documentation-fix.patch
new file mode 100644
index 0000000..940880d
--- /dev/null
+++ b/debian/patches/0005-Documentation-fix.patch
@@ -0,0 +1,22 @@
+From: Christian Kastner <debian at kvr.at>
+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)
diff --git a/debian/patches/series b/debian/patches/series
index 72e9037..7772076 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Properly-build-shared-and-static-libraries-programs.patch
+0005-Documentation-fix.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liblinear.git



More information about the debian-science-commits mailing list