-
from sklearn.feature_extraction.text import CountVectorizer
bow_transformer = CountVectorizer(analyzer=text_process).fit(X)
------------------------------------------------------------------------…
-
I am having an issue (undefined method module_eval when trying to import CountVectorizer from sklearn.feature_extraction.text.
My Code:
` pyfrom :'sklearn.feature_extraction.text', import: :Count…
-
#### Describe the bug
#### Steps/Code to Reproduce
```
Sample code to reproduce the problem
```
#### Expected Results
#### Actual Results
#### Versions
-
#### Describe the bug
On `Sector` dataset with the number of input features `55197`, the `HistGradientBoostingClassifier` crushes when initializing the array of histograms on the side of Cytho…
xuyxu updated
3 years ago
-
对于Lead-3算法,我有两点疑问?
1. Lead3Sum类中的summarize中,num_min的计算是否必要?
2. 在计算得分的公式有什么原理吗?而且计算后的结果是降序到最后一个,最后一个又突增,在我看来和mix没有区别。
-
#### Describe the bug
I have tried to use `sklearn.feature_selection.RFE` to realize the functionality of RFECV. I have designed an experiment with 12 features. When I use `sklearn.feature_s…
-
#### Describe the bug
Hi there, I was testing "User-defined distance" on this page:
https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.DistanceMetric.html#sklearn.neighbors.D…
-
**Embeddings**
* Character-based vs word-based
* CountVectorizer
* TfIdfVectorizer
* HashVectorizer
* Word2Vec
* (BERT)
**Models**
* Simple Linear
* RNN (LSTM vs GRU)
* (Attention?)
…
-
#### Describe the bug
After having run RandomizedSearchCV, subsequent functions execution in a multiprocessing (concurrent.futures.ProcessPoolExecutor) mode freeze.
If running any function in …
-
#### Description
If `X` in `OneHotEncoder.fit(X)` is `np.array` of strings (and hence dtype `