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
Here is the code snippet that plots the error on the model prediction. Is the use of YY_var[:, 0] correct?
YY_var[:, 0]
plt.fill_between(XX[:,0], YY_mu[:, 0] - 2 * np.sqrt(YY_var[:, 0]), YY_mu[:, 0] + 2 * np.sqrt(YY_var[:, 0]), alpha=0.1, facecolor=col)
If not, YY_var[:, 0],needs to be replaced with the elements of the diagonal of the matrix. Is that correct?
Maybe numpy.diagonal(YY_var)?
numpy.diagonal(YY_var)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here is the code snippet that plots the error on the model prediction. Is the use of
YY_var[:, 0]
correct?If not,
YY_var[:, 0]
,needs to be replaced with the elements of the diagonal of the matrix. Is that correct?Maybe
numpy.diagonal(YY_var)
?The text was updated successfully, but these errors were encountered: