Skip to content

Commit

Permalink
fix typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed May 9, 2018
1 parent 754719b commit fc720ec
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions code/ch03/ch03.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@
" w_ : 1d-array\n",
" Weights after fitting.\n",
" cost_ : list\n",
" Sum-of-squares cost function value in each epoch.\n",
" Logistic cost function value in each epoch.\n",
"\n",
" \"\"\"\n",
" def __init__(self, eta=0.05, n_iter=100, random_state=1):\n",
Expand Down Expand Up @@ -1786,7 +1786,19 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.4"
},
"toc": {
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion code/ch03/ch03.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class LogisticRegressionGD(object):
w_ : 1d-array
Weights after fitting.
cost_ : list
Sum-of-squares cost function value in each epoch.
Logistic cost function value in each epoch.
"""
def __init__(self, eta=0.05, n_iter=100, random_state=1):
Expand Down

0 comments on commit fc720ec

Please sign in to comment.