We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Although Gaussian kernel (RBF Kernel) is positive definite, I think Gaussian Process from time to time confronts Cholesky decomposition was not successful. The input might not be valid. after (1) covariance_matrix = self.covariance_fn(inputs, inputs) with self.covariance_fn=ExponentiatedQuadratic; (2) covariance_matrix = tf.linalg.set_diag(covariance_matrix,tf.linalg.diag_part(covariance_matrix) + tf.keras.backend.epsilon())
Cholesky decomposition was not successful. The input might not be valid.
covariance_matrix = self.covariance_fn(inputs, inputs)
self.covariance_fn=ExponentiatedQuadratic
covariance_matrix = tf.linalg.set_diag(covariance_matrix,tf.linalg.diag_part(covariance_matrix) + tf.keras.backend.epsilon())
Meanwhile, covariance_matrix = tf.linalg.set_diag(covariance_matrix,tf.linalg.diag_part(covariance_matrix) + 100* tf.keras.backend.epsilon()) might help but cannot solve the problem in a scientific way,only reduce the frequency of the error:
covariance_matrix = tf.linalg.set_diag(covariance_matrix,tf.linalg.diag_part(covariance_matrix) + 100* tf.keras.backend.epsilon())
The text was updated successfully, but these errors were encountered:
OK, I see that "Cholesky decompositions are a common failure mode in GP optimizations" in github.com/tensorflow/probability/issues/650.
Sorry, something went wrong.
I also tried to adjust covariance_fn=ExponentiatedQuadratic(variance=1., lengthscale=1.) but does not quite help.
covariance_fn=ExponentiatedQuadratic(variance=1., lengthscale=1.)
No branches or pull requests
Although Gaussian kernel (RBF Kernel) is positive definite, I think Gaussian Process from time to time confronts
Cholesky decomposition was not successful. The input might not be valid.
after(1)
covariance_matrix = self.covariance_fn(inputs, inputs)
withself.covariance_fn=ExponentiatedQuadratic
;(2)
covariance_matrix = tf.linalg.set_diag(covariance_matrix,tf.linalg.diag_part(covariance_matrix) + tf.keras.backend.epsilon())
Meanwhile,
covariance_matrix = tf.linalg.set_diag(covariance_matrix,tf.linalg.diag_part(covariance_matrix) + 100* tf.keras.backend.epsilon())
might help but cannot solve the problem in a scientific way,only reduce the frequency of the error:Cholesky decomposition was not successful. The input might not be valid.
The text was updated successfully, but these errors were encountered: