there seems to be some limit between the n_components and n_features. If I try and create a model with
n_components=1
n_features=99
it will fail with _LinAlgError: linalg.cholesky: The factorization could not be completed because the input is not positive-definite (the leading minor of order 22 is not positive-definite).
reducing n_features=98 will work but then if I raise n_components=2 the error returns.
I am trying to work with many more features and components. Potentially 1000+ features and an unknown number of components, but it is likely to be high. Is there any workaround for this?
there seems to be some limit between the n_components and n_features. If I try and create a model with
it will fail with
_LinAlgError: linalg.cholesky: The factorization could not be completed because the input is not positive-definite (the leading minor of order 22 is not positive-definite).reducing
n_features=98will work but then if I raisen_components=2the error returns.I am trying to work with many more features and components. Potentially 1000+ features and an unknown number of components, but it is likely to be high. Is there any workaround for this?