diff --git a/AUTHORS.md b/AUTHORS.md index 18b792d5a0..0c480792e2 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -90,6 +90,8 @@ To contributors: please add your name to the list when you submit a patch to the * Improving documentation * Quick start notebook * Operationalization notebook +* **[Nile Wilson](https://github.com/niwilso)** + * Term Frequency - Inverse Document Frequency (TF-IDF) quickstart, utils * **[Pratik Jawanpuria](https://github.com/pratikjawanpuria)** * RLRMC algorithm * GeoIMC algorithm diff --git a/recommenders/datasets/pandas_df_utils.py b/recommenders/datasets/pandas_df_utils.py index f6673f6729..5fbf9a3afb 100644 --- a/recommenders/datasets/pandas_df_utils.py +++ b/recommenders/datasets/pandas_df_utils.py @@ -129,15 +129,15 @@ class LibffmConverter: 'field3': [1.0, 2.0, 3.0, 4.0, 5.0], 'field4': ['1', '2', '3', '4', '5'] }) - >>> converter = LibffmConveter().fit(df_feature, col_rating='rating') + >>> converter = LibffmConverter().fit(df_feature, col_rating='rating') >>> df_out = converter.transform(df_feature) >>> df_out rating field1 field2 field3 field4 - 0 1 1:1:1 2:4:3 3:5:1.0 4:4:1 - 1 0 1:2:1 2:4:4 3:5:2.0 4:5:1 - 2 0 1:3:1 2:4:5 3:5:3.0 4:6:1 - 3 1 1:3:1 2:4:6 3:5:4.0 4:7:1 - 4 1 1:3:1 2:4:7 3:5:5.0 4:8:1 + 0 1 1:1:1 2:4:3 3:5:1.0 4:6:1 + 1 0 1:2:1 2:4:4 3:5:2.0 4:7:1 + 2 0 1:3:1 2:4:5 3:5:3.0 4:8:1 + 3 1 1:3:1 2:4:6 3:5:4.0 4:9:1 + 4 1 1:3:1 2:4:7 3:5:5.0 4:10:1 """ def __init__(self, filepath=None): diff --git a/tests/ci/azure_pipeline_test/release_pipeline.yml b/tests/ci/azure_pipeline_test/release_pipeline.yml index 065906aaaf..a37d9a549c 100644 --- a/tests/ci/azure_pipeline_test/release_pipeline.yml +++ b/tests/ci/azure_pipeline_test/release_pipeline.yml @@ -23,7 +23,7 @@ jobs: task_name: "Test - Unit Linux CPU" conda_env: "release_unit_linux_cpu" conda_opts: "python=3.6" - pip_opts: "[experimental,dev] --no-cache --no-binary scikit-surprise" + pip_opts: "[experimental,dev] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise" pytest_markers: "not notebooks and not spark and not gpu" install: "release" package: "publish" @@ -35,7 +35,7 @@ jobs: task_name: "Test - Unit Notebook Linux CPU" conda_env: "release_unit_notebook_linux_cpu" conda_opts: "python=3.6" - pip_opts: "[experimental,examples,dev] --no-cache --no-binary scikit-surprise" + pip_opts: "[experimental,examples,dev] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise" pytest_markers: "notebooks and not spark and not gpu" install: "release" @@ -93,7 +93,7 @@ jobs: timeout: 180 conda_env: "release_nightly_linux_cpu" conda_opts: "python=3.6" - pip_opts: "[experimental,examples,dev] --no-cache --no-binary scikit-surprise" + pip_opts: "[experimental,examples,dev] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise" pytest_markers: "not spark and not gpu" install: "release"