Skip to content

Commit 371911f

Browse files
PGijsbersmfeurer
authored andcommitted
Fix typo, use log10 as specified in axis labels. (#890)
1 parent d5e46fe commit 371911f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/30_extended/plot_svm_hyperparameters_tutorial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
####################################################################################################
1313
# First step - obtaining the data
1414
# ===============================
15-
# First, we nood to choose an SVM flow, for example 8353, and a task. Finding the IDs of them are
15+
# First, we need to choose an SVM flow, for example 8353, and a task. Finding the IDs of them are
1616
# not part of this tutorial, this could for example be done via the website.
1717
#
1818
# For this we use the function ``list_evaluations_setup`` which can automatically join
@@ -38,7 +38,7 @@
3838
# Next, we cast and transform the hyperparameters of interest (``C`` and ``gamma``) so that we
3939
# can nicely plot them.
4040
hyperparameters = ['sklearn.svm.classes.SVC(16)_C', 'sklearn.svm.classes.SVC(16)_gamma']
41-
df[hyperparameters] = df[hyperparameters].astype(float).apply(np.log)
41+
df[hyperparameters] = df[hyperparameters].astype(float).apply(np.log10)
4242

4343
####################################################################################################
4444
# Option 1 - plotting via the pandas helper functions

0 commit comments

Comments
 (0)