[liblinear] 30/123: Rename linear-{train,predict} to liblinear-*
Christian Kastner
chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:06 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 63f242c7a084fbd8680e1b3dc26a9d97403813ef
Author: Christian Kastner <debian at kvr.at>
Date: Fri Jul 9 20:14:40 2010 +0200
Rename linear-{train,predict} to liblinear-*
---
debian/README.Debian | 2 +-
debian/{linear-predict.1 => liblinear-predict.1} | 14 +++++------
debian/liblinear-tools.install | 4 ++--
debian/liblinear-tools.manpages | 4 ++--
debian/{linear-train.1 => liblinear-train.1} | 28 +++++++++++-----------
...uild-shared-and-static-libraries-programs.patch | 10 ++++----
6 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index 6b64e97..72a2e30 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -10,6 +10,6 @@ link against -lblas.
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 "linear-train" and "linear-predict".
+been renamed to "liblinear-train" and "liblinear-predict".
-- Christian Kastner <debian at kvr.at> Sat, 12 Jun 2010 21:21:11 +0200
diff --git a/debian/linear-predict.1 b/debian/liblinear-predict.1
similarity index 69%
rename from debian/linear-predict.1
rename to debian/liblinear-predict.1
index ed69ce9..bdf7652 100644
--- a/debian/linear-predict.1
+++ b/debian/liblinear-predict.1
@@ -1,13 +1,13 @@
.\" Hey, EMACS: -*- nroff -*-
-.TH LINEAR-PREDICT 1 "June 16, 2010"
+.TH LIBLINEAR-PREDICT 1 "June 16, 2010"
.SH NAME
-linear-predict \- Make predictions based on a trained linear classifier model
+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
-\fBlinear-predict\fP uses the linear classifier \fImodel-file\fP to make
+\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
@@ -20,7 +20,7 @@ Train a linear SVM using L2-loss function with \fBlinear-train\fP(1):
.sp
.RS 10
.nf
- linear-train data_file
+ liblinear-train data_file
.fi
.RE
.sp
@@ -28,15 +28,15 @@ Output probability estimates (for logistic regression only):
.sp
.RS 10
.nf
- predict \-b 1 test_file data_file.model output_file
+ libpredict \-b 1 test_file data_file.model output_file
.fi
.RE
.SH SEE ALSO
-.BR linear-train (1),
+.BR liblinear-train (1),
.BR svm-predict (1),
.BR svm-train (1)
.SH AUTHORS
-linear-predict was written by the LIBLINEAR authors at National Taiwan
+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 <debian at kvr.at>,
diff --git a/debian/liblinear-tools.install b/debian/liblinear-tools.install
index f884093..e6e5e47 100644
--- a/debian/liblinear-tools.install
+++ b/debian/liblinear-tools.install
@@ -1,2 +1,2 @@
-linear-train usr/bin
-linear-predict usr/bin
+liblinear-train usr/bin
+liblinear-predict usr/bin
diff --git a/debian/liblinear-tools.manpages b/debian/liblinear-tools.manpages
index 908207d..416f78e 100644
--- a/debian/liblinear-tools.manpages
+++ b/debian/liblinear-tools.manpages
@@ -1,2 +1,2 @@
-debian/linear-train.1
-debian/linear-predict.1
+debian/liblinear-train.1
+debian/liblinear-predict.1
diff --git a/debian/linear-train.1 b/debian/liblinear-train.1
similarity index 81%
rename from debian/linear-train.1
rename to debian/liblinear-train.1
index cab7fbb..1edb714 100644
--- a/debian/linear-train.1
+++ b/debian/liblinear-train.1
@@ -1,14 +1,14 @@
.\" Hey, EMACS: -*- nroff -*-
-.TH LINEAR-TRAIN 1 "June 16, 2010"
+.TH LIBLINEAR-TRAIN 1 "June 16, 2010"
.SH NAME
-linear-train \- train a linear classifier and produce a model
+liblinear-train \- train a linear classifier and produce a model
.SH SYNOPSIS
-.B linear-train
+.B liblinear-train
.RI [ options ] " training_set_file " [ model_file ]
.br
.SH DESCRIPTION
-\fBlinear-train\fP trains a linear classifier using liblinear and produces a
-model suitable for use with \fBlinear-predict\fP(1).
+\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
@@ -90,7 +90,7 @@ Train a linear SVM using L2-loss function:
.sp
.RS 10
.nf
- linear-train data_file
+ liblinear-train data_file
.fi
.RE
.sp
@@ -98,7 +98,7 @@ Train a logistic regression model:
.sp
.RS 10
.nf
- linear-train \-s 0 data_file
+ liblinear-train \-s 0 data_file
.fi
.RE
.sp
@@ -107,7 +107,7 @@ tolerance 0.001 instead of the default 0.1 for more accurate solutions:
.sp
.RS 10
.nf
- linear-train \-v 5 \-e 0.001 data_file
+ liblinear-train \-v 5 \-e 0.001 data_file
.fi
.RE
.sp
@@ -127,7 +127,7 @@ class 4 class 1,2,3 20 10
.sp
.RS 10
.nf
- linear-train \-c 10 \-w1 2 \-w2 5 \-w3 2 four_class_data_file
+ liblinear-train \-c 10 \-w1 2 \-w2 5 \-w3 2 four_class_data_file
.fi
.RE
.sp
@@ -136,24 +136,24 @@ calsses are 10 and 50:
.sp
.RS 10
.nf
- linear-train \-c 10 \-w3 1 \-w2 5 two_class_data_file
+ liblinear-train \-c 10 \-w3 1 \-w2 5 two_class_data_file
.fi
.RE
.sp
Output probability estimates (for logistic regression only) using
-\fBlinear-predict\fP(1):
+\fBliblinear-predict\fP(1):
.sp
.RS 10
.nf
- linear-predict \-b 1 test_file data_file.model output_file
+ liblinear-predict \-b 1 test_file data_file.model output_file
.fi
.RE
.SH SEE ALSO
-.BR linear-predict (1),
+.BR liblinear-predict (1),
.BR svm-predict (1),
.BR svm-train (1)
.SH AUTHORS
-linear-train was written by the LIBLINEAR authors at National Taiwan
+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 <debian at kvr.at>,
diff --git a/debian/patches/0001-Properly-build-shared-and-static-libraries-programs.patch b/debian/patches/0001-Properly-build-shared-and-static-libraries-programs.patch
index 4d2d796..1c3a541 100644
--- a/debian/patches/0001-Properly-build-shared-and-static-libraries-programs.patch
+++ b/debian/patches/0001-Properly-build-shared-and-static-libraries-programs.patch
@@ -12,7 +12,7 @@ Last-Update: 2010-07-09
1 files changed, 32 insertions(+), 18 deletions(-)
diff --git a/Makefile b/Makefile
-index 5004ff9..7044220 100644
+index 5004ff9..4d77d2f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,27 +1,41 @@
@@ -49,14 +49,14 @@ index 5004ff9..7044220 100644
-tron.o: tron.cpp tron.h
- $(CXX) $(CFLAGS) -c -o tron.o tron.cpp
-+all: linear-train linear-predict liblinear.a
++all: liblinear-train liblinear-predict liblinear.a
-linear.o: linear.cpp linear.h
- $(CXX) $(CFLAGS) -c -o linear.o linear.cpp
-+linear-train: train.c $(LIBFILE)
++liblinear-train: train.c $(LIBFILE)
+ $(CXX) $(PROG_CFLAGS) $(PROG_LDFLAGS) -o $@ train.c $(PROG_LIBS)
+
-+linear-predict: predict.c $(LIBFILE)
++liblinear-predict: predict.c $(LIBFILE)
+ $(CXX) $(PROG_CFLAGS) $(PROG_LDFLAGS) -o $@ predict.c $(PROG_LIBS)
+
+$(LIBFILE): linear.cpp linear.h tron.cpp tron.h
@@ -74,5 +74,5 @@ index 5004ff9..7044220 100644
clean:
- cd matlab; make clean
- rm -f *~ tron.o linear.o train predict liblinear.so.$(SHVER)
-+ rm -f *~ *.o *.so* linear-train linear-predict
++ rm -f *~ *.o *.so* liblinear-train liblinear-predict
--
--
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