Semi-Nonnegative Matrix Factorization (Semi-NMF)
Semi-nonnegative matrix factorization writes the data matrix as nonnegative row weights times unrestricted prototype profiles. Unlike ordinary NMF the data and the profiles may be negative, so it works on standardized variables, while the nonnegative weights still read as soft cluster memberships around the profiles.
준음이 아닌 행렬 분해는 자료 행렬을 음이 아닌 행 가중치와 부호 제한이 없는 원형 프로필의 곱으로 나타냅니다. 보통 NMF와 달리 자료와 프로필에 음수가 있어도 되므로 표준화한 변수에도 쓸 수 있으며, 음이 아닌 가중치는 원형 주위의 부드러운 군집 소속도로 해석됩니다.
Can I describe each observation as a nonnegative mix of a few prototype profiles when my variables take negative values?
변수에 음수 값이 있을 때 각 관측치를 몇 개 원형 프로필의 음이 아닌 혼합으로 나타낼 수 있는지 알고 싶습니다.
The data X are approximated by G F' with G nonnegative. Starting from a k-means partition, F is updated by least squares and G by Ding, Li and Jordan's multiplicative rule, which never increases the squared error. The fit, the prototype profiles, group sizes by largest membership and a check of the optimality conditions are reported.
When to use Semi-Nonnegative Matrix Factorization (Semi-NMF)
- You want parts-based or soft-cluster representations of data that include negative values.
- You want k-means-like prototypes but with graded memberships.
- Ordinary NMF is ruled out because the data were centered or standardized.
When to use something else
- All values are nonnegative counts or intensities: use Non Negative Matrix Factorization (NMF)
- You want hard clusters only: use K-Means Clustering
- You want orthogonal components that maximise variance: use Principal Component Analysis (PCA)
Assumptions and requirements
- Observations are mixtures of a few prototype profiles
- Squared error is a sensible loss on the chosen scale
- The solution is a local optimum that depends on the start
What the analysis reports
- Prototype profiles (F) for each component
- Explained variation and relative reconstruction error
- Group sizes by largest membership and mean membership sharpness
- Iterations and optimality residual
How to report it
Semi-NMF with [value] components explained [value]% of the variation of the standardized data; the largest-membership groups contained [value] rows.
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with NumPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1%.
독립 계산. NumPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1%).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Semi-Nonnegative Matrix Factorization (Semi-NMF) on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.