Skip to content

Commit

Permalink
uplab04
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaldojr committed Mar 18, 2024
1 parent 764f410 commit e9e1bb4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
20 changes: 11 additions & 9 deletions material/aulas/IA/lab04/dicasDePreprocessamento.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 1,
"metadata": {
"id": "1GT3RjpjiMoC"
},
Expand Down Expand Up @@ -584,7 +584,7 @@
"4 9.4 5 "
]
},
"execution_count": 22,
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -1236,25 +1236,27 @@
"\n",
"Treine e avalie `duas vezes` o classificador kNN para o dataset Wine. \n",
"\n",
"Considere como dados de entrada apenas as colunas 'Flavanoids’ e 'Proline’. \n",
"Considere o sequinte:\n",
"\n",
"```python\n",
"X = wine_data.drop(['quality'], axis=1)\n",
"y = wine_data['quality'] #Variavel para ser predita\n",
"\n",
"```\n",
"\n",
"\n",
"Compare o efeito da normalização na avaliação do classificador. Use k = 5."
]
},
{
"cell_type": "code",
"execution_count": 69,
"execution_count": 5,
"metadata": {
"id": "CGNHUkQsjw0K"
},
"outputs": [],
"source": [
"##### seu código aqui........\n",
"\n",
"\n",
"\n",
"\n",
"\n",
"\n"
]
},
Expand Down
6 changes: 3 additions & 3 deletions material/aulas/IA/lab05/validacaocruzada.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -105,7 +105,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -139,7 +139,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down

0 comments on commit e9e1bb4

Please sign in to comment.