|
| 1 | +--- |
| 2 | +name: Bug report |
| 3 | +about: Create a report to help us reproduce and correct the bug |
| 4 | +title: "[BUG]" |
| 5 | +labels: bug |
| 6 | +assignees: '' |
| 7 | + |
| 8 | +--- |
| 9 | + |
| 10 | +#### Describe the bug |
| 11 | +A clear and concise description of what the bug is. |
| 12 | + |
| 13 | +#### Steps/Code to Reproduce |
| 14 | +<!-- |
| 15 | +Example: |
| 16 | +```python |
| 17 | +from sklearn.feature_extraction.text import CountVectorizer |
| 18 | +from sklearn.decomposition import LatentDirichletAllocation |
| 19 | +
|
| 20 | +docs = ["Help I have a bug" for i in range(1000)] |
| 21 | +
|
| 22 | +vectorizer = CountVectorizer(input=docs, analyzer='word') |
| 23 | +lda_features = vectorizer.fit_transform(docs) |
| 24 | +
|
| 25 | +lda_model = LatentDirichletAllocation( |
| 26 | + n_topics=10, |
| 27 | + learning_method='online', |
| 28 | + evaluate_every=10, |
| 29 | + n_jobs=4, |
| 30 | +) |
| 31 | +model = lda_model.fit(lda_features) |
| 32 | +``` |
| 33 | +If the code is too long, feel free to put it in a public gist and link |
| 34 | +it in the issue: https://gist.github.com |
| 35 | +--> |
| 36 | + |
| 37 | +``` |
| 38 | +Sample code to reproduce the problem |
| 39 | +``` |
| 40 | + |
| 41 | +#### Expected Results |
| 42 | +<!-- Example: No error is thrown. Please paste or describe the expected results.--> |
| 43 | + |
| 44 | +#### Actual Results |
| 45 | +<!-- Please paste or specifically describe the actual output or traceback. --> |
| 46 | + |
| 47 | +#### Versions |
| 48 | +<!-- |
| 49 | +Please run the following snippet and paste the output below. |
| 50 | +For scikit-learn >= 0.20: |
| 51 | +import sklearn; sklearn.show_versions() |
| 52 | +For scikit-learn < 0.20: |
| 53 | +import platform; print(platform.platform()) |
| 54 | +import sys; print("Python", sys.version) |
| 55 | +import numpy; print("NumPy", numpy.__version__) |
| 56 | +import scipy; print("SciPy", scipy.__version__) |
| 57 | +import sklearn; print("Scikit-Learn", sklearn.__version__) |
| 58 | +import imblearn; print("Imbalanced-Learn", imblearn.__version__) |
| 59 | +--> |
| 60 | + |
| 61 | + |
| 62 | +<!-- Thanks for contributing! --> |
0 commit comments