|
| 1 | +name: Bug Report |
| 2 | +description: Create a report to help us reproduce and correct the bug |
| 3 | +labels: ['Bug: triage'] |
| 4 | + |
| 5 | +body: |
| 6 | +- type: markdown |
| 7 | + attributes: |
| 8 | + value: > |
| 9 | + #### Before submitting a bug, please make sure the issue hasn't been already |
| 10 | + addressed by searching through [the past issues](https://github.com/scikit-learn/scikit-learn/issues). |
| 11 | +- type: textarea |
| 12 | + attributes: |
| 13 | + label: Describe the bug |
| 14 | + description: > |
| 15 | + A clear and concise description of what the bug is. |
| 16 | + validations: |
| 17 | + required: true |
| 18 | +- type: textarea |
| 19 | + attributes: |
| 20 | + label: Steps/Code to Reproduce |
| 21 | + description: | |
| 22 | + Please add a minimal example that we can reproduce the error by running the code. Be as succinct as possible, do not depend on external data. In short, we are going to copy-paste your code and we expect to get the same result as you. Example: |
| 23 | +
|
| 24 | + ```python |
| 25 | + from sklearn.feature_extraction.text import CountVectorizer |
| 26 | + from sklearn.decomposition import LatentDirichletAllocation |
| 27 | + docs = ["Help I have a bug" for i in range(1000)] |
| 28 | + vectorizer = CountVectorizer(input=docs, analyzer='word') |
| 29 | + lda_features = vectorizer.fit_transform(docs) |
| 30 | + lda_model = LatentDirichletAllocation( |
| 31 | + n_topics=10, |
| 32 | + learning_method='online', |
| 33 | + evaluate_every=10, |
| 34 | + n_jobs=4, |
| 35 | + ) |
| 36 | + model = lda_model.fit(lda_features) |
| 37 | + ``` |
| 38 | +
|
| 39 | + If the code is too long, feel free to put it in a public gist and link it in the issue: https://gist.github.com. |
| 40 | + placeholder: | |
| 41 | + ``` |
| 42 | + Sample code to reproduce the problem |
| 43 | + ``` |
| 44 | + validations: |
| 45 | + required: true |
| 46 | +- type: textarea |
| 47 | + attributes: |
| 48 | + label: Expected Results |
| 49 | + description: > |
| 50 | + Please paste or describe the expected results. |
| 51 | + placeholder: > |
| 52 | + Example: No error is thrown. |
| 53 | + validations: |
| 54 | + required: true |
| 55 | +- type: textarea |
| 56 | + attributes: |
| 57 | + label: Actual Results |
| 58 | + description: > |
| 59 | + Please paste or describe the results you observe instead of the expected results. If you observe an error, please paste the error message including the **full** traceback of the exception. |
| 60 | + placeholder: > |
| 61 | + Please paste or specifically describe the actual output or traceback. |
| 62 | + validations: |
| 63 | + required: true |
| 64 | +- type: textarea |
| 65 | + attributes: |
| 66 | + label: Versions |
| 67 | + description: | |
| 68 | + Please run the following and paste the output below. |
| 69 | + ```python |
| 70 | + import sklearn; sklearn.show_versions() |
| 71 | + ``` |
| 72 | + validations: |
| 73 | + required: true |
| 74 | +- type: markdown |
| 75 | + attributes: |
| 76 | + value: > |
| 77 | + Thanks for contributing 🎉! |
0 commit comments