xdata-skylark / libskylark

Sketching-based Distributed Matrix Computations for Machine Learning
Other
98 stars 20 forks source link

Test python kernels #34

Open positiveblue opened 8 years ago

positiveblue commented 8 years ago

There are some tests for the kernel python bindings. However, they only check the gram function and they don't check the RFT functions. I don't know how to check that they are working, any idea?

haimav commented 8 years ago

One way to check this is to take a small dataset (can be synthetic), apply the RFT to generate a matrix Z and then test that K is approximately equal to Z * Z'. Here approximately can perhaps be tested using Frobenius norm.

Sandy4321 commented 6 years ago

can I use it for pure python project on Windows computer?, meaning without compiling C code

haimav commented 6 years ago

There is very little functionality without the C code.

On Thu, Aug 23, 2018 at 10:14 PM Sandy4321 notifications@github.com wrote:

can I use it for pure python project on Windows computer?, meaning without compiling C code

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/xdata-skylark/libskylark/issues/34#issuecomment-415536460, or mute the thread https://github.com/notifications/unsubscribe-auth/AG_O2kzv6Z7Gkj51uN-vd57mOa1389_pks5uTv8AgaJpZM4JzMMQ .