1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-11-21 14:02:28 +00:00

Fixed broken link and bug of sklearn-deap with scikit 0.24

This commit is contained in:
cif2cif 2021-04-19 17:47:22 +02:00
parent b80c097362
commit c9114cc796

View File

@ -56,7 +56,7 @@
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Genetic Algorithms\n", "# Genetic Algorithms\n",
"In this section we are going to use the library DEAP [References](#References) for implementing a genetic algorithms.\n", "In this section we are going to use the library DEAP [[References](#References)] for implementing a genetic algorithms.\n",
"\n", "\n",
"We are going to implement the OneMax problem as seen in class.\n", "We are going to implement the OneMax problem as seen in class.\n",
"\n", "\n",
@ -200,11 +200,13 @@
"source": [ "source": [
"## Optimizing ML hyperparameters\n", "## Optimizing ML hyperparameters\n",
"\n", "\n",
"One of the applications of Genetic Algorithms is the optimization of ML hyperparameters. Previously we have used GridSearch from Scikit. Using (sklearn-deap)[#References], optimize the Titatic hyperparameters using both GridSearch and Genetic Algorithms. \n", "One of the applications of Genetic Algorithms is the optimization of ML hyperparameters. Previously we have used GridSearch from Scikit. Using (sklearn-deap)[[References](#References)], optimize the Titatic hyperparameters using both GridSearch and Genetic Algorithms. \n",
"\n", "\n",
"The same exercise (using the digits dataset) can be found in this [notebook](https://github.com/rsteca/sklearn-deap/blob/master/test.ipynb).\n", "The same exercise (using the digits dataset) can be found in this [notebook](https://github.com/rsteca/sklearn-deap/blob/master/test.ipynb).\n",
"\n", "\n",
"Submit a notebook where you include well-crafted conclusions about the exercises, discussing the pros and cons of using genetic algorithms for this purpose.\n" "Submit a notebook where you include well-crafted conclusions about the exercises, discussing the pros and cons of using genetic algorithms for this purpose.\n",
"\n",
"Note: There is a problem with the version 0.24 of scikit. Just comment the different approaches."
] ]
}, },
{ {
@ -261,6 +263,15 @@
} }
], ],
"metadata": { "metadata": {
"datacleaner": {
"position": {
"top": "50px"
},
"python": {
"varRefreshCmd": "try:\n print(_datacleaner.dataframe_metadata())\nexcept:\n print([])"
},
"window_display": false
},
"kernelspec": { "kernelspec": {
"display_name": "Python 3", "display_name": "Python 3",
"language": "python", "language": "python",
@ -276,7 +287,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.1" "version": "3.7.9"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,