File tree 3 files changed +15
-4
lines changed
doc/tutorial/text_analytics/skeletons 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 46
46
cm = metrics .confusion_matrix (y_test , y_predicted )
47
47
print (cm )
48
48
49
- #import matplotlib .pyplot as plt
49
+ #import matlotlib .pyplot as plt
50
50
#plt.matshow(cm, cmap=plt.cm.jet)
51
51
#plt.show()
52
52
Original file line number Diff line number Diff line change 44
44
# more useful.
45
45
# Fit the pipeline on the training set using grid search for the parameters
46
46
47
- # TASK: print the cross-validated scores for the each parameters set
48
- # explored by the grid search
47
+ # TASK: print the mean and std for each candidate along with the parameter
48
+ # settings for all the candidates explored by grid search.
49
49
50
50
# TASK: Predict the outcome on the testing set and store it in a variable
51
51
# named y_predicted
Original file line number Diff line number Diff line change @@ -27,11 +27,22 @@ ignore-files=^setup\.py$
27
27
# rewrite tests using yield with parametrize
28
28
addopts =
29
29
--doctest-modules
30
+ --doctest-glob =' *.rst'
30
31
--disable-pytest-warnings
9B1D
31
32
--ignore =benchmarks/
32
- --ignore =doc/
33
33
--ignore =examples/
34
34
--ignore =setup.py
35
+ --ignore =doc/conf.py
36
+ --ignore =doc/sphinxext/sphinx_issues.py
37
+ --ignore =doc/tutorial/machine_learning_map/
38
+ --ignore =doc/tutorial/text_analytics/data/languages/fetch_data.py
39
+ --ignore =doc/tutorial/text_analytics/skeletons/exercise_01_language_train_model.py
40
+ --ignore =doc/tutorial/text_analytics/solutions/exercise_01_language_train_model.py
41
+ # ignore packages that fail with py._path.local.LocalPath.ImportMismatchError
42
+ # (cf pytest-dev/pytest#2042)
43
+ --ignore =doc/tutorial/text_analytics/data/movie_reviews/fetch_data.py
44
+ --ignore =doc/tutorial/text_analytics/data/twenty_newsgroups/fetch_data.py
45
+ --ignore =doc/tutorial/text_analytics/solutions/exercise_02_sentiment.py
35
46
36
47
[wheelhouse_uploader]
37
48
artifact_indexes =
You can’t perform that action at this time.
0 commit comments