mirror of
https://github.com/gsi-upm/sitc
synced 2025-01-08 04:01:27 +00:00
Compare commits
2 Commits
f0278aea33
...
0a9cd3bd5e
Author | SHA1 | Date | |
---|---|---|---|
|
0a9cd3bd5e | ||
|
2c7c9e58e0 |
@ -222,7 +222,7 @@
|
|||||||
"kernel = types_of_kernels[0]\n",
|
"kernel = types_of_kernels[0]\n",
|
||||||
"gamma = 3.0\n",
|
"gamma = 3.0\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# Create kNN model\n",
|
"# Create SVM model\n",
|
||||||
"model = SVC(kernel=kernel, probability=True, gamma=gamma)"
|
"model = SVC(kernel=kernel, probability=True, gamma=gamma)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -418,7 +418,7 @@
|
|||||||
"plt.ylim([0.0, 1.0])\n",
|
"plt.ylim([0.0, 1.0])\n",
|
||||||
"plt.title('ROC curve for Titanic')\n",
|
"plt.title('ROC curve for Titanic')\n",
|
||||||
"plt.xlabel('False Positive Rate (1 - Recall)')\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)"
|
"plt.grid(True)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user