Hello community, here is the log from the commit of package octave-forge-nan for openSUSE:Factory checked in at 2015-07-12 22:52:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/octave-forge-nan (Old) and /work/SRC/openSUSE:Factory/.octave-forge-nan.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "octave-forge-nan" Changes: -------- --- /work/SRC/openSUSE:Factory/octave-forge-nan/octave-forge-nan.changes 2015-06-30 10:18:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.octave-forge-nan.new/octave-forge-nan.changes 2015-07-12 22:52:59.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Jul 7 18:08:41 UTC 2015 - [email protected] + +- Update to version 2.8.1 + * Bugfix release + +------------------------------------------------------------------- Old: ---- nan-2.8.0.tar.gz New: ---- nan-2.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ octave-forge-nan.spec ++++++ --- /var/tmp/diff_new_pack.lipXXn/_old 2015-07-12 22:53:00.000000000 +0200 +++ /var/tmp/diff_new_pack.lipXXn/_new 2015-07-12 22:53:00.000000000 +0200 @@ -18,7 +18,7 @@ %define octpkg nan Name: octave-forge-%{octpkg} -Version: 2.8.0 +Version: 2.8.1 Release: 0 Summary: A statistics and machine learning toolbox License: GPL-3.0+ ++++++ nan-2.8.0.tar.gz -> nan-2.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NaN/DESCRIPTION new/NaN/DESCRIPTION --- old/NaN/DESCRIPTION 2015-06-24 14:53:57.000000000 +0200 +++ new/NaN/DESCRIPTION 2015-07-06 21:43:26.000000000 +0200 @@ -1,6 +1,6 @@ Name: NaN -Version: 2.8.0 -Date: 2015-06-24 +Version: 2.8.1 +Date: 2015-07-06 Author: Alois Schloegl <[email protected]> Maintainer: Alois Schloegl Title: The NaN-toolbox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NaN/NEWS new/NaN/NEWS --- old/NaN/NEWS 2015-06-24 14:53:35.000000000 +0200 +++ new/NaN/NEWS 2015-07-06 21:42:45.000000000 +0200 @@ -1,4 +1,6 @@ -2015-06-18: Releae of NaN v2.7.7 +2015-07-06: Release of NaN-tb v2.8.1 + +- fix nantest to avoid crashing octave 4.0.0 on windows 2015-06-24: Release of NaN-tb v2.8.0 @@ -6,9 +8,9 @@ (fixes #45363 and #44859) - check for sparse input matrices and - convert to full if needed + convert to full when needed -2015-06-01: Release of NaN v2.7.6 +2015-06-01: Release of NaN v.2.7.6 - improve accuracy of normcdf (bug #38170) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NaN/VERSION new/NaN/VERSION --- old/NaN/VERSION 2015-06-24 14:53:57.000000000 +0200 +++ new/NaN/VERSION 2015-07-06 21:43:26.000000000 +0200 @@ -1,3 +1,3 @@ # NaN-toolbox http://pub.ist.ac.at/~schloegl/matlab/NaN -# Version: 2.8.0 -# Date: 2015-06-24 +# Version: 2.8.1 +# Date: 2015-07-06 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NaN/inst/nantest.m new/NaN/inst/nantest.m --- old/NaN/inst/nantest.m 2015-01-14 20:05:11.000000000 +0100 +++ new/NaN/inst/nantest.m 2015-07-02 23:04:17.000000000 +0200 @@ -24,7 +24,7 @@ % You should have received a copy of the GNU General Public License % along with this program; If not, see <http://www.gnu.org/licenses/>. -% $Id: nantest.m 12734 2015-01-14 19:05:11Z schloegl $ +% $Id: nantest.m 12844 2015-07-02 21:04:17Z schloegl $ % Copyright (C) 2000-2004,2009 by Alois Schloegl <[email protected]> % This script is part of the NaN-toolbox % http://pub.ist.ac.at/~schloegl/matlab/NaN/ @@ -227,16 +227,23 @@ %(roots([2e-37,-2,2])-[1e37;1]) %%%%% check nan/nan %% this test addresses a problem in Matlab 5.3, 6.1 & 6.5 p = 4; +tmp1 = repmat(nan, 4); +tmp2 = repmat(nan, 4); +if ispc + % Octave 4.0.0 on Windows crashes, therefore the test is disabled + warning('mrdivide (repmat(nan,4), repmat(nan,4)) and mldivide (repmat(nan,4), repmat(nan,4)) not tested because it might crash Octave on Windows.\n'); +else try - tmp1 = repmat(nan,p)/repmat(nan,p); -catch % exception error in Octave 3.8.2 of debian wheezy - tmp1 = repmat(nan, 4); + tmp1 = repmat(nan,p) / repmat(nan,p); +catch % exception error in Octave 3.8.2 and later of debian wheezy + fprintf(2,'mrdivide (repmat(nan,4), repmat(nan,4)) fails with an exception\n'); end; try - tmp2 = repmat(nan,p)\repmat(nan,p); -catch % exception error in Octave 3.8.2 of debian wheezy - tmp2 = repmat(nan, 4); + tmp2 = repmat(nan,p) \ repmat(nan,p); +catch % exception error in Octave 3.8.2 and later of debian wheezy + fprintf(2,'mldivide (repmat(nan,4), repmat(nan,4)) fails with an exception\n'); end +end; tmp3 = repmat(0,p)/repmat(0,p); tmp4 = repmat(0,p)\repmat(0,p); tmp5 = repmat(0,p)*repmat(inf,p); @@ -278,16 +285,16 @@ %%%%% QUANTILE TEST -d = [1 1 2 2 4 4 10 700]; +d = [1 1 2 2 4 4 10 700]'; q = [-1,0,.05,.1,.25,.49,.5,.51,.75,.8, .999999,1,2]; r = [ NaN, 1, 1, 1, 1.5, 2, 3, 4, 7, 10, 700, 700, NaN]; -if any( quantile(d, q) - r>0) +if any( quantile(d, q)' - r>0) fprintf(1,'Quantile(1): failed\n'); else fprintf(1,'Quantile(1): OK\n'); end; if exist('histo3','file') - H = histo3(d'); + H = histo3(d); else H.X = [1;2;4;10;700]; H.H = [2;2;2;1;1]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NaN/test/test_xval.m new/NaN/test/test_xval.m --- old/NaN/test/test_xval.m 2015-04-12 21:57:40.000000000 +0200 +++ new/NaN/test/test_xval.m 2015-04-03 21:24:06.000000000 +0200 @@ -26,7 +26,6 @@ M=10; % number of features classifier= {'SVM:LIB','REG','MDA','MD2','QDA','QDA2','LD2','LD3','LD4','LD5','LD6','NBC','aNBC','WienerHopf','LDA/GSVD','MDA/GSVD', 'LDA/sparse','MDA/sparse', 'PLA', 'LMS','LDA/DELETION','MDA/DELETION','NBC/DELETION','RDA/DELETION','REG/DELETION','RDA','GDBC','SVM','RBF','PSVM','SVM11','SVM:LIN4','SVM:LIN0','SVM:LIN1','SVM:LIN2','SVM:LIN3','WINNOW'}; %classifier= {'SVM:RBF'}; -classifier= {'SVM'}; x = randn(N,M); % data c = ([1:N]'>(N/2))+1; % classlabel @@ -44,13 +43,11 @@ end; for k = 1:length(classifier); - if 1 -% try, + try, [R{k},CC{k}] = xval(x, {c,w}, classifier{k}); fprintf(1,'%8s\t%i\t%5.2f\t%5.2f+-%5.2f\n',classifier{k},sum(R{k}.data(:)),R{k}.ACC*100,R{k}.kappa,R{k}.kappa_se); save -v6 debug.mat - else -% catch, + catch, R{k} = []; end; end;
