Skip to content

PMPrincipalComponentAnalyser - sqrt undefined for number less than zero #112

Open
@nikhilpinnaparaju

Description

@nikhilpinnaparaju

Code to Reproduce Error

|a pca |
a := PMMatrix rows: #(#(-1 -1 1) #(-2 -1 2) #(-3 -2 3)).
pca := PMPrincipalComponentAnalyserSVD new componentsNumber: 2.
pca fit: a.
pca transformMatrix.

sqrt attempted on negative eigenvalues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions