Skip to content

Commit

Permalink
set l1_ratio to (1.0 - l1_ratio)
Browse files Browse the repository at this point in the history
  • Loading branch information
pprett committed Dec 4, 2013
1 parent 11d256c commit 6a25717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plot_train_error_vs_test_error.py
Expand Up @@ -35,7 +35,7 @@
###############################################################################
# Compute train and test errors
alphas = np.logspace(-5, 1, 60)
enet = linear_model.ElasticNet(l1_ratio=0.7)
enet = linear_model.ElasticNet(l1_ratio=0.3)
train_errors = list()
test_errors = list()
for alpha in alphas:
Expand Down

0 comments on commit 6a25717

Please sign in to comment.