From c2a91a65806945e1a8b618ab37de7a5fe31e0124 Mon Sep 17 00:00:00 2001 From: Jonathan Calderon Chavez Date: Thu, 14 Mar 2024 09:52:55 +0000 Subject: [PATCH 1/3] package removal pt1 --- Dockerfile.tmpl | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index 16423203..3562c381 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -274,14 +274,11 @@ RUN pip install scipy \ scikit-learn-intelex>=2023.0.1 \ # HDF5 support h5py \ - biopython \ # PUDB, for local debugging convenience pudb \ imbalanced-learn \ # Profiling and other utilities line_profiler \ - orderedmultidict \ - smhasher \ bokeh \ numba \ datashader \ @@ -326,9 +323,7 @@ RUN pip install mpld3 \ hyperopt \ fitter \ langid \ - # Delorean. Useful for dealing with datetime - delorean \ - trueskill \ + trueskill \ # Useful data exploration libraries (for missing data and generating reports) missingno \ pandas-profiling \ @@ -351,7 +346,6 @@ RUN pip install mpld3 \ wavio \ SimpleITK \ hmmlearn \ - bayespy \ gplearn \ PyAstronomy \ squarify \ @@ -396,17 +390,14 @@ RUN pip install tensorpack && \ pip install librosa \ polyglot \ mmh3 \ - fbpca \ sentencepiece \ cufflinks \ lime \ memory_profiler && \ /tmp/clean-layer.sh -# install cython & cysignals before pyfasttext RUN pip install cython \ cysignals \ - pyfasttext \ fasttext && \ apt-get install -y libhunspell-dev && pip install hunspell RUN pip install annoy \ @@ -530,7 +521,6 @@ RUN pip install flashtext \ # b/214080882 blake3 0.3.0 is not compatible with vaex. blake3==0.2.1 \ vaex \ - marisa-trie \ pyemd \ pyupset \ pympler \ From 69954b934f658e4f1605c37bb18532df694c9857 Mon Sep 17 00:00:00 2001 From: Jonathan Calderon Chavez Date: Thu, 14 Mar 2024 09:58:02 +0000 Subject: [PATCH 2/3] remove cysignals --- Dockerfile.tmpl | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index 3562c381..09aa126c 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -397,7 +397,6 @@ RUN pip install tensorpack && \ /tmp/clean-layer.sh RUN pip install cython \ - cysignals \ fasttext && \ apt-get install -y libhunspell-dev && pip install hunspell RUN pip install annoy \ From 7d4b0dab74abb2dec0ce9fda6a46bca5d947c48b Mon Sep 17 00:00:00 2001 From: Jonathan Calderon Chavez Date: Sat, 16 Mar 2024 00:26:53 +0000 Subject: [PATCH 3/3] remove tests --- tests/test_pyfasttext.py | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 tests/test_pyfasttext.py diff --git a/tests/test_pyfasttext.py b/tests/test_pyfasttext.py deleted file mode 100644 index 1ebf5211..00000000 --- a/tests/test_pyfasttext.py +++ /dev/null @@ -1,9 +0,0 @@ -import unittest - -from pyfasttext import FastText - -class TestPyFasttext(unittest.TestCase): - def test_vector(self): - model = FastText() - - model.supervised(input='/input/tests/data/text.txt', output='model', epoch=1, lr=0.7)