Skip to content

Commit

Permalink
Clearing runtime overflow from notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
smmaurer committed May 18, 2018
1 parent c30e944 commit f507382
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions notebooks/MNL-prediction-demo-02.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -207,25 +207,17 @@
"Method: Maximum Likelihood Df Model: \n",
"Date: Pseudo R-squ.: \n",
"Time: Pseudo R-bar-squ.: \n",
"AIC: Log-Likelihood: -4,502.369\n",
"AIC: Log-Likelihood: -4,506.216\n",
"BIC: LL-Null: -4,605.170\n",
"===================================================================\n",
" coef std err z P>|z| Conf. Int.\n",
"-------------------------------------------------------------------\n",
"home_density 0.0117 0.002 6.250 \n",
"work_density 0.0123 0.001 15.292 \n",
"school_density 0.0075 0.004 2.087 \n",
"home_density 0.0113 0.002 6.051 \n",
"work_density 0.0119 0.001 14.909 \n",
"school_density 0.0069 0.004 1.916 \n",
"===================================================================\n",
"CPU times: user 546 ms, sys: 102 ms, total: 648 ms\n",
"Wall time: 245 ms\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/maurer/Dropbox/Git-imac/udst/choicemodels/choicemodels/tools/pmat.py:48: RuntimeWarning: overflow encountered in exp\n",
" return PMAT(np.exp(self.mat))\n"
"CPU times: user 96.6 ms, sys: 55.7 ms, total: 152 ms\n",
"Wall time: 145 ms\n"
]
}
],
Expand Down Expand Up @@ -271,9 +263,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"0 0.011688\n",
"1 0.012314\n",
"2 0.007539\n",
"0 0.011321\n",
"1 0.011928\n",
"2 0.006929\n",
"Name: Coefficient, dtype: float64\n"
]
}
Expand Down Expand Up @@ -766,7 +758,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
"version": "3.6.4"
}
},
"nbformat": 4,
Expand Down

1 comment on commit f507382

@Eh2406
Copy link

@Eh2406 Eh2406 commented on f507382 May 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is also overflows in notebooks/Destination-choice-models-02.ipynb

Please sign in to comment.