On 2020-10-11 01:40:42 -, Grant Edwards wrote:
> On 2020-10-10, Peter J. Holzer wrote:
> > On 2020-10-07 07:53:55 +0200, Marco Sulla wrote:
> >> If you want to avoid float problems, you can use Decimal:
> >
> > Decimal doesn't avoid floating point problems, because it is a floating
> > point f
On 2020-10-10 13:31:34 -0400, Dennis Lee Bieber wrote:
> On Sat, 10 Oct 2020 17:58:34 +0200, "Peter J. Holzer"
> declaimed the following:
>
> >On 2020-10-07 07:53:55 +0200, Marco Sulla wrote:
> >> If you want to avoid float problems, you can use Decimal:
> >
> >Decimal doesn't avoid floating poin
May I request you to let me know the steps python follows in order to
compute covariance matrix using the inbuilt
syntax.
np.cov(cov_mat) .
>>cov_mat = np.stack((x, y), axis = 0)
>>np.cov(cov_mat)
On Sun, Oct 11, 2020 at 9:14 AM Grant Edwards
wrote:
> On 2020-10-10, Peter J. Holzer wrote:
> >
On 10/11/2020 8:17 AM, Meghna Karkera wrote:
May I request you to let me know the steps python follows in order to
compute covariance matrix using the inbuilt
syntax.
> np.cov(cov_mat)
1. When starting a new topic, start a new thread with a new topic.
2. Questions about the internals of a 3r
May I request you to let me know the steps python follows in order to
compute covariance matrix using the inbuilt
syntax.
np.cov(cov_mat) .
>>cov_mat = np.stack((x, y), axis = 0)
>>np.cov(cov_mat)
On Sun, Oct 11, 2020 at 9:14 AM Grant Edwards
wrote:
> On 2020-10-10, Peter J. Holzer wrote:
> >
On 2020-10-10, Peter J. Holzer wrote:
> On 2020-10-07 07:53:55 +0200, Marco Sulla wrote:
>> If you want to avoid float problems, you can use Decimal:
>
> Decimal doesn't avoid floating point problems, because it is a floating
> point format. For example:
> [...]
> >>> from decimal import
Thanks, the problem was I solved a covariance matrix manually, but my
fellow mate using the covariance syntax. That's why there was difference in
Matlab and python results. But now when I use the covariance syntax in
python, matlab and python gives the same results.
On Sat, Oct 10, 2020, 21:37 Pet
On 2020-10-07 07:53:55 +0200, Marco Sulla wrote:
> If you want to avoid float problems, you can use Decimal:
Decimal doesn't avoid floating point problems, because it is a floating
point format. For example:
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help
On Wed, 7 Oct 2020 13:29:26 +0530, Meghna Karkera wrote:
> On Wed, Oct 7, 2020, 11:24 Marco Sulla wrote:
>> On Wed, 7 Oct 2020 at 05:23, Meghna Karkera wrote:
>> >
>> > How is PYTHON better than other software's(MATLAB) in case of
>> > truncation or rounding off error.
>
>> [snip]
>
> When I use
When I use the same code in MATLAB I get the answer as 4.6e-06 and when I
use the same code in PYTHON I get the answer as 4.7e-06. How do I know
which is the most precise and accurate value. Actually the answer is a big
matrix, I've only compared the first entry of the matrix.
On Wed, Oct 7, 2020,
If you want to avoid float problems, you can use Decimal:
https://docs.python.org/3/library/decimal.html
On Wed, 7 Oct 2020 at 05:23, Meghna Karkera wrote:
>
> How is PYTHON better than other software's(MATLAB) in case of truncation or
> rounding off error.
>
> Thanks
> Meghna
> --
> https://mai
How is PYTHON better than other software's(MATLAB) in case of truncation or
rounding off error.
Thanks
Meghna
--
https://mail.python.org/mailman/listinfo/python-list
12 matches
Mail list logo