GapEncoder represents noisy, high-cardinality string categories through frequently co-occurring substring combinations. It offers a compact alternative when one-hot encoding would create too many columns. section 8.4
Employee salary prediction
In employee salary data, employee_position_title contains 385 categories. GapEncoder(n_components=100) can transform this high-cardinality feature before an XGBoost regressor predicts salary; the reported R² is 0.8895. section 8.4
