debian/0000755000000000000000000000000011736107421007170 5ustar debian/source/0000755000000000000000000000000011736107421010470 5ustar debian/source/format0000644000000000000000000000001411736107421011676 0ustar 3.0 (quilt) debian/check.m0000644000000000000000000000012711736107421010423 0ustar cd tests/MLP disp ("[MLPScripts]"); MLPScripts; disp ("[nnetTestMLP]"); nnetTestMLP; debian/clean0000644000000000000000000000013011736107421010167 0ustar tests/MLP/example2/MLP3test.txt tests/MLP/example2/MLP9-2-2-1.txt tests/MLP/log_test1_1 debian/patches/0000755000000000000000000000000011736107421010617 5ustar debian/patches/series0000644000000000000000000000003411736107421012031 0ustar fix-boolean-operators.patch debian/patches/fix-boolean-operators.patch0000644000000000000000000001147311736107421016065 0ustar Description: Fix the short-circuit boolean operators Author: Rafael Laboissiere Last-Update: 2012-03-31 --- octave-nnet-0.1.13.orig/inst/newff.m +++ octave-nnet-0.1.13/inst/newff.m @@ -176,7 +176,7 @@ function net = newff(Pr,ss,transFunc,tra function checkInputArgs(Pr,ss) ## check if Pr has correct format - if !isreal(Pr) | (size(Pr,2)!=2) + if !isreal(Pr) || (size(Pr,2)!=2) error("Input ranges must be a two column matrix!") endif if any(Pr(:,1) > Pr(:,2)) # check if numbers in the second column are larger as in the first one @@ -192,7 +192,7 @@ function net = newff(Pr,ss,transFunc,tra endif for k=1:length(ss) sk = ss(k); - if !isreal(sk) | any(sk<1) | any(round(sk)!=sk) + if !isreal(sk) || any(sk<1) || any(round(sk)!=sk) error("Layer sizes is not a row vector of positive integers.") endif endfor --- octave-nnet-0.1.13.orig/inst/isposint.m +++ octave-nnet-0.1.13/inst/isposint.m @@ -42,7 +42,7 @@ function f = isposint(n) endif f = 1; - if ( (!isreal(n)) | (n<=0) | (round(n) != n) ) + if ( (!isreal(n)) || (n<=0) || (round(n) != n) ) f = 0; endif --- octave-nnet-0.1.13.orig/inst/__newnetwork.m +++ octave-nnet-0.1.13/inst/__newnetwork.m @@ -143,7 +143,7 @@ function net = __newnetwork(numInputs,nu error(nargchk(2,2,nargin)) ## check type of arguments - if ( !isscalar(numLayers) | !isposint(numLayers) ) + if ( !isscalar(numLayers) || !isposint(numLayers) ) error("second argument must be a positive integer scalar value!") endif if ( !__checknetstruct(net) ) @@ -169,7 +169,7 @@ function net = __newnetwork(numInputs,nu error(nargchk(2,2,nargin)) ## check type of arguments - if ( !isscalar(numLayers) | !isposint(numLayers) ) + if ( !isscalar(numLayers) || !isposint(numLayers) ) error("second argument must be a positive integer scalar value!") endif if ( !isstruct(net) ) --- octave-nnet-0.1.13.orig/inst/__trainlm.m +++ octave-nnet-0.1.13/inst/__trainlm.m @@ -231,7 +231,7 @@ function [net] = __trainlm(net,Im,Pp,Tt, endif ## goal can be zero or a positive double - if ( (goal<0) | !(isa(goal,"double")) ) + if ( (goal<0) || !(isa(goal,"double")) ) error("Goal is not zero or a positive real value.") endif @@ -241,31 +241,31 @@ function [net] = __trainlm(net,Im,Pp,Tt, error("maxFail is not a positive integer.") endif - if (!isa(minGrad,"double")) | (!isreal(minGrad)) | (!isscalar(minGrad)) | \ + if (!isa(minGrad,"double")) || (!isreal(minGrad)) || (!isscalar(minGrad)) || \ (minGrad < 0) error("minGrad is not zero or a positive real value.") end ## mu must be a positive real value. this parameter is responsible ## for moving from stepest descent to quasi newton - if ((!isa(mu,"double")) | (!isreal(mu)) | (any(size(mu)) != 1) | (mu <= 0)) + if ((!isa(mu,"double")) || (!isreal(mu)) || (any(size(mu)) != 1) || (mu <= 0)) error("mu is not a positive real value.") endif ## muDec defines the decrement factor - if ((!isa(muDec,"double")) | (!isreal(muDec)) | (any(size(muDec)) != 1) | \ - (muDec < 0) | (muDec > 1)) + if ((!isa(muDec,"double")) || (!isreal(muDec)) || (any(size(muDec)) != 1) || \ + (muDec < 0) || (muDec > 1)) error("muDec is not a real value between 0 and 1.") endif ## muInc defines the increment factor - if (~isa(muInc,"double")) | (!isreal(muInc)) | (any(size(muInc)) != 1) | \ + if (~isa(muInc,"double")) || (!isreal(muInc)) || (any(size(muInc)) != 1) || \ (muInc < 1) error("muInc is not a real value greater than 1.") endif ## muMax is the upper boundary for the mu value - if (!isa(muMax,"double")) | (!isreal(muMax)) | (any(size(muMax)) != 1) | \ + if (!isa(muMax,"double")) || (!isreal(muMax)) || (any(size(muMax)) != 1) || \ (muMax <= 0) error("muMax is not a positive real value.") endif @@ -283,7 +283,7 @@ function [net] = __trainlm(net,Im,Pp,Tt, endif ## check at last the time argument, must be zero or a positive real value - if (!isa(time,"double")) | (!isreal(time)) | (any(size(time)) != 1) | \ + if (!isa(time,"double")) || (!isreal(time)) || (any(size(time)) != 1) || \ (time < 0) error("Time is not zero or a positive real value.") end @@ -301,7 +301,7 @@ function [net] = __trainlm(net,Im,Pp,Tt, error(nargchk(12,12,nargin)); ## show progress - if isfinite(show) & (!rem(iEpochs,show) | length(stop)) + if isfinite(show) && (!rem(iEpochs,show) || length(stop)) fprintf(shortStr); # outputs the training algorithm if isfinite(epochs) fprintf(", Epoch %g/%g",iEpochs, epochs); debian/octave-nnet.docs0000644000000000000000000000015511736107421012266 0ustar doc/pdf/neuralNetworkPackageForOctaveUsersGuide.pdf doc/pdf/neuralNetworkPackageForOctaveDevelopersGuide.pdf debian/octave-nnet.doc-base.user0000644000000000000000000000065111736107421013771 0ustar Document: octave-nnet-user Title: A neural network toolbox for Octave - User's Guide Author: Michael Schmid Abstract: This is the user's guide of the neural network toolbox for Octave, a scientific computation software. This toolbox allow teh simulation of feed forward multi-layer neural networks. Section: Science/Mathematics Format: PDF Files: /usr/share/doc/octave-nnet/neuralNetworkPackageForOctaveUsersGuide.pdf.gz debian/rules0000755000000000000000000000015111736107421010245 0ustar #!/usr/bin/make -f # -*- makefile -*- include /usr/share/cdbs/1/class/octave-pkg.mk pkg = octave-nnet debian/changelog0000644000000000000000000001001611736107421011040 0ustar octave-nnet (0.1.13-2) unstable; urgency=low [ Rafael Laboissiere ] * Imported Upstream version 0.1.13 * Bump to debhelper compat level 9 * Build-depend on octave-pkg-dev >= 1.0.1, to build against Octave 3.6 * Add Sébastien Villemot to the list of Uploaders * Bump to Standards-Version 3.9.3, no changes needed * debian/copyright: update to machine-readable format 1.0 * Install the Developers' Guide and register the docs under doc-base * debian/patches/fix-boolean-operators.patch: New patch -- Thomas Weber Sun, 01 Apr 2012 19:23:00 +0200 octave-nnet (0.1.13-1) unstable; urgency=low * New upstream release -- Thomas Weber Wed, 20 Apr 2011 21:36:00 +0200 octave-nnet (0.1.12-1) unstable; urgency=low * New upstream release * debian/control: - Remove Rafael Laboissiere from Uploaders (Closes: #571899) - Remove Ólafur Jens Sigurðsson from Uploaders * Switch to dpkg-source 3.0 (quilt) format * Bump Standards-Version to 3.8.4 * Removed patches (applied upstream): - fix-version-number.diff - workaround_octave_bug - pdfsources.diff -- Thomas Weber Fri, 14 May 2010 22:59:18 +0200 octave-nnet (0.1.10-2) unstable; urgency=low [ Rafael Laboissiere ] * debian/control: Build-depend on octave-pkg-dev >= 0.7.0, such that the package is built against octave3.2 [ Thomas Weber ] * Use debian/octave-nnet.docs for installation of documents and drop the respective code from debian/rules * New patch: workaround_octave_bug, necessary for testing subset() -- Thomas Weber Wed, 30 Dec 2009 00:49:43 +0100 octave-nnet (0.1.10-1) unstable; urgency=low * New upstream release * debian/patches/fix-version-number.diff: New patch for changing the upstream version to a valid one * debian/control: + (Standards-Version): Bump to 3.8.1 (add file debian/README.source) + (Depends): Add ${misc:Depends} + (Vcs-Git, Vcs-Browser): Adjust to new Git repository * debian/source.lintian-overrides: Add file for overriding Lintian warnings build-depends-without-arch-dep * debian/copyright: + Use DEP5 URL in Format-Specification + Use separate License stanzas for instructing about the location of the different licenses used in the package * debian/patches/pdfsources.diff: Add description * debian/rules: Remove unneeded LaTeX sources of the documentation, which get installed in /usr/share/doc -- Rafael Laboissiere Sun, 24 May 2009 15:31:32 +0200 octave-nnet (0.1.8-2) unstable; urgency=low [ Rafael Laboissiere ] * debian/copyright: Add header * debian/control: Bump build-dependency on octave-pkg-dev to >= 0.6.4, such that the package is built with the versioned packages directory [ Thomas Weber ] * Upload to unstable -- Thomas Weber Sun, 05 Apr 2009 23:28:52 +0200 octave-nnet (0.1.8-1) experimental; urgency=low * New upstream release * Bump dependency on octave-pkg-dev to 0.6.1, to get the experimental version -- Thomas Weber Thu, 11 Dec 2008 22:03:11 +0100 octave-nnet (0.1.7-2) unstable; urgency=low * debian/copyright: Add license/copyright notices for the files in doc/latex/* * debian/control: Bump Standards-Version to 3.8.0 (no changes needed) -- Rafael Laboissiere Mon, 14 Jul 2008 23:34:15 +0200 octave-nnet (0.1.7-1) unstable; urgency=low * New upstream release * debian/patches/pdfsources.diff: Patch for supplying the sources files of the PDF documentation (taken from the upstream SVN repository). The package should be DFSG compliant now (really closes: #468510) * debian/control: Build-depend on quilt * debian/rules: Use quilt -- Ólafur Jens Sigurðsson Sun, 04 May 2008 16:03:53 +0200 octave-nnet (0.1.6-1) unstable; urgency=low * Initial release (closes: #468510) -- Ólafur Jens Sigurðsson Sat, 16 Feb 2008 15:42:46 +0100 debian/compat0000644000000000000000000000000211736107421010366 0ustar 9 debian/octave-nnet.doc-base.devel0000644000000000000000000000067111736107421014114 0ustar Document: octave-nnet-devel Title: A neural network toolbox for Octave - Developer's Guide Author: Michael Schmid Abstract: This is the developer's guide of the neural network toolbox for Octave, a scientific computation software. This toolbox allow teh simulation of feed forward multi-layer neural networks. Section: Science/Mathematics Format: PDF Files: /usr/share/doc/octave-nnet/neuralNetworkPackageForOctaveDevelopersGuide.pdf.gz debian/copyright0000644000000000000000000000475511736107421011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: nnet package for Octave Upstream-Contact: The Octave Community Source: http://octave.sourceforge.net/nnet/ Files: inst/*.m tests/*.m Copyright: 2005-2010 Michel D. Schmid License: GPL-2+ Files: inst/dividerand.m inst/ind2vec.m inst/mapstd.m inst/vec2ind.m Copyright: 2009 Luiz Angelo Daros de Luca License: GPL-2+ Files: inst/radbas.m Copyright: 2009 Luca Favatella License: GPL-2+ Files: doc/latex/* (these files are included in the package via the Debian patch debian/patches/pdfsources.diff) Copyright: 2007 2008 Michael D. Schmid License: GPL-2+ Files: debian/* Copyright: 2008 Ólafur Jens Sigurðsson 2008-2010 Thomas Weber 2008, 2009, 2012 Rafael Laboissiere License: GPL-3+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License, version 2, can be found in the file `/usr/share/common-licenses/GPL-2'. License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License, version 3, can be found in the file `/usr/share/common-licenses/GPL-3'. debian/watch0000644000000000000000000000006211736107421010217 0ustar version=3 http://sf.net/octave/nnet-(.+)\.tar\.gz debian/control0000644000000000000000000000173411736107421010600 0ustar Source: octave-nnet Section: math Priority: optional Maintainer: Debian Octave Group Uploaders: Thomas Weber , Sébastien Villemot DM-Upload-Allowed: yes Build-Depends: debhelper (>= 9), cdbs, octave-pkg-dev (>= 1.0.1) Standards-Version: 3.9.3 Homepage: http://octave.sourceforge.net/nnet Vcs-Git: git://git.debian.org/git/pkg-octave/octave-nnet.git Vcs-Browser: http://git.debian.org/?p=pkg-octave/octave-nnet.git Package: octave-nnet Architecture: all Depends: ${misc:Depends}, ${octave:Depends} Description: feed forward multi-layer neural network functions for Octave This package provides functions to work with feed forwarded multi-layer neural networks in Octave, a numerical computation software. Included are functions that train the neural networks (train), simulate neural networks (sim) and many more. . This Octave add-on package is part of the Octave-Forge project. debian/source.lintian-overrides0000644000000000000000000000017711736107421014055 0ustar octave-nnet source: build-depends-without-arch-dep debhelper octave-nnet source: build-depends-without-arch-dep octave-pkg-dev