Compare commits

...

2 Commits

Author SHA1 Message Date
Carlos A. Iglesias 0a9cd3bd5e
Update 3_7_SVM.ipynb
Fixed typo in a comment
2 years ago
Carlos A. Iglesias 2c7c9e58e0
Update 3_7_SVM.ipynb
Fixed bug in ROC curve visualization
2 years ago

@ -222,7 +222,7 @@
"kernel = types_of_kernels[0]\n",
"gamma = 3.0\n",
"\n",
"# Create kNN model\n",
"# Create SVM model\n",
"model = SVC(kernel=kernel, probability=True, gamma=gamma)"
]
},
@ -418,7 +418,7 @@
"plt.ylim([0.0, 1.0])\n",
"plt.title('ROC curve for Titanic')\n",
"plt.xlabel('False Positive Rate (1 - Recall)')\n",
"plt.xlabel('True Positive Rate (Sensitivity)')\n",
"plt.ylabel('True Positive Rate (Sensitivity)')\n",
"plt.grid(True)"
]
},

Loading…
Cancel
Save