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), y numeric targets. Pass categoricalIndices to flag categorical columns (indices).
  • Output: CatBoostLikeRegressor with fit and predict.

Time Complexity: O(n * m * n_estimators) Space Complexity: O(n_estimators)