Skip to content

Commit

Permalink
quick update so i can change branches
Browse files Browse the repository at this point in the history
  • Loading branch information
trossII committed Mar 25, 2020
1 parent e9dd8ad commit 21e04cd
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions notebooks/TryPipe.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -127,28 +127,46 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[[2141 0]\n",
" [ 0 358]]\n"
"[[709 0]\n",
" [ 17 108]]\n"
]
}
],
"source": [
"print(confusion_matrix(y_train,pipe.predict(X_train)))"
"print(confusion_matrix(y_test,pipe.predict(X_test)))"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": []
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" precision recall f1-score support\n",
"\n",
" False 0.98 1.00 0.99 709\n",
" True 1.00 0.86 0.93 125\n",
"\n",
" accuracy 0.98 834\n",
" macro avg 0.99 0.93 0.96 834\n",
"weighted avg 0.98 0.98 0.98 834\n",
"\n"
]
}
],
"source": [
"print(classification_report(y_test,pipe.predict(X_test)))"
]
},
{
"cell_type": "code",
Expand Down

0 comments on commit 21e04cd

Please sign in to comment.