debian/0000775000000000000000000000000012057460717007201 5ustar debian/patches/0000775000000000000000000000000012036047412010616 5ustar debian/patches/series0000664000000000000000000000015412036047412012033 0ustar 0001-hardwire-plugin-directory.patch 0002-spelling-typo.patch 0003-gcc-format-security.patch debian-changes debian/patches/0003-gcc-format-security.patch0000664000000000000000000000207412036046323016111 0ustar From: "Barak A. Pearlmutter" Date: Tue, 5 Jun 2012 13:57:15 +0100 Subject: gcc format-security --- _3rdParty/JnS/JnS.cpp | 2 +- _3rdParty/lwpr/lwpr_xml.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_3rdParty/JnS/JnS.cpp b/_3rdParty/JnS/JnS.cpp index a3a9344..27ec7af 100644 --- a/_3rdParty/JnS/JnS.cpp +++ b/_3rdParty/JnS/JnS.cpp @@ -67,7 +67,7 @@ void Message0(int level, char *mess) { int count ; if (level < VERBOSITY) { for (count=0; counterrFile,msg); + fprintf(ud->errFile,"%s",msg); } } } debian/patches/0002-spelling-typo.patch0000664000000000000000000000134612036046323015030 0ustar From: "Barak A. Pearlmutter" Date: Tue, 14 Feb 2012 21:55:51 +0000 Subject: spelling typo --- _AlgorithmsPlugins/SEDS/SEDS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_AlgorithmsPlugins/SEDS/SEDS.cpp b/_AlgorithmsPlugins/SEDS/SEDS.cpp index 3bf1c83..f40b346 100644 --- a/_AlgorithmsPlugins/SEDS/SEDS.cpp +++ b/_AlgorithmsPlugins/SEDS/SEDS.cpp @@ -1592,7 +1592,7 @@ bool SEDS::CheckConstraints(Matrix * A){ } if (nCtrViolated == 0) - cout<<"Optimization finished succesfully!"<addButton("Ok",QMessageBox::AcceptRole); debian/patches/debian-changes0000664000000000000000000000327012036047412013373 0ustar Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . mldemos (0.4.3-1) unstable; urgency=low . * Initial Release. Author: Barak A. Pearlmutter --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- mldemos-0.4.3.orig/MLDemos/mltrain.cpp +++ mldemos-0.4.3/MLDemos/mltrain.cpp @@ -144,13 +144,8 @@ bool MLDemos::Train(Classifier *classifi FOR(i, testSamples.size()) { if(testLabels[i] != it->first) continue; -<<<<<<< HEAD - trainSamples[i] = testSamples[i]; - trainLabels[i] = testLabels[i]; -======= trainSamples.push_back(testSamples[i]); trainLabels.push_back(testLabels[i]); ->>>>>>> devel testSamples.erase(testSamples.begin() + i); testLabels.erase(testLabels.begin() + i); trainCnt++; debian/patches/0001-hardwire-plugin-directory.patch0000664000000000000000000000141312036046323017317 0ustar From: "Barak A. Pearlmutter" Date: Mon, 30 May 2011 20:21:12 +0100 Subject: hardwire plugin directory Set directory to scan for plugins subdirectory containing plugins to system directory in which the plugins subdirectory is installed. --- MLDemos/mldemos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLDemos/mldemos.cpp b/MLDemos/mldemos.cpp index 166e1b0..b6a291b 100644 --- a/MLDemos/mldemos.cpp +++ b/MLDemos/mldemos.cpp @@ -455,7 +455,7 @@ void MLDemos::initDialogs() void MLDemos::initPlugins() { qDebug() << "Importing plugins"; - QDir pluginsDir = QDir(qApp->applicationDirPath()); + QDir pluginsDir = QDir("/usr/lib/mldemos"); QStringList pluginFileNames; QDir alternativeDir = pluginsDir; debian/compat0000664000000000000000000000000212036046323010365 0ustar 9 debian/source/0000775000000000000000000000000012036046323010467 5ustar debian/source/format0000664000000000000000000000001412036046323011675 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000001503612036046323011127 0ustar This work was packaged for Debian by: Barak A. Pearlmutter on Mon, 30 May 2011 17:00:10 +0100 It was downloaded from: git clone git://gitorious.org/mldemos/mldemos.git Upstream Authors: Basilio Noris Machine Learning Demos by Basilio Noris Learning Algorithms and Systems Laboratory Ecole Polytechnique Fédérale de Lausanne mldemos@b4silio.com http://lasa.epfl.ch Acknowledgements Many thanks to the following researchers and coders for developing and providing different algorithms used in this software. Florent D'Halluin (Linux ports, GMM + GMR), Dan Grollman (SOGP), Mohammad Khansari (SEDS), Christophe Paccolat (Linux ports), Chih-Chung Chang and Chih-Jen Lin (libSVM), David Mount and Sunil Arya (Approximate Nearest Neighbors), Davis E. King (DLIB), Stefan Klanke and Sethu Vijayakumar (LWPR), Robert Davies (Newmat), Jean-Francois Cardoso (ICA), Antonio Gulli (KPCA), the Eigen, OpenCV and Qt development teams. Copyright: Copyright (C) 2010 Basilio Noris Florent D'Halluin (Linux ports, GMM + GMR), Dan Grollman (SOGP), Mohammad Khansari (SEDS), Christophe Paccolat (Linux ports), Chih-Chung Chang and Chih-Jen Lin (libSVM), David Mount and Sunil Arya (Approximate Nearest Neighbors), Davis E. King (DLIB), Stefan Klanke and Sethu Vijayakumar (LWPR), Robert Davies (Newmat), Jean-Francois Cardoso (ICA), Antonio Gulli (KPCA), the Eigen, OpenCV and Qt development teams. License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This package 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 Lesser 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 Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-3". LICENSE.txt MLDemos: A User-Friendly visualization toolkit for machine learning Copyright (C) 2010 Basilio Noris Contact: mldemos@b4silio.com Some code contained within this package has other authors and is licensed under other, albeit compatible, terms. LICENSE-ann_1.1.2.txt (_AlgorithmsPlugins/KNN/ANN/*) ANN: Approximate Nearest Neighbors Version: 1.1.2 Release Date: Jan 27, 2010 ---------------------------------------------------------------------------- Copyright (c) 1997-2010 University of Maryland and Sunil Arya and David Mount All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. LICENSE-dlib.txt (_AlgorithmsPlugins/KernelMethods/dlib/*) Copyright (C) 2006 Davis E. King (davis@dlib.net) Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. LICENSE-libsvm.txt (_AlgorithmsPlugins/KernelMethods/dlib/svm/svm.h _AlgorithmsPlugins/KernelMethods/dlib/svm/svm_abstract.h _AlgorithmsPlugins/KernelMethods/svm.h) Copyright (c) 2000-2010 Chih-Chung Chang and Chih-Jen Lin All rights reserved. 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. The Debian packaging is: Copyright (C) 2011 Barak A. Pearlmutter and is placed in the public domain. debian/mldemos.install0000664000000000000000000000006712036046323012222 0ustar mldemos /usr/bin plugins/*.so /usr/lib/mldemos/plugins debian/changelog0000664000000000000000000000044212057460706011051 0ustar mldemos (0.4.3-1build1) raring; urgency=low * Rebuild for opencv 2.4 -- Fabrice Coutadeur Tue, 04 Dec 2012 21:49:10 +0100 mldemos (0.4.3-1) unstable; urgency=low * Initial Release. -- Barak A. Pearlmutter Tue, 05 Jun 2012 13:50:58 +0100 debian/control0000664000000000000000000000156612036046323010602 0ustar Source: mldemos Section: science Priority: optional Maintainer: Barak A. Pearlmutter Build-Depends: debhelper (>= 9), libcv-dev (>= 2.2), libqt4-dev Standards-Version: 3.9.3 Homepage: http://mldemos.epfl.ch Vcs-Git: git://git.debian.org/git/collab-maint/mldemos.git Vcs-Browser: http://git.debian.org/?p=collab-maint/mldemos.git;a=summary Package: mldemos Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Machine Learning Demos (MLDemos) with Visualization A User-Friendly visualization toolkit for machine learning: MLDemos. Extensible architecture, contains modules for classification (gaussian mixture models, kernel methods such as support vector machines, nearest neighbor, kernel PCA, boosting, multilayer perceptrons, linear classifiers), clustering (gaussian mixtures, kernel methods, k-means), regression, etc. debian/menu0000664000000000000000000000021712036046323010056 0ustar ?package(mldemos):needs="X11" section="Applications/Science/Mathematics"\ title="MLDemos: Machine Learning Demos" command="/usr/bin/mldemos" debian/rules0000775000000000000000000000007512036046323010251 0ustar #!/usr/bin/make -f %: dh $@ --parallel --buildsystem=qmake