lucasmaystre / svdlibc Goto Github PK
View Code? Open in Web Editor NEWA fork of Doug Rohde's SVD C Library.
Home Page: http://tedlab.mit.edu/~dr/SVDLIBC/
A fork of Doug Rohde's SVD C Library.
Home Page: http://tedlab.mit.edu/~dr/SVDLIBC/
The latest, as well as v1.34 calculates NaN values at a time when the input matrices have lesser than 1% density of non-zero values. I generated lots of matrices with size of bigger than 1000x1000 (for a start) and 0.05% density and nearly all of them brought this error. The problem first shows up in the svd_pythag method, where the computation goes into an infinite loop because of the NaN values.
Smaller matrices brought weird values instead of the infinite loop.
The algorithm to generate the test matrices is simple: using a random generator to ensure the given density value and generating a matrix with random [1-9] values where the random lets us.
I also state here that I used the dense matrix format, but even if I format it to sparse, things did not change (maybe because the algorithm already converts it to sparse when it starts?)
Tests were done one a Ubuntu machine with gcc and Intel Pentium Dual Core CPU, as well as on a Windows 7 machine with Visual Studio 2010 and a 6 core AMD Phenom CPU.
hi !
we ran the code over 3x3 identity matrix.
the results do not multiply back to identity..
do you maybe know why ?
tnx,
sarah
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.