shogun-toolbox/shogun — pull request #820 by ptizoom (2012-11-11 21:17:34+00:00)
Title: Perl 121111

a transposition between SG array and PDL array is needed, so a simple sequential memory copy and a inversion of the dimension array are not possible.

after those changes I managed to get "some" successful test results with good convergence accuracy.
unfortunately _wrap_Distance_get_distance_matrix, _wrap_Kernel_get_kernel_matrix are crashing with
*** glibc detected *** /usr/bin/perl: free(): corrupted unsorted chunks: ***
another fix will come for this.

I also added SWIGPERL hooks to implement CLatentModel and CData.
might not be to your liking, but, I do not know better to instantiate LatentModels wrapper?

synopsis:

cd /usr/src/shogun
cd src
./configure --interfaces=perl_modular
make all run-testsuite