Skip to content

Commit

Permalink
Fix scikit-learn install in spaces (huggingface#345)
Browse files Browse the repository at this point in the history
fix: change pip install from sklearn to scikit-learn
  • Loading branch information
lvwerra authored Nov 8, 2022
1 parent 743c8c8 commit 6206bad
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion measurements/word_count/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate.git@{COMMIT_PLACEHOLDER}
sklearn~=0.0
scikit-learn~=0.0
2 changes: 1 addition & 1 deletion metrics/accuracy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/brier_score/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/f1/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/glue/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
scipy
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/indic_glue/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
scipy
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/mae/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/matthews_correlation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/mauve/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
faiss-cpu
sklearn
scikit-learn
mauve-text
2 changes: 1 addition & 1 deletion metrics/mse/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/precision/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/recall/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/roc_auc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/super_glue/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn
2 changes: 1 addition & 1 deletion metrics/xtreme_s/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git+https://github.com/huggingface/evaluate@{COMMIT_PLACEHOLDER}
sklearn
scikit-learn

0 comments on commit 6206bad

Please sign in to comment.