MachineLearning/catboost_like library
🐱 CatBoost-like Regressor (simplified)
Educational CatBoost-style regressor with a simple implementation of ordered target statistics for categorical features and stump-based trees. For real categorical handling, integrate with a robust encoding pipeline.
Contract:
- Input:
X(n x m),ynumeric targets. PasscategoricalIndicesto flag categorical columns (indices). - Output:
CatBoostLikeRegressorwithfitandpredict.
Time Complexity: O(n * m * n_estimators) Space Complexity: O(n_estimators)