8000 DOC fix section marker in plot_ard.py examples (#22481) · scikit-learn/scikit-learn@4f70d85 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4f70d85

Browse files
authored
DOC fix section marker in plot_ard.py examples (#22481)
1 parent 38173e9 commit 4f70d85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/linear_model/plot_ard.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
from sklearn.linear_model import ARDRegression, LinearRegression
3232

33-
# #############################################################################
33+
# %%
3434
# Generating simulated data with Gaussian weights
3535

3636
# Parameters of the example
@@ -51,15 +51,15 @@
5151
# Create the target
5252
y = np.dot(X, w) + noise
5353

54-
# #############################################################################
54+
# %%
5555
# Fit the ARD Regression
5656
clf = ARDRegression(compute_score=True)
5757
clf.fit(X, y)
5858

5959
ols = LinearRegression()
6060
ols.fit(X, y)
6161

62-
# #############################################################################
62+
# %%
6363
# Plot the true weights, the estimated weights, the histogram of the
6464
# weights, and predictions with standard deviations
6565
plt.figure(figsize=(6, 5))

0 commit comments

Comments
 (0)
0