8000 docstring changes · seckcoder/scikit-learn@656d701 · GitHub
[go: up one dir, main page]

Skip to content

Commit 656d701

Browse files
jaquesgrobleramueller
authored andcommitted
docstring changes
1 parent 75ba083 commit 656d701

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/svm/plot_svm_scale_c.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@
2727
increase.
2828
2929
When using, for example, :ref:`cross validation <cross_validation>`, to
30-
set the amount of regularization with `C`, there will be a different
31-
amount of samples between every problem that we are using for model
32-
selection, as well as for the final problem that we want to use for
33-
training.
30+
set the amount of regularization with `C`, there will be a different a
31+
different amount of samples between the main problem and the smaller problems
32+
withing the folds of the cross validation.
3433
3534
Since our loss function is dependant on the amount of samples, the latter
3635
will influence the selected value of `C`.
@@ -63,8 +62,9 @@
6362
corresponding cross-validation scores on the `y-axis`, for several different
6463
fractions of a generated data-set.
6564
66-
In the `L1` penalty case, the results are best when scaling our `C` with
67-
the number of samples, `n`, which can be seen in the first figure.
65+
In the `L1` penalty case, the cross-validation-error correlates best with
66+
the test-error, when scaling our `C` with the number of samples, `n`,
67+
which can be seen in the first figure.
6868
6969
For the `L2` penalty case, the best result comes from the case where `C`
7070
is not scaled.

0 commit comments

Comments
 (0)
0