Closed junphine closed 7 years ago
Can you clarify what you are asking? This doesn't look related to the SVD code.
The SVD implementation in JSAT isn't designed for sparse matrices. A sparse friendly SVD is on my TODO list.
I modify the code, because memory overflow error occurred in the original version on PCA。 So I actually want to know PCA.fit(DataSet dataSet) performance.
_
find the code GapStatistic related to SVD, But I haven't used it.
I don't understand this code suggestion and am closing it.
I'll make getDataMatrix return a sparse matrix, because that does make sense. But Neither the GapStatistic or SVD will be helped by this change.
class DataSet:
/**
@return a matrix of the data points. */