lyriccoder

Results 32 issues of lyriccoder

I have a webservice with fastapi with gunicorn. When logger tries to create files, the Exception is raised: ``` [14] [ERROR] Exception in worker process Traceback (most recent call last):...

I have trained a RandomForest model (CV_rfr2.best_estimator_). Then when I run PermutationImportance, I get the **1.01319077e+00** score of a feature : ``` perm2 = PermutationImportance(CV_rfr2.best_estimator_, cv = "prefit", refit =...

Hi @urialon. Could you please tell me how do you construct a json for the service `https://po3g2dx2qa.execute-api.us-east-1.amazonaws.com/production/extractmethods`? I requested the following procedure (you used it in the previous issue): ```...

When I am running the following code: ``` ens_model = EnsembleTopics(n_components=20, n_starts=8, n_jobs=2).fit(data_vec) ``` I get the error: ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in d:\pycharmprojects\biclustering\venv\lib\site-packages\enstop\enstop_.py in fit(self,...

PLSA and other methods gives strange coherence score: ``` PLSA(n_components=3).fit(data_vec).coherence() PLSA(n_components=4).fit(data_vec).coherence() ``` ``` n=5, -894.0931521853117 n=4, -846.5056881515624 n=1000, -548.1772075123278 ``` When I use gensim, I get quite a good score:...

I can't run NMF algorithm. When I run: ``` %%time nmf_model = NMF(n_components=20, beta_loss='kullback-leibler', solver='mu').fit(data) ``` ... I see the following error stack : ``` --------------------------------------------------------------------------- FloatingPointError Traceback (most recent...

[1.txt](https://github.com/cqfn/aibolit/files/5230161/1.txt) ``` Override @SuppressWarnings("aibolit.P31") public CompletableFuture save(final Key key, final Content content) { return CompletableFuture.supplyAsync( () -> { final Path tmp = Paths.get( this.dir.toString(), String.format("%s.%s.tmp", key.string(), UUID.randomUUID()) ); tmp.getParent().toFile().mkdirs(); return...

Var_decl_5 is raised for wrong line: It shows 127th line https://github.com/artipie/asto/blob/bbe886336d3e10dc3f85fa9f5f13f116f7cad51b/src/main/java/com/artipie/asto/fs/RxFile.java

bug

Files with errors: [files.tar.gz](https://github.com/yegor256/aibolit/files/4615267/files.tar.gz) Logs [errors.csv.gz](https://github.com/yegor256/aibolit/files/4615279/errors.csv.gz)