codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Covariance matrix syntax


Could you let me know what is the back end calculation of this covariance
matrix syntax np.cov

On Tue, Oct 13, 2020, 10:14 Bruno P. Kinoshita <brunodepaulak at yahoo.com.br>
wrote:

> I think the np.cov is from the numpy module (imported/aliased as np?).
>
> If so, the numpy repository should have what you are looking for:
>
>
>
> https://github.com/numpy/numpy/blob/156cd054e007b05d4ac4829e10a369d19dd2b0b1/numpy/lib/function_base.py#L2276
>
>
> Hope that helps
>
> Bruno
>
> On Tuesday, 13 October 2020, 5:38:55 pm NZDT, Meghna Karkera <
> mkarkera98 at gmail.com> wrote:
>
>
> May I know the steps or procedure behind covariance matrix syntax,
> np.cov(covar_matrix) in python
> --
> https://mail.python.org/mailman/listinfo/python-list
>