public class HardCodedEigenChooser extends EigenChooser
Constructor and Description |
---|
HardCodedEigenChooser(int eigK) |
Modifier and Type | Method and Description |
---|---|
int |
nEigenVectors(Iterator<DoubleObjectPair<Vector>> vals,
int total) |
Eigenvalues |
prepare(SparseMatrix laplacian)
Make a coarse decision of the number of eigen vectors to extract in the first place
with the knowledge of the eigen values that will likely be important
|
String |
toString() |
public HardCodedEigenChooser(int eigK)
eigK
- the number of eigen vectors to selectpublic int nEigenVectors(Iterator<DoubleObjectPair<Vector>> vals, int total)
nEigenVectors
in class EigenChooser
total
- the total number of eigen vectorspublic Eigenvalues prepare(SparseMatrix laplacian)
EigenChooser
prepare
in class EigenChooser
laplacian
- the matrix to be decomposed