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 EigenChoosertotal - the total number of eigen vectorspublic Eigenvalues prepare(SparseMatrix laplacian)
EigenChooserprepare in class EigenChooserlaplacian - the matrix to be decomposed