predictormatrix
A predictor matrix, often referred to as a design matrix, is a data structure used in statistics and machine learning to organize predictor variables for a set of observations. It is usually denoted by X, with one row per observation and one column per predictor or feature. The matrix consolidates all available information needed to predict the outcome variable.
In common regression notation, the relationship between predictors and the response y is expressed as y =
The dimensionality of the predictor matrix is n by p, where n is the number of observations
Practical considerations include ensuring sufficient rank to avoid multicollinearity, handling missing data, and choosing appropriate feature