[lua-torch-optim] 01/01: initialize packaging

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sun Aug 14 14:34:26 UTC 2016


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

cdluminate-guest pushed a commit to branch master
in repository lua-torch-optim.

commit 0ad917b236ac3619a65875557f8c6d5adc2c1ed9
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sun Aug 14 14:32:42 2016 +0000

    initialize packaging
---
 debian/changelog          |  5 ++++
 debian/clean              |  3 +++
 debian/compat             |  1 +
 debian/control            | 46 +++++++++++++++++++++++++++++++++
 debian/copyright          | 65 +++++++++++++++++++++++++++++++++++++++++++++++
 debian/lua5.1.dh-lua.conf |  4 +++
 debian/rules              | 12 +++++++++
 debian/source/format      |  1 +
 8 files changed, 137 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..41a32f3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lua-torch-optim (0~20160808-g6c59c35-1) experimental; urgency=low
+
+  * Initial release. Closes: #827435
+
+ -- Zhou Mo <cdluminate at gmail.com>  Sun, 14 Aug 2016 14:16:13 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..7f2a27d
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,3 @@
+debian/lua-torch-optim-dev.install
+debian/lua-torch-optim.install
+debian/lua_versions
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f7bba37
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: lua-torch-optim
+Section: interpreters
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Zhou Mo <cdluminate at gmail.com>
+Build-Depends: debhelper (>=9),
+               dh-lua,
+# lua-torch-torch7 is not a real B-D, but an explicit runtime dependency
+               lua-torch-torch7,
+Standards-Version: 3.9.8
+Homepage: https://github.com/torch/optim
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/lua-torch-optim.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/lua-torch-optim.git
+
+Package: lua-torch-optim
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}, lua5.1 | luajit
+XB-Lua-Versions: ${lua:Versions}
+Description: Numeric Optimization Package for Torch Framework
+ This package contains several optimization routines and a logger for Torch.
+ .
+ The following algorithms are provided:
+  * Stochastic Gradient Descent
+  * Averaged Stochastic Gradient Descent
+  * L-BFGS
+  * Congugate Gradients
+  * AdaDelta
+  * AdaGrad
+  * Adam
+  * AdaMax
+  * FISTA with backtracking line search
+  * Nesterov's Accelerated Gradient method
+  * RMSprop
+  * Rprop
+  * CMAES
+ All these algorithms are designed to support batch optimization as well
+ as stochastic optimization. It's up to the user to construct an objective
+ function that represents the batch, mini-batch, or single sample on which
+ to evaluate the objective.
+ .
+ This package provides also logging and live plotting capabilities via the
+ `optim.Logger()` function. Live logging is essential to monitor the
+ network accuracy and cost function during training and testing, for
+ spotting under- and over-fitting, for early stopping or just for monitoring
+ the health of the current optimisation task.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e1d845b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,65 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: torch/optim
+Source: https://github.com/torch/optim
+
+Files:     *
+Copyright: 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
+           2006 Idiap Research Institute (Samy Bengio)
+           2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
+           2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
+           2011-2013 NYU (Clement Farabet)
+           2011-2014 Idiap Research Institute (Ronan Collobert)
+License:   Torch_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 the names of NEC Laboratories American and IDIAP Research
+ Institute 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 COPYRIGHT OWNER 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.
+
+Files:     debian/*
+Copyright: 2016 Zhou Mo <cdluminate at gmail.com>
+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 the name of the University 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 HOLDERS 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.
diff --git a/debian/lua5.1.dh-lua.conf b/debian/lua5.1.dh-lua.conf
new file mode 100644
index 0000000..dcf2a60
--- /dev/null
+++ b/debian/lua5.1.dh-lua.conf
@@ -0,0 +1,4 @@
+PKG_NAME=torch-optim
+LUA_MODNAME=
+LUA_VERSION=5.1
+LUA_SOURCES=$(wildcard optim/*.lua)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0435dac
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem=lua --with lua
+
+override_dh_auto_configure:
+	ln -s . optim
+	dh_auto_configure
+
+override_dh_auto_clean:
+	-$(RM) -rf 5.1-torch-optim 5.2-torch-optim debian/trash optim
+	dh_auto_clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

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



More information about the debian-science-commits mailing list