From c8751a41f54e02d2159b46b0f116d32074e1fdbf Mon Sep 17 00:00:00 2001 From: Shing Chan Date: Mon, 24 Jul 2023 14:56:12 +0100 Subject: [PATCH] update models after sklearn Re-pickled models after recent sklearn update to 1.0.2 to omit warning. --- src/accelerometer/models.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/accelerometer/models.py b/src/accelerometer/models.py index 5278bdf4..7d20a790 100644 --- a/src/accelerometer/models.py +++ b/src/accelerometer/models.py @@ -7,29 +7,28 @@ MODELS = { 'willetts': { - "pth": MODEL_DIR / "willetts" / "20220210.tar", - "url": f"{MODEL_ROOT_URL}/willetts/20220210.tar", + "pth": MODEL_DIR / "willetts" / "20220210_sk_1_0_2.tar", + "url": f"{MODEL_ROOT_URL}/willetts/20220210_sk_1_0_2.tar", }, 'doherty': { - "pth": MODEL_DIR / "doherty" / "20220210.tar", - "url": f"{MODEL_ROOT_URL}/doherty/20220210.tar", + "pth": MODEL_DIR / "doherty" / "20220210_sk_1_0_2.tar", + "url": f"{MODEL_ROOT_URL}/doherty/20220210_sk_1_0_2.tar", }, 'walmsley': { - "pth": MODEL_DIR / "walmsley" / "20220210.tar", - "url": f"{MODEL_ROOT_URL}/walmsley/20220210.tar", + "pth": MODEL_DIR / "walmsley" / "20220210_sk_1_0_2.tar", + "url": f"{MODEL_ROOT_URL}/walmsley/20220210_sk_1_0_2.tar", }, 'chan': { - "pth": MODEL_DIR / "chan" / "20230103.tar", - "url": f"{MODEL_ROOT_URL}/chan/20230103.tar", - + "pth": MODEL_DIR / "chan" / "20230103_sk_1_0_2.tar", + "url": f"{MODEL_ROOT_URL}/chan/20230103_sk_1_0_2.tar", }, 'chanw': { - "pth": MODEL_DIR / "chanw" / "20230106.tar", - "url": f"{MODEL_ROOT_URL}/chanw/20230106.tar" + "pth": MODEL_DIR / "chanw" / "20230106_sk_1_0_2.tar", + "url": f"{MODEL_ROOT_URL}/chanw/20230106_sk_1_0_2.tar" }, }