Skip to content

Commit

Permalink
Merge branch 'staging' into simonz/build-failure-on-spark3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
simonzhaoms authored Jan 18, 2022
2 parents 0d23856 + 1932d2a commit 6edbdd2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions recommenders/datasets/pandas_df_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
6 changes: 3 additions & 3 deletions tests/ci/azure_pipeline_test/release_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

Expand Down Expand Up @@ -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"

Expand Down

0 comments on commit 6edbdd2

Please sign in to comment.