Diff of the two buildlogs: -- --- b1/build.log 2021-08-18 00:38:46.106699051 +0000 +++ b2/build.log 2021-08-18 00:44:59.464808393 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Aug 17 12:34:20 -12 2021 -I: pbuilder-time-stamp: 1629246860 +I: Current time: Wed Aug 18 14:38:57 +14 2021 +I: pbuilder-time-stamp: 1629247137 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./octave-linear-algebra_2.2.3-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.mwRgGYCh/trustedkeys.kbx': General error -gpgv: Signature made Tue Nov 10 00:56:30 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.Y58Ho0xh/trustedkeys.kbx': General error +gpgv: Signature made Wed Nov 11 02:56:30 2020 +14 gpgv: using RSA key 3F464391498FE874BDB5D98F2124AA1983785C90 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./octave-linear-algebra_2.2.3-3.dsc @@ -26,135 +26,169 @@ dpkg-source: info: unpacking octave-linear-algebra_2.2.3-3.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/11746/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2506/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2506/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2506/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='cbad0ea41e4b4ac484b4e457633e1e79' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='11746' - PS1='# ' - PS2='> ' + INVOCATION_ID=1ea4c1a5faf14705aab2609219e4cf68 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2506 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.biXTgOGOrH/pbuilderrc_JawE --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.biXTgOGOrH/b1 --logfile b1/build.log octave-linear-algebra_2.2.3-3.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.biXTgOGOrH/pbuilderrc_uBzQ --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.biXTgOGOrH/b2 --logfile b2/build.log octave-linear-algebra_2.2.3-3.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux jtx1a 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-armmp-lpae #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more - -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 14 21:27 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/11746/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more + -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 18 14:40 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 14 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/2506/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -633,7 +667,7 @@ Get: 439 http://deb.debian.org/debian bullseye/main armhf gnuplot-nox armhf 5.4.1+dfsg1-1 [785 kB] Get: 440 http://deb.debian.org/debian bullseye/main armhf dh-octave-autopkgtest all 1.0.3 [9376 B] Get: 441 http://deb.debian.org/debian bullseye/main armhf dh-octave all 1.0.3 [21.9 kB] -Fetched 133 MB in 16s (8112 kB/s) +Fetched 133 MB in 13s (9844 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19398 files and directories currently installed.) @@ -2444,7 +2478,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/octave-linear-algebra-2.2.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../octave-linear-algebra_2.2.3-3_source.changes +hostname: Name or service not known +I: Running cd /build/octave-linear-algebra-2.2.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../octave-linear-algebra_2.2.3-3_source.changes dpkg-buildpackage: info: source package octave-linear-algebra dpkg-buildpackage: info: source version 2.2.3-3 dpkg-buildpackage: info: source distribution unstable @@ -2486,57 +2521,32 @@ dh_octave_check -O--buildsystem=octave Checking package... Checking m files ... -[inst/circulant_make_matrix.m] ->>>>> /build/octave-linear-algebra-2.2.3/inst/circulant_make_matrix.m -***** shared v,C - v = [1 2 3]'; C = [1 3 2; 2 1 3; 3 2 1]; -***** assert (circulant_make_matrix(v), C); +[inst/circulant_matrix_vector_product.m] +>>>>> /build/octave-linear-algebra-2.2.3/inst/circulant_matrix_vector_product.m +***** shared v,x + v = [1 2 3]'; x = [2 5 6]'; +***** assert (circulant_matrix_vector_product(v, x), circulant_make_matrix(v)*x, eps); warning: `circulant_make_matrix (V)' has been deprecated in favor of `gallery ("circul", V)''. This function will be removed from future versions of the `linear-algebra' package warning: called from circulant_make_matrix at line 43 column 5 __test__ at line 2 column 1 test at line 677 column 11 - /tmp/tmp.8eWTjstYsE at line 14 column 31 + /tmp/tmp.WwhgFdXILS at line 14 column 31 1 test, 1 passed, 0 known failure, 0 skipped [inst/cartprod.m] >>>>> /build/octave-linear-algebra-2.2.3/inst/cartprod.m ***** assert(cartprod(1:2,0:1),[1 0; 2 0; 1 1; 2 1]) 1 test, 1 passed, 0 known failure, 0 skipped -[inst/circulant_eig.m] ->>>>> /build/octave-linear-algebra-2.2.3/inst/circulant_eig.m -***** shared v,C,vs,lambda - v = [1 2 3]'; - C = gallery("circul", v)'; - [vs lambda] = circulant_eig(v); -***** assert (vs*lambda, C*vs, 100*eps); -1 test, 1 passed, 0 known failure, 0 skipped -[inst/@blksparse/ctranspose.m] ->>>>> /build/octave-linear-algebra-2.2.3/inst/@blksparse/ctranspose.m -***** test - r = blksparse ([1,2],[1,2],cat(3,eye(2),[1 2; -2 1])); - rt = r'; - assert (full(rt'),full(r)); -1 test, 1 passed, 0 known failure, 0 skipped -[inst/smwsolve.m] ->>>>> /build/octave-linear-algebra-2.2.3/inst/smwsolve.m -***** test - A = 2.1*eye (10); - u = rand (10, 2); u /= diag (norm (u, "cols")); - v = rand (10, 2); v /= diag (norm (v, "cols")); - b = rand (10, 2); - x1 = (A + u*v') \ b; - x2 = smwsolve (A, u, v, b); - assert (x1, x2, 1e-13); -1 test, 1 passed, 0 known failure, 0 skipped -[inst/funm.m] ->>>>> /build/octave-linear-algebra-2.2.3/inst/funm.m -***** function b = fsin (a) - b = sin (a); -***** endfunction +[inst/vec_projection.m] +>>>>> /build/octave-linear-algebra-2.2.3/inst/vec_projection.m ***** test - mtx = randn (100); - assert (funm (mtx, "fsin"), thfm (mtx, "sin"), 1e-9) + assert (vec_projection ([1,0,0], [0.5,0.5,0]), 0.70711,1e-5); + assert (vec_projection ([1,2000,0], [0.5,15,0]), 1998.9, 1e-1); + assert (vec_projection ([1,-2000,0], [0.5,15,0]), -1998.9, 1e-1); + assert (vec_projection ([7,7,0], [15,0,0]), 7.000, 1e-10); + assert (vec_projection ([1,1,0], [1.05,0.94,0]), 1.4121, 1e-4); + assert (vec_projection ([1,1.1,0], [1.05,0.94,0]), 1.4788, 1e-4); 1 test, 1 passed, 0 known failure, 0 skipped [inst/cod.m] >>>>> /build/octave-linear-algebra-2.2.3/inst/cod.m @@ -2553,27 +2563,11 @@ [q, r, z, p] = cod (a); assert (norm (q*r*z' - a*p) / norm (a) < 1e-10); 3 tests, 3 passed, 0 known failure, 0 skipped -[inst/circulant_inv.m] ->>>>> /build/octave-linear-algebra-2.2.3/inst/circulant_inv.m -***** shared v - v = [1 2 3]'; -***** assert (gallery ("circul", circulant_inv (v)), inv (gallery ("circul", v)), 10*eps); -1 test, 1 passed, 0 known failure, 0 skipped -[inst/vec_projection.m] ->>>>> /build/octave-linear-algebra-2.2.3/inst/vec_projection.m -***** test - assert (vec_projection ([1,0,0], [0.5,0.5,0]), 0.70711,1e-5); - assert (vec_projection ([1,2000,0], [0.5,15,0]), 1998.9, 1e-1); - assert (vec_projection ([1,-2000,0], [0.5,15,0]), -1998.9, 1e-1); - assert (vec_projection ([7,7,0], [15,0,0]), 7.000, 1e-10); - assert (vec_projection ([1,1,0], [1.05,0.94,0]), 1.4121, 1e-4); - assert (vec_projection ([1,1.1,0], [1.05,0.94,0]), 1.4788, 1e-4); -1 test, 1 passed, 0 known failure, 0 skipped -[inst/circulant_matrix_vector_product.m] ->>>>> /build/octave-linear-algebra-2.2.3/inst/circulant_matrix_vector_product.m -***** shared v,x - v = [1 2 3]'; x = [2 5 6]'; -***** assert (circulant_matrix_vector_product(v, x), circulant_make_matrix(v)*x, eps); +[inst/circulant_make_matrix.m] +>>>>> /build/octave-linear-algebra-2.2.3/inst/circulant_make_matrix.m +***** shared v,C + v = [1 2 3]'; C = [1 3 2; 2 1 3; 3 2 1]; +***** assert (circulant_make_matrix(v), C); 1 test, 1 passed, 0 known failure, 0 skipped [inst/nmf_bpas.m] >>>>> /build/octave-linear-algebra-2.2.3/inst/nmf_bpas.m @@ -2589,12 +2583,12 @@ [W,H,iter,HIS]=nmf_bpas(A,k,'verbose'); scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 1.1129 - SC2 = 556.46 - SC3 = 0.4924 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 1.0057 + SC2 = 502.84 + SC3 = 0.4779 W_density = 1 H_density = 1 par = @@ -2605,8 +2599,8 @@ n = 20 type = regularized nnls_solver = bp - alpha = 0.5081 - beta = 0.5081 + alpha = 0.4933 + beta = 0.4933 max_iter = 100 min_iter = 20 max_time = 1000 @@ -2618,438 +2612,438 @@ scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 0.028998 - SC2 = 0.028012 - SC3 = 2.0090 - W_density = 0.9467 - H_density = 0.6400 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 0.035425 + SC2 = 0.034504 + SC3 = 2.3506 + W_density = 0.9600 + H_density = 0.6750 iter = 1 - elapsed = 0.017700 - tTotal = 0.017700 - subIterW = 7 - subIterH = 33 - relError = 0.4212 + elapsed = 0.1600 + tTotal = 0.1600 + subIterW = 6 + subIterH = 35 + relError = 0.4356 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 0.016651 - SC2 = 0.015552 - SC3 = 1.1110 - W_density = 0.9000 - H_density = 0.5550 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 0.019101 + SC2 = 0.018223 + SC3 = 1.1964 + W_density = 0.9233 + H_density = 0.5500 iter = 2 - elapsed = 0.017067 - tTotal = 0.034767 - subIterW = 10 - subIterH = 22 - relError = 0.3430 + elapsed = 0.061465 + tTotal = 0.2215 + subIterW = 9 + subIterH = 18 + relError = 0.3498 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 0.010845 - SC2 = 9.9127e-03 - SC3 = 0.7368 - W_density = 0.8900 - H_density = 0.5700 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 0.012142 + SC2 = 0.011340 + SC3 = 0.7596 + W_density = 0.8967 + H_density = 0.5900 iter = 3 - elapsed = 0.017112 - tTotal = 0.051879 - subIterW = 5 - subIterH = 22 - relError = 0.3097 + elapsed = 0.022246 + tTotal = 0.2437 + subIterW = 7 + subIterH = 16 + relError = 0.3184 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 7.6162e-03 - SC2 = 6.8851e-03 - SC3 = 0.5114 - W_density = 0.8733 - H_density = 0.6250 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 8.4154e-03 + SC2 = 7.7254e-03 + SC3 = 0.5349 + W_density = 0.8867 + H_density = 0.6050 iter = 4 - elapsed = 0.015315 - tTotal = 0.067194 - subIterW = 10 - subIterH = 10 - relError = 0.2918 + elapsed = 0.021862 + tTotal = 0.2656 + subIterW = 4 + subIterH = 9 + relError = 0.3034 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 5.6824e-03 - SC2 = 5.0574e-03 - SC3 = 0.3829 - W_density = 0.8633 - H_density = 0.6500 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 6.2643e-03 + SC2 = 5.6003e-03 + SC3 = 0.3953 + W_density = 0.8600 + H_density = 0.6450 iter = 5 - elapsed = 0.012596 - tTotal = 0.079790 - subIterW = 4 - subIterH = 12 - relError = 0.2804 + elapsed = 0.022018 + tTotal = 0.2876 + subIterW = 8 + subIterH = 6 + relError = 0.2953 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 4.3828e-03 - SC2 = 3.8218e-03 - SC3 = 0.2944 - W_density = 0.8467 - H_density = 0.6750 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 4.8483e-03 + SC2 = 4.2374e-03 + SC3 = 0.3029 + W_density = 0.8400 + H_density = 0.6650 iter = 6 - elapsed = 0.012324 - tTotal = 0.092114 + elapsed = 0.022440 + tTotal = 0.3100 subIterW = 6 - subIterH = 8 - relError = 0.2737 + subIterH = 6 + relError = 0.2903 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 3.4713e-03 - SC2 = 2.9714e-03 - SC3 = 0.2315 - W_density = 0.8300 - H_density = 0.7050 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 3.8178e-03 + SC2 = 3.2833e-03 + SC3 = 0.2381 + W_density = 0.8367 + H_density = 0.6950 iter = 7 - elapsed = 0.012355 - tTotal = 0.1045 - subIterW = 5 - subIterH = 7 - relError = 0.2699 + elapsed = 0.025496 + tTotal = 0.3355 + subIterW = 3 + subIterH = 9 + relError = 0.2870 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 2.8011e-03 - SC2 = 2.3642e-03 - SC3 = 0.1866 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 3.1262e-03 + SC2 = 2.6385e-03 + SC3 = 0.1900 W_density = 0.8233 - H_density = 0.7200 + H_density = 0.7100 iter = 8 - elapsed = 0.012003 - tTotal = 0.1165 - subIterW = 2 - subIterH = 5 - relError = 0.2672 + elapsed = 0.020424 + tTotal = 0.3560 + subIterW = 3 + subIterH = 4 + relError = 0.2842 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 2.3081e-03 - SC2 = 1.9203e-03 - SC3 = 0.1505 - W_density = 0.8067 - H_density = 0.7400 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 2.6138e-03 + SC2 = 2.1852e-03 + SC3 = 0.1556 + W_density = 0.8200 + H_density = 0.7150 iter = 9 - elapsed = 0.014267 - tTotal = 0.1307 - subIterW = 4 + elapsed = 0.025457 + tTotal = 0.3814 + subIterW = 3 subIterH = 6 - relError = 0.2651 + relError = 0.2813 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 1.9209e-03 - SC2 = 1.5559e-03 - SC3 = 0.1256 - W_density = 0.7933 - H_density = 0.7250 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 2.2129e-03 + SC2 = 1.8367e-03 + SC3 = 0.1320 + W_density = 0.8233 + H_density = 0.7350 iter = 10 - elapsed = 0.012901 - tTotal = 0.1436 - subIterW = 8 - subIterH = 6 - relError = 0.2637 + elapsed = 0.026314 + tTotal = 0.4077 + subIterW = 5 + subIterH = 4 + relError = 0.2784 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 1.5938e-03 - SC2 = 1.2718e-03 - SC3 = 0.1032 - W_density = 0.7833 - H_density = 0.7350 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 1.8607e-03 + SC2 = 1.5370e-03 + SC3 = 0.1102 + W_density = 0.8200 + H_density = 0.7500 iter = 11 - elapsed = 0.012150 - tTotal = 0.1558 - subIterW = 3 + elapsed = 0.023853 + tTotal = 0.4316 + subIterW = 6 subIterH = 4 - relError = 0.2626 + relError = 0.2759 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 1.3491e-03 - SC2 = 1.0658e-03 - SC3 = 0.086543 - W_density = 0.7833 - H_density = 0.7350 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 1.5787e-03 + SC2 = 1.2819e-03 + SC3 = 0.093116 + W_density = 0.8067 + H_density = 0.7650 iter = 12 - elapsed = 0.011889 - tTotal = 0.1677 - subIterW = 2 - subIterH = 2 - relError = 0.2618 + elapsed = 0.027994 + tTotal = 0.4596 + subIterW = 7 + subIterH = 4 + relError = 0.2742 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 1.1558e-03 - SC2 = 9.0847e-04 - SC3 = 0.072390 - W_density = 0.7800 - H_density = 0.7500 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 1.3278e-03 + SC2 = 1.0702e-03 + SC3 = 0.077293 + W_density = 0.8000 + H_density = 0.7550 iter = 13 - elapsed = 0.012326 - tTotal = 0.1800 - subIterW = 3 - subIterH = 5 - relError = 0.2611 + elapsed = 0.023871 + tTotal = 0.4834 + subIterW = 4 + subIterH = 4 + relError = 0.2731 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 9.9751e-04 - SC2 = 7.7008e-04 - SC3 = 0.060765 - W_density = 0.7633 - H_density = 0.7500 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 1.1365e-03 + SC2 = 9.0918e-04 + SC3 = 0.065582 + W_density = 0.7967 + H_density = 0.7550 iter = 14 - elapsed = 9.7220e-03 - tTotal = 0.1897 - subIterW = 5 - subIterH = 0 - relError = 0.2605 + elapsed = 0.023116 + tTotal = 0.5066 + subIterW = 0 + subIterH = 2 + relError = 0.2723 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 8.5516e-04 - SC2 = 6.6019e-04 - SC3 = 0.030079 - W_density = 0.7633 - H_density = 0.7550 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 9.8538e-04 + SC2 = 7.7845e-04 + SC3 = 0.056147 + W_density = 0.7900 + H_density = 0.7450 iter = 15 - elapsed = 9.3210e-03 - tTotal = 0.1990 - subIterW = 0 - subIterH = 0 - relError = 0.2599 + elapsed = 0.025367 + tTotal = 0.5319 + subIterW = 4 + subIterH = 4 + relError = 0.2718 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 7.4587e-04 - SC2 = 5.7582e-04 - SC3 = 0.026347 - W_density = 0.7633 - H_density = 0.7650 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 8.4425e-04 + SC2 = 6.6358e-04 + SC3 = 0.047691 + W_density = 0.7933 + H_density = 0.7500 iter = 16 - elapsed = 9.6920e-03 - tTotal = 0.2087 - subIterW = 0 + elapsed = 0.026157 + tTotal = 0.5581 + subIterW = 5 subIterH = 2 - relError = 0.2594 + relError = 0.2713 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 6.5140e-04 - SC2 = 5.0679e-04 - SC3 = 0.038471 - W_density = 0.7733 - H_density = 0.7600 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 7.2968e-04 + SC2 = 5.7061e-04 + SC3 = 0.040623 + W_density = 0.7900 + H_density = 0.7400 iter = 17 - elapsed = 0.011969 - tTotal = 0.2207 + elapsed = 0.027250 + tTotal = 0.5853 subIterW = 3 - subIterH = 0 - relError = 0.2589 + subIterH = 2 + relError = 0.2710 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 5.8527e-04 - SC2 = 4.5300e-04 - SC3 = 0.034144 - W_density = 0.7700 - H_density = 0.7600 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 6.3860e-04 + SC2 = 4.9428e-04 + SC3 = 0.034886 + W_density = 0.7833 + H_density = 0.7350 iter = 18 - elapsed = 0.011798 - tTotal = 0.2325 - subIterW = 0 - subIterH = 2 - relError = 0.2585 + elapsed = 0.028332 + tTotal = 0.6137 + subIterW = 2 + subIterH = 3 + relError = 0.2706 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 5.3221e-04 - SC2 = 4.1193e-04 - SC3 = 0.030455 - W_density = 0.7667 - H_density = 0.7600 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 5.5093e-04 + SC2 = 4.2312e-04 + SC3 = 0.029296 + W_density = 0.7700 + H_density = 0.7350 iter = 19 - elapsed = 0.011990 - tTotal = 0.2445 - subIterW = 0 - subIterH = 2 - relError = 0.2580 + elapsed = 0.022889 + tTotal = 0.6366 + subIterW = 4 + subIterH = 0 + relError = 0.2703 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 4.9126e-04 - SC2 = 3.7729e-04 - SC3 = 0.028688 - W_density = 0.7700 - H_density = 0.7500 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 4.8309e-04 + SC2 = 3.6618e-04 + SC3 = 0.025394 + W_density = 0.7600 + H_density = 0.7300 iter = 20 - elapsed = 0.012686 - tTotal = 0.2572 + elapsed = 0.028326 + tTotal = 0.6649 subIterW = 3 - subIterH = 4 - relError = 0.2577 + subIterH = 0 + relError = 0.2701 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 4.5157e-04 - SC2 = 3.4500e-04 - SC3 = 0.026356 - W_density = 0.7667 - H_density = 0.7550 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 4.2297e-04 + SC2 = 3.1469e-04 + SC3 = 0.021834 + W_density = 0.7433 + H_density = 0.7300 iter = 21 - elapsed = 0.012076 - tTotal = 0.2693 - subIterW = 0 - subIterH = 3 - relError = 0.2574 + elapsed = 0.030601 + tTotal = 0.6955 + subIterW = 5 + subIterH = 2 + relError = 0.2699 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 4.0340e-04 - SC2 = 3.0739e-04 - SC3 = 0.023671 - W_density = 0.7667 - H_density = 0.7500 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 3.6292e-04 + SC2 = 2.6856e-04 + SC3 = 0.018626 + W_density = 0.7367 + H_density = 0.7250 iter = 22 - elapsed = 0.012332 - tTotal = 0.2816 + elapsed = 0.031339 + tTotal = 0.7268 subIterW = 2 subIterH = 0 - relError = 0.2572 + relError = 0.2698 toshow = scalar structure containing the fields: - initGrNormW = 354.50 - initGrNormH = 428.92 - initNorm = 14.269 - SC1 = 3.5803e-04 - SC2 = 2.7210e-04 - SC3 = 0.020808 - W_density = 0.7600 - H_density = 0.7550 + initGrNormW = 291.29 + initGrNormH = 409.88 + initNorm = 14.005 + SC1 = 3.1762e-04 + SC2 = 2.3377e-04 + SC3 = 0.016256 + W_density = 0.7333 + H_density = 0.7250 iter = 23 - elapsed = 0.012113 - tTotal = 0.2937 - subIterW = 2 + elapsed = 0.025999 + tTotal = 0.7528 + subIterW = 0 subIterH = 0 - relError = 0.2571 + relError = 0.2697 Stop: tolerance reached. final = @@ -3057,21 +3051,21 @@ scalar structure containing the fields: iterations = 23 - elapsed_total = 0.2937 - relative_error = 0.2571 - W_density = 0.7600 - H_density = 0.7550 + elapsed_total = 0.7528 + relative_error = 0.2697 + W_density = 0.7333 + H_density = 0.7250 ***** test [W,H,iter,HIS]=nmf_bpas(A,k,'verbose','nnlssolver','as'); scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 1.0875 - SC2 = 543.75 - SC3 = 0.4870 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 1.0582 + SC2 = 529.09 + SC3 = 0.4874 W_density = 1 H_density = 1 par = @@ -3082,8 +3076,8 @@ n = 20 type = regularized nnls_solver = as - alpha = 0.5081 - beta = 0.5081 + alpha = 0.4933 + beta = 0.4933 max_iter = 100 min_iter = 20 max_time = 1000 @@ -3095,438 +3089,438 @@ scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 0.029181 - SC2 = 0.028831 - SC3 = 1.1995 - W_density = 0.9833 - H_density = 0.7050 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 0.030248 + SC2 = 0.028433 + SC3 = 1.0750 + W_density = 0.9300 + H_density = 0.6350 iter = 1 - elapsed = 0.014095 - tTotal = 0.014095 - subIterW = 5 - subIterH = 34 - relError = 0.4309 + elapsed = 0.046663 + tTotal = 0.046663 + subIterW = 11 + subIterH = 35 + relError = 0.4348 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 0.017100 - SC2 = 0.016211 - SC3 = 0.6485 - W_density = 0.9233 - H_density = 0.5550 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 0.016448 + SC2 = 0.015231 + SC3 = 0.5555 + W_density = 0.9000 + H_density = 0.5700 iter = 2 - elapsed = 0.013960 - tTotal = 0.028055 - subIterW = 14 - subIterH = 40 - relError = 0.3483 + elapsed = 0.048425 + tTotal = 0.095088 + subIterW = 16 + subIterH = 33 + relError = 0.3440 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 0.011118 - SC2 = 0.010317 - SC3 = 0.4308 - W_density = 0.8933 - H_density = 0.5650 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 0.010933 + SC2 = 9.9057e-03 + SC3 = 0.4010 + W_density = 0.8767 + H_density = 0.5850 iter = 3 - elapsed = 0.014521 - tTotal = 0.042576 - subIterW = 19 - subIterH = 34 - relError = 0.3102 + elapsed = 0.045196 + tTotal = 0.1403 + subIterW = 21 + subIterH = 35 + relError = 0.3153 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 7.9273e-03 - SC2 = 7.1346e-03 - SC3 = 0.3083 - W_density = 0.8700 - H_density = 0.6000 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 7.8528e-03 + SC2 = 6.9418e-03 + SC3 = 0.3053 + W_density = 0.8533 + H_density = 0.6150 iter = 4 - elapsed = 0.015240 - tTotal = 0.057816 - subIterW = 18 - subIterH = 34 - relError = 0.2912 + elapsed = 0.055415 + tTotal = 0.1957 + subIterW = 25 + subIterH = 36 + relError = 0.3022 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 6.0412e-03 - SC2 = 5.2317e-03 - SC3 = 0.2280 - W_density = 0.8367 - H_density = 0.6500 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 5.9016e-03 + SC2 = 5.1226e-03 + SC3 = 0.2297 + W_density = 0.8400 + H_density = 0.6350 iter = 5 - elapsed = 0.015007 - tTotal = 0.072823 - subIterW = 25 - subIterH = 34 - relError = 0.2805 + elapsed = 0.065722 + tTotal = 0.2614 + subIterW = 28 + subIterH = 35 + relError = 0.2942 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 4.5973e-03 - SC2 = 3.9353e-03 - SC3 = 0.1819 - W_density = 0.8267 - H_density = 0.7050 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 4.5752e-03 + SC2 = 3.9164e-03 + SC3 = 0.1663 + W_density = 0.8400 + H_density = 0.6750 iter = 6 - elapsed = 0.014502 - tTotal = 0.087325 - subIterW = 26 - subIterH = 27 - relError = 0.2740 + elapsed = 0.063182 + tTotal = 0.3246 + subIterW = 23 + subIterH = 29 + relError = 0.2886 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 3.5880e-03 - SC2 = 3.0139e-03 - SC3 = 0.1375 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 3.6979e-03 + SC2 = 3.0692e-03 + SC3 = 0.1360 W_density = 0.8133 - H_density = 0.7300 + H_density = 0.7000 iter = 7 - elapsed = 0.014544 - tTotal = 0.1019 - subIterW = 26 + elapsed = 0.081462 + tTotal = 0.4061 + subIterW = 30 subIterH = 27 - relError = 0.2704 + relError = 0.2844 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 2.8513e-03 - SC2 = 2.3609e-03 - SC3 = 0.1133 - W_density = 0.7967 - H_density = 0.7450 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 2.9574e-03 + SC2 = 2.4073e-03 + SC3 = 0.1083 + W_density = 0.8000 + H_density = 0.6900 iter = 8 - elapsed = 0.014210 - tTotal = 0.1161 - subIterW = 30 - subIterH = 24 - relError = 0.2681 + elapsed = 0.1416 + tTotal = 0.5477 + subIterW = 31 + subIterH = 29 + relError = 0.2814 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 2.2942e-03 - SC2 = 1.8720e-03 - SC3 = 0.093718 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 2.3713e-03 + SC2 = 1.8828e-03 + SC3 = 0.091467 W_density = 0.7867 - H_density = 0.7350 + H_density = 0.6950 iter = 9 - elapsed = 0.014328 - tTotal = 0.1304 + elapsed = 0.1464 + tTotal = 0.6941 subIterW = 31 - subIterH = 25 - relError = 0.2666 + subIterH = 30 + relError = 0.2798 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 1.8472e-03 - SC2 = 1.4999e-03 - SC3 = 0.069695 - W_density = 0.7800 - H_density = 0.7400 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 1.9178e-03 + SC2 = 1.4959e-03 + SC3 = 0.070209 + W_density = 0.7767 + H_density = 0.7100 iter = 10 - elapsed = 0.014373 - tTotal = 0.1448 - subIterW = 32 - subIterH = 24 - relError = 0.2657 + elapsed = 0.026045 + tTotal = 0.7202 + subIterW = 33 + subIterH = 28 + relError = 0.2787 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 1.5257e-03 - SC2 = 1.2206e-03 - SC3 = 0.058686 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 1.5566e-03 + SC2 = 1.2017e-03 + SC3 = 0.057236 W_density = 0.7733 - H_density = 0.7350 + H_density = 0.7100 iter = 11 - elapsed = 0.014662 - tTotal = 0.1594 - subIterW = 33 - subIterH = 26 - relError = 0.2650 + elapsed = 0.023958 + tTotal = 0.7441 + subIterW = 34 + subIterH = 28 + relError = 0.2779 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 1.2954e-03 - SC2 = 1.0078e-03 - SC3 = 0.048609 - W_density = 0.7633 - H_density = 0.7350 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 1.2815e-03 + SC2 = 9.7653e-04 + SC3 = 0.046718 + W_density = 0.7600 + H_density = 0.7100 iter = 12 - elapsed = 0.013421 - tTotal = 0.1729 - subIterW = 35 - subIterH = 25 - relError = 0.2645 + elapsed = 0.027636 + tTotal = 0.7718 + subIterW = 38 + subIterH = 27 + relError = 0.2774 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 1.0928e-03 - SC2 = 8.4145e-04 - SC3 = 0.041192 - W_density = 0.7567 - H_density = 0.7400 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 1.0623e-03 + SC2 = 8.0097e-04 + SC3 = 0.038974 + W_density = 0.7533 + H_density = 0.7100 iter = 13 - elapsed = 0.013345 - tTotal = 0.1862 - subIterW = 35 - subIterH = 25 - relError = 0.2642 + elapsed = 0.027832 + tTotal = 0.7996 + subIterW = 40 + subIterH = 26 + relError = 0.2770 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 9.4593e-04 - SC2 = 7.2269e-04 - SC3 = 0.034471 - W_density = 0.7533 - H_density = 0.7450 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 8.8848e-04 + SC2 = 6.6459e-04 + SC3 = 0.031186 + W_density = 0.7500 + H_density = 0.7100 iter = 14 - elapsed = 0.014495 - tTotal = 0.2007 - subIterW = 33 - subIterH = 24 - relError = 0.2638 + elapsed = 0.027287 + tTotal = 0.8269 + subIterW = 41 + subIterH = 26 + relError = 0.2766 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 8.2588e-04 - SC2 = 6.2767e-04 - SC3 = 0.029474 - W_density = 0.7433 - H_density = 0.7500 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 7.4605e-04 + SC2 = 5.5805e-04 + SC3 = 0.024983 + W_density = 0.7467 + H_density = 0.7150 iter = 15 - elapsed = 0.013387 - tTotal = 0.2141 - subIterW = 36 - subIterH = 25 - relError = 0.2635 + elapsed = 0.027777 + tTotal = 0.8547 + subIterW = 39 + subIterH = 24 + relError = 0.2762 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 7.4264e-04 - SC2 = 5.5995e-04 - SC3 = 0.026262 - W_density = 0.7400 - H_density = 0.7450 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 6.3662e-04 + SC2 = 4.7492e-04 + SC3 = 0.021768 + W_density = 0.7500 + H_density = 0.7100 iter = 16 - elapsed = 0.013309 - tTotal = 0.2274 - subIterW = 35 + elapsed = 0.031843 + tTotal = 0.8865 + subIterW = 40 subIterH = 25 - relError = 0.2631 + relError = 0.2759 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 6.7442e-04 - SC2 = 5.0716e-04 - SC3 = 0.023298 - W_density = 0.7367 - H_density = 0.7400 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 5.5454e-04 + SC2 = 4.1147e-04 + SC3 = 0.018118 + W_density = 0.7467 + H_density = 0.7150 iter = 17 - elapsed = 0.016596 - tTotal = 0.2440 - subIterW = 35 - subIterH = 25 - relError = 0.2627 + elapsed = 0.028975 + tTotal = 0.9155 + subIterW = 39 + subIterH = 28 + relError = 0.2756 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 6.1355e-04 - SC2 = 4.6016e-04 - SC3 = 0.020290 - W_density = 0.7400 - H_density = 0.7550 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 4.8963e-04 + SC2 = 3.6428e-04 + SC3 = 0.016201 + W_density = 0.7500 + H_density = 0.7150 iter = 18 - elapsed = 0.014366 - tTotal = 0.2584 - subIterW = 33 - subIterH = 22 - relError = 0.2623 + elapsed = 0.029728 + tTotal = 0.9452 + subIterW = 38 + subIterH = 28 + relError = 0.2754 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 5.5677e-04 - SC2 = 4.1647e-04 - SC3 = 0.018255 - W_density = 0.7400 - H_density = 0.7450 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 4.4572e-04 + SC2 = 3.3073e-04 + SC3 = 0.014092 + W_density = 0.7433 + H_density = 0.7250 iter = 19 - elapsed = 0.013129 - tTotal = 0.2715 - subIterW = 34 - subIterH = 23 - relError = 0.2620 + elapsed = 0.028944 + tTotal = 0.9741 + subIterW = 38 + subIterH = 26 + relError = 0.2751 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 5.0759e-04 - SC2 = 3.7867e-04 - SC3 = 0.017834 - W_density = 0.7433 - H_density = 0.7500 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 4.0804e-04 + SC2 = 3.0195e-04 + SC3 = 0.012531 + W_density = 0.7400 + H_density = 0.7350 iter = 20 - elapsed = 0.012759 - tTotal = 0.2842 - subIterW = 33 - subIterH = 22 - relError = 0.2617 + elapsed = 0.030383 + tTotal = 1.0045 + subIterW = 39 + subIterH = 24 + relError = 0.2749 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 4.6988e-04 - SC2 = 3.4865e-04 - SC3 = 0.015630 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 3.7998e-04 + SC2 = 2.7966e-04 + SC3 = 0.011598 W_density = 0.7367 - H_density = 0.7500 + H_density = 0.7300 iter = 21 - elapsed = 0.013056 - tTotal = 0.2973 - subIterW = 35 - subIterH = 23 - relError = 0.2614 + elapsed = 0.034100 + tTotal = 1.0386 + subIterW = 38 + subIterH = 24 + relError = 0.2748 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 4.3436e-04 - SC2 = 3.2143e-04 - SC3 = 0.014356 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 3.5670e-04 + SC2 = 2.6182e-04 + SC3 = 0.010907 W_density = 0.7333 - H_density = 0.7450 + H_density = 0.7300 iter = 22 - elapsed = 0.015090 - tTotal = 0.3124 - subIterW = 35 - subIterH = 24 - relError = 0.2612 + elapsed = 0.033079 + tTotal = 1.0717 + subIterW = 41 + subIterH = 25 + relError = 0.2746 toshow = scalar structure containing the fields: - initGrNormW = 357.91 - initGrNormH = 409.34 - initNorm = 14.269 - SC1 = 4.0304e-04 - SC2 = 2.9986e-04 - SC3 = 0.013136 + initGrNormW = 327.73 + initGrNormH = 415.37 + initNorm = 14.005 + SC1 = 3.3854e-04 + SC2 = 2.4916e-04 + SC3 = 0.010116 W_density = 0.7333 - H_density = 0.7450 + H_density = 0.7350 iter = 23 - elapsed = 0.015286 - tTotal = 0.3277 - subIterW = 36 - subIterH = 24 - relError = 0.2609 + elapsed = 0.035331 + tTotal = 1.1070 + subIterW = 43 + subIterH = 23 + relError = 0.2745 Stop: tolerance reached. final = @@ -3534,21 +3528,21 @@ scalar structure containing the fields: iterations = 23 - elapsed_total = 0.3277 - relative_error = 0.2609 + elapsed_total = 1.1070 + relative_error = 0.2745 W_density = 0.7333 - H_density = 0.7450 + H_density = 0.7350 ***** test [W,H,iter,HIS]=nmf_bpas(A,k,'verbose','type','sparse'); scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 1.0839 - SC2 = 541.95 - SC3 = 0.4833 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 1.2722 + SC2 = 636.09 + SC3 = 0.5054 W_density = 1 H_density = 1 par = @@ -3559,8 +3553,8 @@ n = 20 type = sparse nnls_solver = bp - alpha = 0.5081 - beta = 0.5081 + alpha = 0.4933 + beta = 0.4933 max_iter = 100 min_iter = 20 max_time = 1000 @@ -3572,438 +3566,438 @@ scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 0.024943 - SC2 = 0.023397 - SC3 = 1.6310 - W_density = 0.9800 - H_density = 0.5850 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 0.023640 + SC2 = 0.022411 + SC3 = 1.7875 + W_density = 0.9600 + H_density = 0.5700 iter = 1 - elapsed = 0.015227 - tTotal = 0.015227 - subIterW = 4 - subIterH = 34 - relError = 0.4284 + elapsed = 0.049954 + tTotal = 0.049954 + subIterW = 7 + subIterH = 36 + relError = 0.4446 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 0.011784 - SC2 = 9.5920e-03 - SC3 = 0.7986 - W_density = 0.9267 - H_density = 0.3700 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 0.011218 + SC2 = 9.5356e-03 + SC3 = 0.8422 + W_density = 0.9200 + H_density = 0.3650 iter = 2 - elapsed = 0.018864 - tTotal = 0.034091 - subIterW = 8 - subIterH = 25 - relError = 0.3564 + elapsed = 0.053798 + tTotal = 0.1038 + subIterW = 9 + subIterH = 28 + relError = 0.3743 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 7.1579e-03 - SC2 = 5.2539e-03 - SC3 = 0.4805 - W_density = 0.9000 - H_density = 0.3550 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 6.6263e-03 + SC2 = 5.1950e-03 + SC3 = 0.4934 + W_density = 0.9133 + H_density = 0.3600 iter = 3 - elapsed = 0.014841 - tTotal = 0.048932 + elapsed = 0.043888 + tTotal = 0.1476 subIterW = 7 - subIterH = 12 - relError = 0.3360 + subIterH = 15 + relError = 0.3537 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 5.3666e-03 - SC2 = 3.6922e-03 - SC3 = 0.3730 - W_density = 0.8867 - H_density = 0.3400 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 4.8370e-03 + SC2 = 3.2795e-03 + SC3 = 0.3553 + W_density = 0.8367 + H_density = 0.3250 iter = 4 - elapsed = 0.012265 - tTotal = 0.061197 - subIterW = 5 - subIterH = 5 - relError = 0.3283 + elapsed = 0.044246 + tTotal = 0.1919 + subIterW = 7 + subIterH = 9 + relError = 0.3419 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 4.3891e-03 - SC2 = 2.8792e-03 - SC3 = 0.3193 - W_density = 0.8800 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 3.4155e-03 + SC2 = 2.2269e-03 + SC3 = 0.2554 + W_density = 0.8300 H_density = 0.2950 iter = 5 - elapsed = 0.012556 - tTotal = 0.073753 - subIterW = 6 - subIterH = 9 - relError = 0.3229 + elapsed = 0.042848 + tTotal = 0.2347 + subIterW = 3 + subIterH = 7 + relError = 0.3354 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 3.5892e-03 - SC2 = 2.3043e-03 - SC3 = 0.2506 - W_density = 0.8733 - H_density = 0.2750 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.4391e-03 + SC2 = 1.5610e-03 + SC3 = 0.1824 + W_density = 0.8267 + H_density = 0.2950 iter = 6 - elapsed = 0.014242 - tTotal = 0.087995 - subIterW = 7 - subIterH = 3 - relError = 0.3187 + elapsed = 0.035849 + tTotal = 0.2706 + subIterW = 3 + subIterH = 6 + relError = 0.3314 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 3.2792e-03 - SC2 = 2.0659e-03 - SC3 = 0.2059 - W_density = 0.8567 - H_density = 0.2750 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.2248e-03 + SC2 = 1.3972e-03 + SC3 = 0.1564 + W_density = 0.8200 + H_density = 0.2900 iter = 7 - elapsed = 0.014709 - tTotal = 0.1027 - subIterW = 7 - subIterH = 6 - relError = 0.3150 + elapsed = 0.036607 + tTotal = 0.3072 + subIterW = 2 + subIterH = 2 + relError = 0.3299 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 2.7991e-03 - SC2 = 1.6906e-03 - SC3 = 0.1900 - W_density = 0.8333 - H_density = 0.2550 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.2953e-03 + SC2 = 1.4185e-03 + SC3 = 0.1563 + W_density = 0.8133 + H_density = 0.2750 iter = 8 - elapsed = 0.012315 - tTotal = 0.1150 - subIterW = 7 - subIterH = 4 - relError = 0.3130 + elapsed = 0.040721 + tTotal = 0.3479 + subIterW = 1 + subIterH = 5 + relError = 0.3298 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 2.4647e-03 - SC2 = 1.4739e-03 - SC3 = 0.1637 - W_density = 0.8300 - H_density = 0.2450 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.5692e-03 + SC2 = 1.5569e-03 + SC3 = 0.1834 + W_density = 0.8100 + H_density = 0.2650 iter = 9 - elapsed = 0.012131 - tTotal = 0.1272 - subIterW = 2 + elapsed = 0.045173 + tTotal = 0.3931 + subIterW = 0 subIterH = 4 - relError = 0.3134 + relError = 0.3304 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 1.8768e-03 - SC2 = 1.1035e-03 - SC3 = 0.1335 - W_density = 0.8267 - H_density = 0.2250 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.6704e-03 + SC2 = 1.5702e-03 + SC3 = 0.1832 + W_density = 0.7900 + H_density = 0.2550 iter = 10 - elapsed = 0.011969 - tTotal = 0.1391 - subIterW = 3 - subIterH = 4 - relError = 0.3146 + elapsed = 0.058622 + tTotal = 0.4517 + subIterW = 6 + subIterH = 6 + relError = 0.3311 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 1.4657e-03 - SC2 = 8.5301e-04 - SC3 = 0.1078 - W_density = 0.8267 - H_density = 0.2100 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.3132e-03 + SC2 = 1.3324e-03 + SC3 = 0.1783 + W_density = 0.7867 + H_density = 0.2450 iter = 11 - elapsed = 0.011754 - tTotal = 0.1509 - subIterW = 2 + elapsed = 0.087217 + tTotal = 0.5389 + subIterW = 5 subIterH = 3 - relError = 0.3159 + relError = 0.3327 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 1.1794e-03 - SC2 = 6.7696e-04 - SC3 = 0.085945 - W_density = 0.8167 - H_density = 0.2100 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.2860e-03 + SC2 = 1.2939e-03 + SC3 = 0.1648 + W_density = 0.7767 + H_density = 0.2450 iter = 12 - elapsed = 8.9560e-03 - tTotal = 0.1598 + elapsed = 0.099457 + tTotal = 0.6384 subIterW = 3 - subIterH = 0 - relError = 0.3171 + subIterH = 2 + relError = 0.3347 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 9.6477e-04 - SC2 = 5.5185e-04 - SC3 = 0.070198 - W_density = 0.8133 - H_density = 0.2100 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.0217e-03 + SC2 = 1.1120e-03 + SC3 = 0.1579 + W_density = 0.7667 + H_density = 0.2250 iter = 13 - elapsed = 8.5840e-03 - tTotal = 0.1684 - subIterW = 0 - subIterH = 0 - relError = 0.3182 + elapsed = 0.1041 + tTotal = 0.7425 + subIterW = 3 + subIterH = 4 + relError = 0.3366 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 8.1455e-04 - SC2 = 4.6755e-04 - SC3 = 0.058496 - W_density = 0.8167 - H_density = 0.2100 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 1.9875e-03 + SC2 = 1.0852e-03 + SC3 = 0.1475 + W_density = 0.7600 + H_density = 0.2250 iter = 14 - elapsed = 8.6830e-03 - tTotal = 0.1771 - subIterW = 0 + elapsed = 0.039040 + tTotal = 0.7815 + subIterW = 4 subIterH = 0 - relError = 0.3193 + relError = 0.3382 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 6.3386e-04 - SC2 = 3.6130e-04 - SC3 = 0.046911 - W_density = 0.8133 - H_density = 0.2050 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 2.0055e-03 + SC2 = 1.0910e-03 + SC3 = 0.1417 + W_density = 0.7600 + H_density = 0.2200 iter = 15 - elapsed = 0.010802 - tTotal = 0.1879 - subIterW = 0 + elapsed = 0.019572 + tTotal = 0.8011 + subIterW = 4 subIterH = 0 - relError = 0.3202 + relError = 0.3402 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 5.2894e-04 - SC2 = 2.9938e-04 - SC3 = 0.040242 - W_density = 0.8100 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 1.6687e-03 + SC2 = 8.7776e-04 + SC3 = 0.1253 + W_density = 0.7433 H_density = 0.2000 iter = 16 - elapsed = 0.011285 - tTotal = 0.1992 - subIterW = 3 - subIterH = 0 - relError = 0.3208 + elapsed = 0.020924 + tTotal = 0.8220 + subIterW = 5 + subIterH = 3 + relError = 0.3419 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 4.5450e-04 - SC2 = 2.5815e-04 - SC3 = 8.5218e-03 - W_density = 0.8100 - H_density = 0.2000 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 1.4008e-03 + SC2 = 7.1439e-04 + SC3 = 0.1015 + W_density = 0.7233 + H_density = 0.1900 iter = 17 - elapsed = 6.3050e-03 - tTotal = 0.2055 - subIterW = 0 - subIterH = 0 - relError = 0.3213 + elapsed = 0.020399 + tTotal = 0.8424 + subIterW = 4 + subIterH = 2 + relError = 0.3431 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 4.1486e-04 - SC2 = 2.3647e-04 - SC3 = 0.031306 - W_density = 0.8133 - H_density = 0.2050 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 9.9120e-04 + SC2 = 5.0353e-04 + SC3 = 0.020347 + W_density = 0.7233 + H_density = 0.1850 iter = 18 - elapsed = 0.010788 - tTotal = 0.2163 + elapsed = 0.014188 + tTotal = 0.8566 subIterW = 0 subIterH = 0 - relError = 0.3217 + relError = 0.3442 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 3.9865e-04 - SC2 = 2.2643e-04 - SC3 = 0.029004 - W_density = 0.8100 - H_density = 0.2050 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 7.7306e-04 + SC2 = 3.9271e-04 + SC3 = 0.016424 + W_density = 0.7233 + H_density = 0.1850 iter = 19 - elapsed = 8.6510e-03 - tTotal = 0.2249 + elapsed = 9.9410e-03 + tTotal = 0.8665 subIterW = 0 subIterH = 0 - relError = 0.3220 + relError = 0.3453 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 3.8423e-04 - SC2 = 2.1825e-04 - SC3 = 7.0480e-03 - W_density = 0.8100 - H_density = 0.2050 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 6.0272e-04 + SC2 = 3.0498e-04 + SC3 = 0.049810 + W_density = 0.7233 + H_density = 0.1800 iter = 20 - elapsed = 6.4650e-03 - tTotal = 0.2314 - subIterW = 0 + elapsed = 0.018658 + tTotal = 0.8852 + subIterW = 2 subIterH = 0 - relError = 0.3223 + relError = 0.3462 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 3.8206e-04 - SC2 = 2.1548e-04 - SC3 = 0.026049 - W_density = 0.8033 - H_density = 0.2050 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 5.0570e-04 + SC2 = 2.5487e-04 + SC3 = 0.040994 + W_density = 0.7200 + H_density = 0.1800 iter = 21 - elapsed = 9.0560e-03 - tTotal = 0.2404 - subIterW = 2 + elapsed = 0.013514 + tTotal = 0.8987 + subIterW = 0 subIterH = 0 - relError = 0.3226 + relError = 0.3470 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 3.7546e-04 - SC2 = 2.1026e-04 - SC3 = 0.025762 - W_density = 0.8000 - H_density = 0.2000 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 4.3074e-04 + SC2 = 2.1623e-04 + SC3 = 8.4032e-03 + W_density = 0.7200 + H_density = 0.1750 iter = 22 - elapsed = 0.011343 - tTotal = 0.2518 + elapsed = 0.015164 + tTotal = 0.9139 subIterW = 0 subIterH = 0 - relError = 0.3229 + relError = 0.3477 toshow = scalar structure containing the fields: - initGrNormW = 331.62 - initGrNormH = 428.64 - initNorm = 14.269 - SC1 = 3.8297e-04 - SC2 = 2.1446e-04 - SC3 = 5.9719e-03 - W_density = 0.8000 - H_density = 0.2000 + initGrNormW = 379.62 + initGrNormH = 510.39 + initNorm = 14.005 + SC1 = 3.8997e-04 + SC2 = 1.9577e-04 + SC3 = 8.6512e-03 + W_density = 0.7200 + H_density = 0.1750 iter = 23 - elapsed = 6.5950e-03 - tTotal = 0.2584 + elapsed = 0.011424 + tTotal = 0.9253 subIterW = 0 subIterH = 0 - relError = 0.3231 + relError = 0.3483 Stop: tolerance reached. final = @@ -4011,21 +4005,21 @@ scalar structure containing the fields: iterations = 23 - elapsed_total = 0.2584 - relative_error = 0.3231 - W_density = 0.8000 - H_density = 0.2000 + elapsed_total = 0.9253 + relative_error = 0.3483 + W_density = 0.7200 + H_density = 0.1750 ***** test [W,H,iter,HIS]=nmf_bpas(A,k,'verbose','type','sparse','nnlssolver','bp','alpha',1.1,'beta',1.3); scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 1.3789 - SC2 = 689.44 - SC3 = 0.5047 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 1.3331 + SC2 = 666.57 + SC3 = 0.4983 W_density = 1 H_density = 1 par = @@ -4049,438 +4043,438 @@ scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 0.025112 - SC2 = 0.023705 - SC3 = 2.0122 - W_density = 0.9867 - H_density = 0.5400 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 0.023459 + SC2 = 0.023366 + SC3 = 1.9235 + W_density = 0.9967 + H_density = 0.5500 iter = 1 - elapsed = 0.017917 - tTotal = 0.017917 - subIterW = 3 + elapsed = 0.031090 + tTotal = 0.031090 + subIterW = 0 subIterH = 38 - relError = 0.5528 + relError = 0.5653 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 0.013194 - SC2 = 6.6234e-03 - SC3 = 0.8010 - W_density = 0.6367 - H_density = 0.2350 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 0.010011 + SC2 = 6.6271e-03 + SC3 = 0.7344 + W_density = 0.8667 + H_density = 0.2300 iter = 2 - elapsed = 0.021058 - tTotal = 0.038975 - subIterW = 5 - subIterH = 37 - relError = 0.4528 + elapsed = 0.036593 + tTotal = 0.067683 + subIterW = 15 + subIterH = 35 + relError = 0.4474 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 0.012587 - SC2 = 5.1104e-03 - SC3 = 0.6312 - W_density = 0.5067 - H_density = 0.2300 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 0.011409 + SC2 = 4.8146e-03 + SC3 = 0.6987 + W_density = 0.5467 + H_density = 0.2000 iter = 3 - elapsed = 0.010769 - tTotal = 0.049744 - subIterW = 10 - subIterH = 6 - relError = 0.4535 + elapsed = 0.030495 + tTotal = 0.098178 + subIterW = 11 + subIterH = 15 + relError = 0.4427 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 0.014706 - SC2 = 4.6764e-03 - SC3 = 0.5657 - W_density = 0.4033 - H_density = 0.1900 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 0.014183 + SC2 = 4.7372e-03 + SC3 = 0.7985 + W_density = 0.4333 + H_density = 0.1700 iter = 4 - elapsed = 0.012657 - tTotal = 0.062401 - subIterW = 9 + elapsed = 0.019595 + tTotal = 0.1178 + subIterW = 10 subIterH = 3 - relError = 0.4649 + relError = 0.4503 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 0.015452 - SC2 = 2.6886e-03 - SC3 = 0.2636 - W_density = 0.2000 - H_density = 0.1350 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 0.014316 + SC2 = 4.2376e-03 + SC3 = 0.7264 + W_density = 0.3867 + H_density = 0.1600 iter = 5 - elapsed = 0.010346 - tTotal = 0.072747 - subIterW = 0 - subIterH = 6 - relError = 0.4679 + elapsed = 0.017801 + tTotal = 0.1356 + subIterW = 7 + subIterH = 2 + relError = 0.4650 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 0.014688 - SC2 = 2.4088e-03 - SC3 = 0.4579 - W_density = 0.1833 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 0.013749 + SC2 = 3.1622e-03 + SC3 = 0.5452 + W_density = 0.2933 H_density = 0.1350 iter = 6 - elapsed = 5.3170e-03 - tTotal = 0.078064 - subIterW = 1 - subIterH = 0 - relError = 0.4703 + elapsed = 0.018301 + tTotal = 0.1539 + subIterW = 5 + subIterH = 1 + relError = 0.4797 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 0.013480 - SC2 = 2.0220e-03 - SC3 = 0.3239 - W_density = 0.1667 - H_density = 0.1250 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 0.010365 + SC2 = 1.4511e-03 + SC3 = 0.2199 + W_density = 0.1600 + H_density = 0.1100 iter = 7 - elapsed = 7.7380e-03 - tTotal = 0.085802 - subIterW = 1 + elapsed = 0.017617 + tTotal = 0.1715 + subIterW = 4 subIterH = 1 - relError = 0.4754 + relError = 0.4863 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 9.8739e-03 - SC2 = 1.3429e-03 - SC3 = 0.1880 - W_density = 0.1533 - H_density = 0.1100 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 1.7371e-03 + SC2 = 1.7371e-04 + SC3 = 0.025628 + W_density = 0.1000 + H_density = 0.1000 iter = 8 - elapsed = 7.8370e-03 - tTotal = 0.093639 - subIterW = 1 + elapsed = 0.010238 + tTotal = 0.1817 + subIterW = 0 subIterH = 1 - relError = 0.4804 + relError = 0.4883 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 2.2401e-03 - SC2 = 2.2401e-04 - SC3 = 0.038708 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 8.9584e-04 + SC2 = 8.9584e-05 + SC3 = 0.020493 W_density = 0.1000 H_density = 0.1000 iter = 9 - elapsed = 5.3120e-03 - tTotal = 0.098951 + elapsed = 4.8420e-03 + tTotal = 0.1866 subIterW = 0 - subIterH = 1 - relError = 0.4826 + subIterH = 0 + relError = 0.4883 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 1.2364e-03 - SC2 = 1.2364e-04 - SC3 = 0.034266 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 5.7981e-04 + SC2 = 5.7981e-05 + SC3 = 0.015671 W_density = 0.1000 H_density = 0.1000 iter = 10 - elapsed = 2.4980e-03 - tTotal = 0.1014 + elapsed = 5.1510e-03 + tTotal = 0.1917 subIterW = 0 subIterH = 0 - relError = 0.4825 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 8.0832e-04 - SC2 = 8.0832e-05 - SC3 = 0.018965 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 3.7569e-04 + SC2 = 3.7569e-05 + SC3 = 6.7693e-03 W_density = 0.1000 H_density = 0.1000 iter = 11 - elapsed = 2.4200e-03 - tTotal = 0.1039 + elapsed = 5.0050e-03 + tTotal = 0.1967 subIterW = 0 subIterH = 0 - relError = 0.4825 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 5.2915e-04 - SC2 = 5.2915e-05 - SC3 = 0.011528 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 2.4349e-04 + SC2 = 2.4349e-05 + SC3 = 5.7913e-03 W_density = 0.1000 H_density = 0.1000 iter = 12 - elapsed = 2.4500e-03 - tTotal = 0.1063 + elapsed = 5.0720e-03 + tTotal = 0.2018 subIterW = 0 subIterH = 0 - relError = 0.4825 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 3.4652e-04 - SC2 = 3.4652e-05 - SC3 = 8.1301e-03 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 1.5784e-04 + SC2 = 1.5784e-05 + SC3 = 3.7541e-03 W_density = 0.1000 H_density = 0.1000 iter = 13 - elapsed = 2.4780e-03 - tTotal = 0.1088 + elapsed = 5.0160e-03 + tTotal = 0.2068 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 2.2698e-04 - SC2 = 2.2698e-05 - SC3 = 4.9450e-03 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 1.0233e-04 + SC2 = 1.0233e-05 + SC3 = 2.1731e-03 W_density = 0.1000 H_density = 0.1000 iter = 14 - elapsed = 2.4440e-03 - tTotal = 0.1112 + elapsed = 5.1270e-03 + tTotal = 0.2119 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 1.4870e-04 - SC2 = 1.4870e-05 - SC3 = 3.3596e-03 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 6.6346e-05 + SC2 = 6.6346e-06 + SC3 = 1.4611e-03 W_density = 0.1000 H_density = 0.1000 iter = 15 - elapsed = 2.3870e-03 - tTotal = 0.1136 + elapsed = 5.1400e-03 + tTotal = 0.2171 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 9.7427e-05 - SC2 = 9.7427e-06 - SC3 = 2.0494e-03 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 4.3018e-05 + SC2 = 4.3018e-06 + SC3 = 9.1352e-04 W_density = 0.1000 H_density = 0.1000 iter = 16 - elapsed = 2.4340e-03 - tTotal = 0.1161 + elapsed = 5.3040e-03 + tTotal = 0.2224 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 6.3838e-05 - SC2 = 6.3838e-06 - SC3 = 1.2980e-03 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 2.7893e-05 + SC2 = 2.7893e-06 + SC3 = 5.3501e-04 W_density = 0.1000 H_density = 0.1000 iter = 17 - elapsed = 2.3750e-03 - tTotal = 0.1184 + elapsed = 5.3360e-03 + tTotal = 0.2277 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 4.1830e-05 - SC2 = 4.1830e-06 - SC3 = 9.4507e-04 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 1.8086e-05 + SC2 = 1.8086e-06 + SC3 = 4.1362e-04 W_density = 0.1000 H_density = 0.1000 iter = 18 - elapsed = 2.4590e-03 - tTotal = 0.1209 + elapsed = 5.5150e-03 + tTotal = 0.2332 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 2.7411e-05 - SC2 = 2.7411e-06 - SC3 = 6.9670e-04 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 1.1728e-05 + SC2 = 1.1728e-06 + SC3 = 2.5827e-04 W_density = 0.1000 H_density = 0.1000 iter = 19 - elapsed = 2.5800e-03 - tTotal = 0.1235 + elapsed = 5.4520e-03 + tTotal = 0.2387 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 1.7962e-05 - SC2 = 1.7962e-06 - SC3 = 4.7639e-04 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 7.6045e-06 + SC2 = 7.6045e-07 + SC3 = 1.7391e-04 W_density = 0.1000 H_density = 0.1000 iter = 20 - elapsed = 2.5690e-03 - tTotal = 0.1260 + elapsed = 5.8730e-03 + tTotal = 0.2446 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 1.1771e-05 - SC2 = 1.1771e-06 - SC3 = 2.7616e-04 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 4.9310e-06 + SC2 = 4.9310e-07 + SC3 = 1.0859e-04 W_density = 0.1000 H_density = 0.1000 iter = 21 - elapsed = 2.5040e-03 - tTotal = 0.1285 + elapsed = 5.8070e-03 + tTotal = 0.2504 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 7.7134e-06 - SC2 = 7.7134e-07 - SC3 = 1.8097e-04 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 3.1974e-06 + SC2 = 3.1974e-07 + SC3 = 6.7901e-05 W_density = 0.1000 H_density = 0.1000 iter = 22 - elapsed = 2.8160e-03 - tTotal = 0.1314 + elapsed = 6.6310e-03 + tTotal = 0.2570 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 toshow = scalar structure containing the fields: - initGrNormW = 399.99 - initGrNormH = 561.55 - initNorm = 14.269 - SC1 = 5.0547e-06 - SC2 = 5.0547e-07 - SC3 = 1.1012e-04 + initGrNormW = 388.39 + initGrNormH = 541.73 + initNorm = 14.005 + SC1 = 2.0733e-06 + SC2 = 2.0733e-07 + SC3 = 4.9313e-05 W_density = 0.1000 H_density = 0.1000 iter = 23 - elapsed = 2.8320e-03 - tTotal = 0.1342 + elapsed = 7.2670e-03 + tTotal = 0.2643 subIterW = 0 subIterH = 0 - relError = 0.4824 + relError = 0.4882 Stop: tolerance reached. final = @@ -4488,8 +4482,8 @@ scalar structure containing the fields: iterations = 23 - elapsed_total = 0.1342 - relative_error = 0.4824 + elapsed_total = 0.2643 + relative_error = 0.4882 W_density = 0.1000 H_density = 0.1000 @@ -4497,12 +4491,12 @@ [W,H,iter,HIS]=nmf_bpas(A,k,'verbose','type','plain','winit',rand(m,k)); scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.0611 - SC2 = 530.54 - SC3 = 0.4883 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.0776 + SC2 = 538.81 + SC3 = 0.4855 W_density = 1 H_density = 1 par = @@ -4513,8 +4507,8 @@ n = 20 type = plain nnls_solver = bp - alpha = 0.5081 - beta = 0.5081 + alpha = 0.4933 + beta = 0.4933 max_iter = 100 min_iter = 20 max_time = 1000 @@ -4526,506 +4520,810 @@ scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 0.016144 - SC2 = 0.012043 - SC3 = 0.5608 - W_density = 0.7867 - H_density = 0.5800 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 0.019926 + SC2 = 0.014746 + SC3 = 0.7405 + W_density = 0.7433 + H_density = 0.6000 iter = 1 - elapsed = 0.023601 - tTotal = 0.023601 - subIterW = 35 - subIterH = 33 - relError = 0.3292 + elapsed = 0.074800 + tTotal = 0.074800 + subIterW = 44 + subIterH = 30 + relError = 0.3516 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 9.2893e-03 - SC2 = 6.5768e-03 - SC3 = 0.3290 - W_density = 0.7400 - H_density = 0.6050 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 0.013494 + SC2 = 9.5271e-03 + SC3 = 0.4536 + W_density = 0.7333 + H_density = 0.6150 iter = 2 - elapsed = 0.022186 - tTotal = 0.045787 - subIterW = 22 + elapsed = 0.068046 + tTotal = 0.1428 + subIterW = 17 subIterH = 23 - relError = 0.2868 + relError = 0.3051 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 6.1133e-03 - SC2 = 4.1326e-03 - SC3 = 0.2391 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 0.010654 + SC2 = 7.2876e-03 + SC3 = 0.3201 W_density = 0.7233 - H_density = 0.5900 + H_density = 0.6100 iter = 3 - elapsed = 0.020400 - tTotal = 0.066187 - subIterW = 11 - subIterH = 17 - relError = 0.2703 + elapsed = 0.061542 + tTotal = 0.2044 + subIterW = 13 + subIterH = 12 + relError = 0.2892 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 5.3344e-03 - SC2 = 3.5847e-03 - SC3 = 0.2080 - W_density = 0.7267 - H_density = 0.5900 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 0.010316 + SC2 = 7.1390e-03 + SC3 = 0.2552 + W_density = 0.7367 + H_density = 0.6100 iter = 4 - elapsed = 0.016094 - tTotal = 0.082281 - subIterW = 10 + elapsed = 0.048576 + tTotal = 0.2530 + subIterW = 9 subIterH = 7 - relError = 0.2627 + relError = 0.2807 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 5.0222e-03 - SC2 = 3.3548e-03 - SC3 = 0.1903 - W_density = 0.7167 - H_density = 0.5800 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 7.8069e-03 + SC2 = 5.3555e-03 + SC3 = 0.2270 + W_density = 0.7467 + H_density = 0.5900 iter = 5 - elapsed = 0.013417 - tTotal = 0.095698 - subIterW = 6 - subIterH = 4 - relError = 0.2559 + elapsed = 0.054133 + tTotal = 0.3071 + subIterW = 8 + subIterH = 7 + relError = 0.2737 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 3.9684e-03 - SC2 = 2.6350e-03 - SC3 = 0.1708 - W_density = 0.7233 - H_density = 0.5550 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 6.6216e-03 + SC2 = 4.5291e-03 + SC3 = 0.1978 + W_density = 0.7533 + H_density = 0.5750 iter = 6 - elapsed = 0.018655 - tTotal = 0.1144 - subIterW = 10 + elapsed = 0.075351 + tTotal = 0.3824 + subIterW = 6 subIterH = 8 - relError = 0.2500 + relError = 0.2686 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 3.3721e-03 - SC2 = 2.2256e-03 - SC3 = 0.1409 - W_density = 0.7167 - H_density = 0.5650 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 5.5662e-03 + SC2 = 3.8407e-03 + SC3 = 0.1857 + W_density = 0.7600 + H_density = 0.5750 iter = 7 - elapsed = 0.013390 - tTotal = 0.1277 - subIterW = 6 + elapsed = 0.092637 + tTotal = 0.4751 + subIterW = 4 subIterH = 5 - relError = 0.2459 + relError = 0.2647 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 2.8978e-03 - SC2 = 1.8951e-03 - SC3 = 0.1206 - W_density = 0.7100 - H_density = 0.5550 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 4.9218e-03 + SC2 = 3.4059e-03 + SC3 = 0.1658 + W_density = 0.7567 + H_density = 0.5850 iter = 8 - elapsed = 0.013028 - tTotal = 0.1408 - subIterW = 4 - subIterH = 4 - relError = 0.2432 + elapsed = 0.1118 + tTotal = 0.5869 + subIterW = 7 + subIterH = 3 + relError = 0.2615 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 2.4583e-03 - SC2 = 1.5930e-03 - SC3 = 0.1119 - W_density = 0.7133 - H_density = 0.5350 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 4.4912e-03 + SC2 = 3.0899e-03 + SC3 = 0.1456 + W_density = 0.7567 + H_density = 0.5750 iter = 9 - elapsed = 0.013522 - tTotal = 0.1543 - subIterW = 7 - subIterH = 5 - relError = 0.2413 + elapsed = 0.1202 + tTotal = 0.7070 + subIterW = 6 + subIterH = 6 + relError = 0.2584 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 2.0177e-03 - SC2 = 1.2994e-03 - SC3 = 0.092087 - W_density = 0.7100 - H_density = 0.5350 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 4.0717e-03 + SC2 = 2.7850e-03 + SC3 = 0.1310 + W_density = 0.7600 + H_density = 0.5650 iter = 10 - elapsed = 0.012363 - tTotal = 0.1667 - subIterW = 0 + elapsed = 0.027722 + tTotal = 0.7348 + subIterW = 5 subIterH = 4 - relError = 0.2400 + relError = 0.2560 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.7661e-03 - SC2 = 1.1303e-03 - SC3 = 0.082923 - W_density = 0.7067 - H_density = 0.5400 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 3.5328e-03 + SC2 = 2.4023e-03 + SC3 = 0.1145 + W_density = 0.7567 + H_density = 0.5550 iter = 11 - elapsed = 0.012933 - tTotal = 0.1796 + elapsed = 0.022510 + tTotal = 0.7573 subIterW = 3 - subIterH = 4 - relError = 0.2390 + subIterH = 2 + relError = 0.2541 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.6526e-03 - SC2 = 1.0544e-03 - SC3 = 0.082537 - W_density = 0.7133 - H_density = 0.5250 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 2.9829e-03 + SC2 = 2.0164e-03 + SC3 = 0.1014 + W_density = 0.7533 + H_density = 0.5550 iter = 12 - elapsed = 0.012920 - tTotal = 0.1925 - subIterW = 4 + elapsed = 0.026730 + tTotal = 0.7840 + subIterW = 3 subIterH = 3 - relError = 0.2383 + relError = 0.2528 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.5535e-03 - SC2 = 9.9116e-04 - SC3 = 0.077210 - W_density = 0.7167 - H_density = 0.5200 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 2.6314e-03 + SC2 = 1.7999e-03 + SC3 = 0.088592 + W_density = 0.7567 + H_density = 0.5700 iter = 13 - elapsed = 0.012452 - tTotal = 0.2050 + elapsed = 0.023322 + tTotal = 0.8073 subIterW = 3 - subIterH = 0 - relError = 0.2376 + subIterH = 3 + relError = 0.2518 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.5109e-03 - SC2 = 9.7300e-04 - SC3 = 0.073015 - W_density = 0.7200 - H_density = 0.5250 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 2.3368e-03 + SC2 = 1.5890e-03 + SC3 = 0.081282 + W_density = 0.7567 + H_density = 0.5600 iter = 14 - elapsed = 0.012198 - tTotal = 0.2172 - subIterW = 3 - subIterH = 0 - relError = 0.2371 + elapsed = 0.027824 + tTotal = 0.8352 + subIterW = 6 + subIterH = 4 + relError = 0.2511 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.5092e-03 - SC2 = 9.7494e-04 - SC3 = 0.072251 - W_density = 0.7233 - H_density = 0.5250 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 2.0671e-03 + SC2 = 1.4015e-03 + SC3 = 0.068391 + W_density = 0.7500 + H_density = 0.5550 iter = 15 - elapsed = 0.012007 - tTotal = 0.2292 - subIterW = 1 - subIterH = 2 - relError = 0.2365 + elapsed = 0.023228 + tTotal = 0.8584 + subIterW = 4 + subIterH = 3 + relError = 0.2507 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.4844e-03 - SC2 = 9.5598e-04 - SC3 = 0.070431 - W_density = 0.7200 - H_density = 0.5300 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.9073e-03 + SC2 = 1.2932e-03 + SC3 = 0.031621 + W_density = 0.7500 + H_density = 0.5600 iter = 16 - elapsed = 0.012801 - tTotal = 0.2420 - subIterW = 3 + elapsed = 0.018048 + tTotal = 0.8764 + subIterW = 0 subIterH = 3 - relError = 0.2359 + relError = 0.2503 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.3811e-03 - SC2 = 8.9493e-04 - SC3 = 0.070270 - W_density = 0.7333 - H_density = 0.5150 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.8861e-03 + SC2 = 1.2750e-03 + SC3 = 0.060794 + W_density = 0.7467 + H_density = 0.5650 iter = 17 - elapsed = 0.012962 - tTotal = 0.2549 - subIterW = 4 - subIterH = 3 - relError = 0.2354 + elapsed = 0.022630 + tTotal = 0.8991 + subIterW = 5 + subIterH = 0 + relError = 0.2500 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.3136e-03 - SC2 = 8.4594e-04 - SC3 = 0.068939 - W_density = 0.7300 - H_density = 0.5150 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.9023e-03 + SC2 = 1.2822e-03 + SC3 = 0.030896 + W_density = 0.7467 + H_density = 0.5600 iter = 18 - elapsed = 0.012103 - tTotal = 0.2670 + elapsed = 0.017249 + tTotal = 0.9163 subIterW = 0 - subIterH = 2 - relError = 0.2349 + subIterH = 0 + relError = 0.2497 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.2677e-03 - SC2 = 8.1892e-04 - SC3 = 0.067017 - W_density = 0.7333 - H_density = 0.5150 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.8883e-03 + SC2 = 1.2765e-03 + SC3 = 0.057385 + W_density = 0.7467 + H_density = 0.5700 iter = 19 - elapsed = 9.4500e-03 - tTotal = 0.2765 - subIterW = 0 - subIterH = 0 - relError = 0.2345 + elapsed = 0.024353 + tTotal = 0.9407 + subIterW = 2 + subIterH = 4 + relError = 0.2494 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.1859e-03 - SC2 = 7.6611e-04 - SC3 = 0.063753 - W_density = 0.7333 - H_density = 0.5000 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.8638e-03 + SC2 = 1.2599e-03 + SC3 = 0.054994 + W_density = 0.7467 + H_density = 0.5650 iter = 20 - elapsed = 0.012888 - tTotal = 0.2894 + elapsed = 0.024065 + tTotal = 0.9647 subIterW = 4 - subIterH = 3 - relError = 0.2341 + subIterH = 0 + relError = 0.2492 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.1051e-03 - SC2 = 7.1392e-04 - SC3 = 0.058527 - W_density = 0.7267 - H_density = 0.5150 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.6952e-03 + SC2 = 1.1460e-03 + SC3 = 0.051452 + W_density = 0.7467 + H_density = 0.5550 iter = 21 - elapsed = 0.013162 - tTotal = 0.3025 - subIterW = 4 + elapsed = 0.025391 + tTotal = 0.9901 + subIterW = 2 subIterH = 4 - relError = 0.2337 + relError = 0.2489 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.0659e-03 - SC2 = 6.8859e-04 - SC3 = 0.056068 - W_density = 0.7267 - H_density = 0.5200 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.5457e-03 + SC2 = 1.0480e-03 + SC3 = 0.048910 + W_density = 0.7500 + H_density = 0.5700 iter = 22 - elapsed = 0.012558 - tTotal = 0.3151 + elapsed = 0.026350 + tTotal = 1.0165 + subIterW = 3 + subIterH = 3 + relError = 0.2487 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.5348e-03 + SC2 = 1.0406e-03 + SC3 = 0.048568 + W_density = 0.7567 + H_density = 0.5600 + iter = 23 + elapsed = 0.027037 + tTotal = 1.0435 subIterW = 2 + subIterH = 2 + relError = 0.2485 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.5639e-03 + SC2 = 1.0666e-03 + SC3 = 0.047434 + W_density = 0.7600 + H_density = 0.5650 + iter = 24 + elapsed = 0.025373 + tTotal = 1.0689 + subIterW = 0 subIterH = 0 - relError = 0.2334 + relError = 0.2483 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 1.0227e-03 - SC2 = 6.6477e-04 - SC3 = 0.026602 - W_density = 0.7267 - H_density = 0.5250 - iter = 23 - elapsed = 0.010427 - tTotal = 0.3255 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.6513e-03 + SC2 = 1.1196e-03 + SC3 = 0.047702 + W_density = 0.7567 + H_density = 0.5600 + iter = 25 + elapsed = 0.026719 + tTotal = 1.0956 subIterW = 0 - subIterH = 3 - relError = 0.2331 + subIterH = 0 + relError = 0.2481 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 9.9067e-04 - SC2 = 6.4592e-04 - SC3 = 0.049074 - W_density = 0.7233 - H_density = 0.5400 - iter = 24 - elapsed = 0.013211 - tTotal = 0.3387 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.7239e-03 + SC2 = 1.1722e-03 + SC3 = 0.023134 + W_density = 0.7567 + H_density = 0.5550 + iter = 26 + elapsed = 0.022163 + tTotal = 1.1178 + subIterW = 0 + subIterH = 0 + relError = 0.2478 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.8094e-03 + SC2 = 1.2231e-03 + SC3 = 0.049131 + W_density = 0.7533 + H_density = 0.5550 + iter = 27 + elapsed = 0.030401 + tTotal = 1.1482 subIterW = 3 - subIterH = 3 - relError = 0.2328 + subIterH = 2 + relError = 0.2476 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.9188e-03 + SC2 = 1.3048e-03 + SC3 = 0.050870 + W_density = 0.7600 + H_density = 0.5600 + iter = 28 + elapsed = 0.028957 + tTotal = 1.1771 + subIterW = 0 + subIterH = 0 + relError = 0.2473 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 9.5516e-04 - SC2 = 6.2659e-04 - SC3 = 0.046222 - W_density = 0.7267 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.6291e-03 + SC2 = 1.0915e-03 + SC3 = 0.055572 + W_density = 0.7500 H_density = 0.5500 - iter = 25 - elapsed = 0.012718 - tTotal = 0.3514 + iter = 29 + elapsed = 0.033182 + tTotal = 1.2103 + subIterW = 3 + subIterH = 2 + relError = 0.2470 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.6021e-03 + SC2 = 1.0702e-03 + SC3 = 0.056423 + W_density = 0.7533 + H_density = 0.5400 + iter = 30 + elapsed = 0.034686 + tTotal = 1.2450 + subIterW = 3 + subIterH = 2 + relError = 0.2468 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.6206e-03 + SC2 = 1.0890e-03 + SC3 = 0.056002 + W_density = 0.7567 + H_density = 0.5400 + iter = 31 + elapsed = 0.027131 + tTotal = 1.2721 subIterW = 0 + subIterH = 0 + relError = 0.2465 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.4123e-03 + SC2 = 9.4907e-04 + SC3 = 0.055012 + W_density = 0.7567 + H_density = 0.5350 + iter = 32 + elapsed = 0.037294 + tTotal = 1.3094 + subIterW = 2 + subIterH = 0 + relError = 0.2463 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.4238e-03 + SC2 = 9.4825e-04 + SC3 = 0.055839 + W_density = 0.7533 + H_density = 0.5350 + iter = 33 + elapsed = 0.042402 + tTotal = 1.3518 + subIterW = 3 subIterH = 4 - relError = 0.2325 + relError = 0.2461 toshow = scalar structure containing the fields: - initGrNormW = 323.79 - initGrNormH = 420.28 - initNorm = 14.269 - SC1 = 9.2064e-04 - SC2 = 6.0394e-04 - SC3 = 0.044500 - W_density = 0.7267 - H_density = 0.5450 - iter = 26 - elapsed = 0.012446 - tTotal = 0.3639 + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.4060e-03 + SC2 = 9.3080e-04 + SC3 = 0.055265 + W_density = 0.7500 + H_density = 0.5300 + iter = 34 + elapsed = 0.037445 + tTotal = 1.3893 + subIterW = 0 + subIterH = 0 + relError = 0.2459 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.3160e-03 + SC2 = 8.6859e-04 + SC3 = 0.053983 + W_density = 0.7533 + H_density = 0.5200 + iter = 35 + elapsed = 0.041747 + tTotal = 1.4310 + subIterW = 0 + subIterH = 2 + relError = 0.2456 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.2164e-03 + SC2 = 8.0526e-04 + SC3 = 0.024960 + W_density = 0.7533 + H_density = 0.5200 + iter = 36 + elapsed = 0.028053 + tTotal = 1.4591 + subIterW = 0 + subIterH = 0 + relError = 0.2454 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.1373e-03 + SC2 = 7.5519e-04 + SC3 = 0.022259 + W_density = 0.7533 + H_density = 0.5250 + iter = 37 + elapsed = 0.038938 + tTotal = 1.4980 + subIterW = 0 + subIterH = 0 + relError = 0.2452 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.0721e-03 + SC2 = 7.1187e-04 + SC3 = 0.044939 + W_density = 0.7567 + H_density = 0.5250 + iter = 38 + elapsed = 0.055902 + tTotal = 1.5539 + subIterW = 0 + subIterH = 2 + relError = 0.2451 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 1.0249e-03 + SC2 = 6.9286e-04 + SC3 = 0.042427 + W_density = 0.7600 + H_density = 0.5350 + iter = 39 + elapsed = 0.068689 + tTotal = 1.6226 + subIterW = 0 + subIterH = 2 + relError = 0.2449 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 9.8133e-04 + SC2 = 6.5749e-04 + SC3 = 0.042228 + W_density = 0.7533 + H_density = 0.5350 + iter = 40 + elapsed = 0.096406 + tTotal = 1.7190 subIterW = 2 + subIterH = 4 + relError = 0.2447 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 9.6906e-04 + SC2 = 6.4734e-04 + SC3 = 0.042113 + W_density = 0.7500 + H_density = 0.5350 + iter = 41 + elapsed = 0.1138 + tTotal = 1.8328 + subIterW = 3 + subIterH = 2 + relError = 0.2446 + +toshow = + + scalar structure containing the fields: + + initGrNormW = 347.88 + initGrNormH = 411.45 + initNorm = 14.005 + SC1 = 9.7279e-04 + SC2 = 6.4982e-04 + SC3 = 0.041388 + W_density = 0.7467 + H_density = 0.5350 + iter = 42 + elapsed = 0.085809 + tTotal = 1.9186 + subIterW = 0 subIterH = 0 - relError = 0.2322 + relError = 0.2444 Stop: tolerance reached. final = scalar structure containing the fields: - iterations = 26 - elapsed_total = 0.3639 - relative_error = 0.2322 - W_density = 0.7267 - H_density = 0.5450 + iterations = 42 + elapsed_total = 1.9186 + relative_error = 0.2444 + W_density = 0.7467 + H_density = 0.5350 ***** demo m = 300; @@ -5073,6 +5371,47 @@ recovery_error_W = norm(W_org-W)/norm(W_org) recovery_error_H = norm(H_org-H)/norm(H_org) 6 tests, 6 passed, 0 known failure, 0 skipped +[inst/smwsolve.m] +>>>>> /build/octave-linear-algebra-2.2.3/inst/smwsolve.m +***** test + A = 2.1*eye (10); + u = rand (10, 2); u /= diag (norm (u, "cols")); + v = rand (10, 2); v /= diag (norm (v, "cols")); + b = rand (10, 2); + x1 = (A + u*v') \ b; + x2 = smwsolve (A, u, v, b); + assert (x1, x2, 1e-13); +1 test, 1 passed, 0 known failure, 0 skipped +[inst/@blksparse/ctranspose.m] +>>>>> /build/octave-linear-algebra-2.2.3/inst/@blksparse/ctranspose.m +***** test + r = blksparse ([1,2],[1,2],cat(3,eye(2),[1 2; -2 1])); + rt = r'; + assert (full(rt'),full(r)); +1 test, 1 passed, 0 known failure, 0 skipped +[inst/circulant_inv.m] +>>>>> /build/octave-linear-algebra-2.2.3/inst/circulant_inv.m +***** shared v + v = [1 2 3]'; +***** assert (gallery ("circul", circulant_inv (v)), inv (gallery ("circul", v)), 10*eps); +1 test, 1 passed, 0 known failure, 0 skipped +[inst/funm.m] +>>>>> /build/octave-linear-algebra-2.2.3/inst/funm.m +***** function b = fsin (a) + b = sin (a); +***** endfunction +***** test + mtx = randn (100); + assert (funm (mtx, "fsin"), thfm (mtx, "sin"), 1e-9) +1 test, 1 passed, 0 known failure, 0 skipped +[inst/circulant_eig.m] +>>>>> /build/octave-linear-algebra-2.2.3/inst/circulant_eig.m +***** shared v,C,vs,lambda + v = [1 2 3]'; + C = gallery("circul", v)'; + [vs lambda] = circulant_eig(v); +***** assert (vs*lambda, C*vs, 100*eps); +1 test, 1 passed, 0 known failure, 0 skipped Checking C++ files ... Summary: 18 tests, 18 passed, 0 known failures, 0 skipped dh_installdocs -O--buildsystem=octave @@ -5102,12 +5441,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2506/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2506/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/11746 and its subdirectories -I: Current time: Tue Aug 17 12:38:39 -12 2021 -I: pbuilder-time-stamp: 1629247119 +I: removing directory /srv/workspace/pbuilder/2506 and its subdirectories +I: Current time: Wed Aug 18 14:44:55 +14 2021 +I: pbuilder-time-stamp: 1629247495