FANode training does not work with a large matrix with big values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When a large matrix with big values is used, FANode training fails.
~$ python2.5
Python 2.5.4 (r254:67916, Apr 4 2009, 17:55:16)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mdp
>>> import numpy
>>> fa = mdp.nodes.FANode()
>>> fa.train(
>>> fa.stop_training()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/
self.
File "/var/lib/
log_det_B = numx.log(
File "/usr/local/
a1 = asarray_
File "/usr/lib/
raise ValueError, "array must not contain infs or NaNs"
ValueError: array must not contain infs or NaNs
>>> mdp.__version__
'2.5'
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: python-mdp 2.4+svn20081126-1
PackageArchitec
ProcEnviron:
LANGUAGE=
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mdp
Uname: Linux 2.6.28-11-generic i686