Is it possible to perform PCA on a multimensional array?
Statement
Normally you have a matrix n x p and apply PCA to it. But in the article I'm reading, the author considers that the matrix has points in it. So instead of being n x p, it'd be, say, n x p x 2. He then goes on about finding eigenvectors associated with the points and whatnot.
So, is it possible to use PCA here? All the material I've seen considers it being used with a bidimensional array. I thought about flattening the points so that instead of a three-dimensional array I'd have one with the points' coordinates interleaved, but since the eigenvalues the author talks are associated with the points and not each coordinate, I don't think that'll work.
Another thing is, supposing you're using a color image, you'd have 3 coordinates for each color which results in another three-dimensional array. The tutorials I've seen with PCA for images have use black and white images, avoiding this problem.
Posed by ximixanga · linear-algebra, st.statistics, numerical-linear-algebra
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-54695.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-54695.lean
import Mathlib /-! # Is it possible to perform PCA on a multimensional array? Source: https://mathoverflow.net/questions/54695 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_54695 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_54695