You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Zinoviev (Jira)" <ji...@apache.org> on 2020/10/06 08:25:00 UTC
[jira] [Updated] (IGNITE-13392) Incorrect Vector::kNorm evaluation
for odd powers
[ https://issues.apache.org/jira/browse/IGNITE-13392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Zinoviev updated IGNITE-13392:
-------------------------------------
Fix Version/s: 2.10
> Incorrect Vector::kNorm evaluation for odd powers
> -------------------------------------------------
>
> Key: IGNITE-13392
> URL: https://issues.apache.org/jira/browse/IGNITE-13392
> Project: Ignite
> Issue Type: Bug
> Components: ml
> Reporter: Mark Andreev
> Assignee: Mark Andreev
> Priority: Minor
> Fix For: 2.10
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Current implementation of `Vector::kNorm` is incorrect.
> Current formula is (`org.apache.ignite.ml.math.primitives.vector.AbstractVector:882`):
> {code:java}
> (\sum_{i}{x^p})^{1/p}
> {code}
> But correct formula is:
> {code:java}
> (\sum_{i}{|x|^p})^{1/p}
> {code}
> We can verify this using lectures ([https://www.math.usm.edu/lambers/mat610/sum10/lecture2.pdf)] or using Wolfram Mathematica:
> {code:java}
> > Norm[{x, y, z}, p]
> (Abs[x]^p+Abs[y]^p+Abs[z]^p)^(1/p){code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)