Skip to content

Commit

Permalink
Add test input for the lr model.
Browse files Browse the repository at this point in the history
  • Loading branch information
only4sim committed Dec 26, 2023
1 parent 6cf2d39 commit ae9c224
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added src/.DS_Store
Binary file not shown.
19 changes: 19 additions & 0 deletions src/models/logistic_regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,25 @@
"print(intercept)"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[0]\n"
]
}
],
"source": [
"input = [2.5, 3.5]\n",
"output = clf.predict([input])\n",
"print(output)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit ae9c224

Please sign in to comment.