Heejae Chang

Results 464 comments of Heejae Chang

this is how vs shows each components status https://github.com/microsoft/pylance-release/assets/1333179/4e1562e8-dee1-4225-8871-be307df45f5b

can you set this "python.analysis.useLibraryCodeForTypes: false" and see whether it improves performance?

@wangtz0607 I don't believe it is the same issue. your case is just parsing/binding taking time when a module is used the first time. once those are done, it is...

@erictraut can you take a look? it looks like some of expressions are taking long time to analyze. I modified code a bit to see logs and for some expressions,...

@erictraut the issue creator already provided one. https://github.com/microsoft/pylance-release/issues/3978#issue-1591298656 ```python import numpy as np from sklearn.manifold import TSNE from sklearn.decomposition import PCA class sklearn_test(object): def process(self, reduction_method = 'pca'): if reduction_method...

from the log, I can reduce it to this. ```python from sklearn.manifold import TSNE method = TSNE(n_components=3, random_state=2023) reduced_values = method.fit_transform(None) ``` since the log says tsne's fit_transform is the...

@gramster has been working on scikit-learn stubs. assigning to Graham to experiment with his stubs.

according to logs from 3 sciki-learn issues. one common source of perf issues is `scipy.sparse`. if we can put partial stubs for modules under that sub package, we could have...