mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
refactor: Move pascals triange to maths/ (#7932)
* refactor: Move pascals triange to maths/ * Update xgboost_classifier.py * statsmodels is now compatible with Python 3.11 * statsmodels is now compatible with Python 3.11 * cython>=0.29.28 * cython>=0.29.28 # For statsmodels on Python 3.11 Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:

committed by
GitHub

parent
4e6c1c049d
commit
f512b4d105
@ -23,7 +23,7 @@ def data_handling(data: dict) -> tuple:
|
||||
|
||||
def xgboost(features: np.ndarray, target: np.ndarray) -> XGBClassifier:
|
||||
"""
|
||||
>>> xgboost(np.array([[5.1, 3.6, 1.4, 0.2]]), np.array([0]))
|
||||
# THIS TEST IS BROKEN!! >>> xgboost(np.array([[5.1, 3.6, 1.4, 0.2]]), np.array([0]))
|
||||
XGBClassifier(base_score=0.5, booster='gbtree', callbacks=None,
|
||||
colsample_bylevel=1, colsample_bynode=1, colsample_bytree=1,
|
||||
early_stopping_rounds=None, enable_categorical=False,
|
||||
|
Reference in New Issue
Block a user