Skip to content

Commit

Permalink
DOC fix "class weight" -> "sample weight" comment in plot_weighted_sa…
Browse files Browse the repository at this point in the history
…mples.py (scikit-learn#11804)
  • Loading branch information
eggie5 authored and rth committed Aug 13, 2018
1 parent dd700f4 commit 391209b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/svm/plot_weighted_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def plot_decision_function(classifier, sample_weight, axis, title):
sample_weight_last_ten[15:] *= 5
sample_weight_last_ten[9] *= 15

# for reference, first fit without class weights
# for reference, first fit without sample weights

# fit the model
clf_weights = svm.SVC(gamma=1)
Expand Down

0 comments on commit 391209b

Please sign in to comment.