Generalized Low-Rank Model (GLRM)
A generalized low-rank model approximates a data table by the product of a row-factor matrix and a column-factor matrix, using a loss function suited to each column's type and a penalty on the factors. Missing cells are simply left out of the fit and can then be predicted from the factors.
일반화 저계수 모형은 자료표를 행 요인 행렬과 열 요인 행렬의 곱으로 근사하되, 열마다 자료형에 맞는 손실함수를 쓰고 요인에 벌점을 줍니다. 결측 칸은 적합에서 제외되며 적합된 요인으로 예측할 수 있습니다.
How can I reduce a table that mixes numeric and yes/no columns and has gaps to a few factors, and fill in the gaps?
숫자형과 예/아니오 열이 섞여 있고 빈칸도 있는 표를 몇 개의 요인으로 줄이고 빈칸을 채우려면 어떻게 하나요?
Numeric columns are standardized and fitted with squared (or robust Huber) loss, binary columns with logistic loss, each column has its own offset, and the row and column factors are estimated by alternating minimisation with quadratic regularization. The fit on observed cells, the loadings and the number of imputed cells are reported.
When to use Generalized Low-Rank Model (GLRM)
- Your table mixes continuous and binary variables.
- Some cells are missing and you want factors and imputations from the same model.
- Outliers in numeric columns call for a robust loss.
When to use something else
- All columns are numeric and complete: use Principal Component Analysis (PCA)
- Your main aim is imputation of a numeric matrix: use Low-Rank Matrix Completion Imputation (SoftImpute, Regularised Iterative PCA)
- Variables are mixed numeric and categorical with many levels: use Factor Analysis of Mixed Data (FAMD)
Assumptions and requirements
- Missing cells are missing at random
- A low-rank structure describes the table
- Binary columns are coded 0/1
What the analysis reports
- Loss type and loadings for each column
- Fit on observed cells (R2 or accuracy)
- Objective value and regularization
- Number of imputed cells
How to report it
A rank-[value] generalized low-rank model with regularization [value] gave a mean R2 of [value] on observed numeric cells and an accuracy of [value] on binary cells, imputing [value] missing cells.
Related methods
- Principal Component Analysis (PCA)
- Exponential-Family PCA (Logistic and Poisson PCA)
- Low-Rank Matrix Completion Imputation (SoftImpute, Regularised Iterative PCA)
- Factor Analysis of Mixed Data (FAMD)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-5.
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-5).
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 Generalized Low-Rank Model (GLRM) 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.