Bug in kernel_exponential?

25 views
Skip to first unread message

Michael Hecht

unread,
Jan 19, 2013, 10:33:35 AM1/19/13
to mlpy-g...@googlegroups.com
Hello,

I tried several algorithms of mlpy and all worked well (i.e. I'm able to work with it).

No I tried to modifiy the Kernel-PCA example of the documentation by adding a exponential kernel:

...
eK = mlpy.kernel_exponential(x, x) # exponential kernel matrix
...

Applying this I got the error:

D:\myProg\mlpy>kernelpca.py
Traceback (most recent call last):
  File "D:\myProg\mlpy\kernelpca.py", line 28, in <module>
    eK = mlpy.kernel_exponential(x, x) # exponential kernel matrix
  File "kernel.pyx", line 118, in mlpy.kernel.kernel_exponential (mlpy/kernel/kernel.
c:2569)
TypeError: 'dtxpe' is an invalid keyword argument for this function

With linear and sigmoid kernel all worked well. Since the error seems not to be in the python code I cannot fix it myself.

Any comments on this?

Thank You in advance!

Reply all
Reply to author
Forward
0 new messages