Skip to content

Commit

Permalink
Update pinned dependencies (#853)
Browse files Browse the repository at this point in the history
* Remove all pins on scikit-learn
  • Loading branch information
mmcauliffe authored Dec 2, 2024
1 parent 04f0b26 commit 0fc9b47
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ci/docker_environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
- kaldi=*=*cpu*
- pynini
- openfst=1.8.3
- scikit-learn<1.3
- scikit-learn
- hdbscan
- baumwelch
- ngram
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- scipy
- pynini
- openfst=1.8.3
- scikit-learn<1.3
- scikit-learn
- hdbscan
- baumwelch
- ngram
Expand Down
2 changes: 1 addition & 1 deletion github_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
- scipy
- pynini
- openfst=1.8.3
- scikit-learn<1.3
- scikit-learn
- hdbscan
- baumwelch
- ngram
Expand Down
2 changes: 1 addition & 1 deletion montreal_forced_aligner/alignment/multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ def _run(self):
actual_score = phone_likes[i, phones[pi.phone.phone]]
scores.append(phone_likes[i, top_phone_ind] - actual_score)
average_score = statistics.mean(scores)
interval_mappings.append({"id": pi.id, "phone_goodness": average_score})
interval_mappings.append({"id": pi.id, "phone_goodness": float(average_score)})
self.callback(interval_mappings)
interval_mappings = []

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pyyaml
librosa
numpy
scipy
scikit-learn<1.3
scikit-learn
requests
biopython==1.79
dataclassy
Expand Down
2 changes: 1 addition & 1 deletion rtd_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
- pgvector
- pgvector-python
- postgresql
- scikit-learn<1.3
- scikit-learn
- hdbscan
- psycopg2
- biopython=1.79
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ install_requires =
requests
rich
rich-click
scikit-learn<1.3
scikit-learn
seaborn
sqlalchemy>=1.4
tqdm
Expand Down

0 comments on commit 0fc9b47

Please sign in to comment.