Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
# See: #6591 for re-enabling tests on Python v3.11
run: pytest
--ignore=computer_vision/cnn_classification.py
--ignore=machine_learning/forecasting/run.py
--ignore=machine_learning/lstm/lstm_prediction.py
--ignore=quantum/
--ignore=project_euler/
Expand Down
2 changes: 1 addition & 1 deletion machine_learning/xgboost_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
beautifulsoup4
cython>=0.29.28 # For statsmodels on Python 3.11
fake_useragent
keras
lxml
Expand All @@ -13,7 +14,7 @@ requests
rich
scikit-fuzzy
sklearn
statsmodels; python_version < "3.11"
statsmodels
sympy
tensorflow; python_version < "3.11"
texttable
Expand Down