** Changed in: libfann (Ubuntu Natty)
       Status: New => In Progress

** Changed in: libfann (Ubuntu Natty)
     Assignee: (unassigned) => Luke Yelavich (themuso)

** Description changed:

  SRU justification:
  
  The typo referred to in the below bug report causes the python fann API
  to be unusable for any python applications that wish to use the fann
  python bindings/library, causing the below error. Backporting the patch
  to the natty package will allow the python fann bindings to be usable.
  
  This is already fixed in the latest Debian package, and will be synced into 
oneiric 
  once it opens.
+ 
+ Regression potential:
+ 
+ Regression potential should be minimal to non-existant.
  
  Original report follows:
  
  When using the function libfann.training_data().set_train_data, the following 
error appears:
    File "fann.py", line 29, in __init__
      train.set_train_data(dataset, labels)
    File "/usr/lib/pymodules/python2.6/pyfann/libfann.py", line 301, in 
set_train_data
      def set_train_data(self, *args): return 
_libfann.training_data_set_train_data(self, *args)
  ValueError: Size mismatch. All items must be of the same size
  
  
  The error has a fix: http://leenissen.dk/fann/forum/viewtopic.php?f=1&t=626
  Its simply a typo in the wrapper (one character!).
  Can this be fixed and the new version pushed out?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/712290

Title:
  set_train_data ValueError: Size mismatch. All items must be of the
  same size

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to