MachineLearning/gradient_boosting_classifier library
🧠Gradient Boosting Classifier (simple logistic variant)
A concise gradient boosting classifier using decision stumps as weak learners and a logistic-like squared approximation; this implementation focuses on clarity and API parity with the regressor.
Contract:
- Input:
X(n x m), labelsyin {0,1}. - Output:
GradientBoostingClassifierinstance withfitandpredict.
Time Complexity: O(n * m * n_estimators) Space Complexity: O(n_estimators)