EdwardRaff / JSAT

Java Statistical Analysis Tool, a Java library for Machine Learning
GNU General Public License v3.0
789 stars 205 forks source link

There is a doubt: this modification will improve performance globally? sure it is slow in SVD. #69

Closed junphine closed 7 years ago

junphine commented 7 years ago

class DataSet:

/**

EdwardRaff commented 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.

junphine commented 7 years ago

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.

_

junphine commented 7 years ago

This doesn't look related to the SVD code.

find the code GapStatistic related to SVD, But I haven't used it.

EdwardRaff commented 7 years ago

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.