Skip to content

Commit 5be4848

Browse files
tohtskytohtsky
andauthored
Drop Python3.6 support & Fix test (#90)
* Fix wheel & test * Restore wheels.yml Co-authored-by: tohtsky <you@example.com>
1 parent a236617 commit 5be4848

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ jobs:
6161
- os: ubuntu-20.04
6262
name: manylinux1
6363
cibw:
64-
# include python 3.6 because I want to run it on sagemaker notebook instance.
65-
build: "cp36* cp37*"
64+
build: "cp37*"
6665
skip: "*musllinux*"
6766
manylinux_image: manylinux2010
6867
env: CFLAGS='-march=core-avx-i'

tests/recommenders/test_ials.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ def test_ials_overfit_cg(test_interaction_data: Dict[str, sps.csr_matrix]) -> No
7272
X = test_interaction_data["X_small"]
7373
rec = IALSRecommender(
7474
X,
75-
n_components=4,
75+
n_components=3,
7676
alpha0=100,
7777
loss_type="ORIGINAL",
78-
reg=1e-4,
78+
reg=1e-1,
7979
solver_type="CG",
80-
max_cg_steps=4,
80+
max_cg_steps=3,
8181
max_epoch=100,
8282
nu=0,
8383
)

0 commit comments

Comments
 (0)