Skip to content

Commit 04d5cd9

Browse files
committed
fix header levels
1 parent cc83dab commit 04d5cd9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorial/working_with_text_data.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Both TF and TF-IDF can be computed as follows::
242242

243243

244244
Training a linear classifier
245-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245+
----------------------------
246246

247247
Now that we have our feature, we can train a linear classifier to
248248
try to predict the category of a post::
@@ -268,7 +268,7 @@ the features using the same feature extracting chain::
268268

269269

270270
Building a pipeline
271-
~~~~~~~~~~~~~~~~~~~
271+
-------------------
272272

273273
In order to make the vectorizer => transformer => classifier easier
274274
to work with, scikit-learn provides a ``Pipeline`` class that behaves
@@ -287,7 +287,7 @@ We can now train the model with a single command::
287287

288288

289289
Evaluation of the performance on the test set
290-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290+
---------------------------------------------
291291

292292
Evaluating the predictive accurracy of the model is equally easy::
293293

@@ -326,7 +326,7 @@ analysis of the results::
326326

327327

328328
Parameter tuning using grid search
329-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329+
----------------------------------
330330

331331
Instead of tweaking the parameters of the various components of the
332332
chain, it is possible to run an exhaustive search of the best

0 commit comments

Comments
 (0)