Principal Component Analysis

(no tags)

    Algorithmia Platform License

    Run an Example

    {
      "eigenvalues": [
        1.2840277121727839,
        0.04908339893832736
      ],
      "mean": [
        1.81,
        1.9100000000000001
      ],
      "eigenvectors": [
        [
          -0.6778733985280118,
          -0.7351786555444081
        ],
        [
          -0.7351786555444081,
          0.6778733985280118
        ]
      ],
      "transformed": [
        [
          -0.8279701862010879,
          -0.17511530704691597
        ],
        [
          1.7775803252804292,
          0.14285722654428024
        ],
        [
          -0.9921974944148886,
          0.3843749888804122
        ],
        [
          -0.2742104159753993,
          0.1304172065741268
        ],
        [
          -1.6758014186445398,
          -0.20949846125675375
        ],
        [
          -0.912949103158808,
          0.1752824436203696
        ],
        [
          0.09910943749844436,
          -0.3498246980971212
        ],
        [
          1.1445721637986601,
          0.04641725818328102
        ],
        [
          0.43804613676245024,
          0.017764629675082855
        ],
        [
          1.2238205550547407,
          -0.16267528707676238
        ]
      ]
    }

    Install & Use

    Use
    
    curl -X POST -d '[ [2.5, 2.4], [0.5, 0.7], [2.2, 2.9], [1.9, 2.2], [3.1, 3.0], [2.3, 2.7], [2, 1.6], [1, 1.1], [1.5, 1.6], [1.1, 0.9] ]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/basten/PrincipalComponentAnalysis/0.1.0