Skip to content

Commit d9fe600

Browse files
committed
bumpy github-actions versions
1 parent 0957fcb commit d9fe600

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.7, 3.8, 3.9, 3.10.2]
14+
python-version: [3.7.15, 3.10.8]
1515

1616
steps:
1717
- uses: actions/checkout@v2

tests/grl_test.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,13 @@ def test_integration_stability(self):
3131
def test_breast_cancer():
3232
np.random.seed(13)
3333
X, Y = sklearn.datasets.load_breast_cancer(as_frame=True, return_X_y=True)
34-
3534
model = GreedyRuleListClassifier(max_depth=10)
36-
3735
X_train, X_test, y_train, y_test = train_test_split(X, Y, test_size = 0.3)
3836
model.fit(X_train, y_train, feature_names=X_train.columns)
3937
y_pred = model.predict(X_test)
40-
score = accuracy_score(y_test.values,y_pred)
41-
print('Accuracy:', score)
42-
model._print_list()
38+
# score = accuracy_score(y_test.values,y_pred)
39+
# print('Accuracy:', score)
40+
# model._print_list()
4341

4442
if __name__ == '__main__':
4543
test_breast_cancer()

0 commit comments

Comments
 (0)