chore: clarify what the print statements print
This commit is contained in:
parent
a012342c1d
commit
641eec0846
@ -53,9 +53,9 @@ def main(argv):
|
|||||||
# correlation coefficient
|
# correlation coefficient
|
||||||
correl_c = f.correl_coeff(cov, std_dev_u, std_dev_y)
|
correl_c = f.correl_coeff(cov, std_dev_u, std_dev_y)
|
||||||
|
|
||||||
print("data covariance:\n", d.cov())
|
print("covariance matrix (built-in):\n", d.cov())
|
||||||
|
# print the covariance matrix.
|
||||||
# print the matrix.
|
print("covariance matrix (own):\n")
|
||||||
print(np.array([[variance_u, cov], [cov, variance_y]]))
|
print(np.array([[variance_u, cov], [cov, variance_y]]))
|
||||||
|
|
||||||
f.plot_autocorellation(dat=d['u'], fname='u_autocorellation')
|
f.plot_autocorellation(dat=d['u'], fname='u_autocorellation')
|
||||||
|
Loading…
Reference in New Issue
Block a user