10000 Remove last notebook style example · scikit-learn/scikit-learn@7bbf4ae · GitHub
[go: up one dir, main page]

Skip to content

Commit 7bbf4ae

Browse files
committed
Remove last notebook style example
1 parent 187b51c commit 7bbf4ae

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

examples/linear_model/plot_lasso_model_selection.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@
6464
# normalize data as done by Lars to allow for comparison
6565
X /= np.sqrt(np.sum(X ** 2, axis=0))
6666

67-
##############################################################################
67+
# #############################################################################
6868
# LassoLarsIC: least angle regression with BIC/AIC criterion
69-
# ----------------------------------------------------------
7069

7170
model_bic = LassoLarsIC(criterion='bic')
7271
t1 = time.time()
@@ -97,9 +96,8 @@ def plot_ic_criterion(model, name, color):
9796
plt.title('Information-criterion for model selection (training time %.3fs)'
9897
% t_bic)
9998

100-
##############################################################################
99+
# #############################################################################
101100
# LassoCV: coordinate descent
102-
# ---------------------------
103101

104102
# Compute paths
105103
print("Computing regularization path using the coordinate descent lasso...")
@@ -127,9 +125,8 @@ def plot_ic_criterion(model, name, color):
127125
plt.axis('tight')
128126
plt.ylim(ymin, ymax)
129127

130-
##############################################################################
128+
# #############################################################################
131129
# LassoLarsCV: least angle regression
132-
# -----------------------------------
133130

134131
# Compute paths
135132
print("Computing regularization path using the Lars lasso...")

0 commit comments

Comments
 (0)
0