Skip to content

Commit e10a272

Browse files
committed
Fix example to use rst syntax in notebook comments
1 parent 8b46c61 commit e10a272

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

examples/applications/plot_out_of_core_classification.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def _not_in_sphinx():
5757

5858
###############################################################################
5959
# Reuters Dataset related routines
60-
###############################################################################
60+
# --------------------------------
61+
#
6162

6263

6364
class ReutersParser(html_parser.HTMLParser):
@@ -187,9 +188,11 @@ def progress(blocknum, bs, size):
187188

188189
###############################################################################
189190
# Main
190-
###############################################################################
191+
# ----
192+
#
191193
# Create the vectorizer and limit the number of features to a reasonable
192194
# maximum
195+
193196
vectorizer = HashingVectorizer(decode_error='ignore', n_features=2 ** 18,
194197
non_negative=True)
195198

@@ -318,7 +321,7 @@ def progress(cls_name, stats):
318321

319322
###############################################################################
320323
# Plot results
321-
###############################################################################
324+
# ------------
322325

323326

324327
def plot_accuracy(x, y, x_legend):

0 commit comments

Comments
 (0)