Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@
},
"outputs": [],
"source": [
"'''\n",
"produces probablistic estimate for P(y_i = +1 | x_i, w).\n",
"estimate ranges between 0 and 1.\n",
"'''\n",
"def predict_probability(feature_matrix, coefficients):\n",
" '''\n",
" produces probablistic estimate for P(y_i = +1 | x_i, w).\n",
" estimate ranges between 0 and 1.\n",
" '''\n",
" # Take dot product of feature_matrix and coefficients \n",
" ## YOUR CODE HERE\n",
" ...\n",
Expand Down