Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sim explorer #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ install:
ipython-notebook jinja2 matplotlib numpy pandas patsy pip scipy statsmodels
pytables pytest pyyaml toolz
- source activate test-environment
- pip install simplejson bottle
- pip install simplejson bottle pyproj
- pip install https://github.com/synthicity/urbansim/archive/master.zip
before_script:
- ipython nbconvert --to python Simulation.ipynb
Expand Down
32 changes: 6 additions & 26 deletions Estimation.ipynb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:6882991573e06bc93ea54cd517e7daa6509cfb798a42549e740c7e6d3f73da9e"
"signature": "sha256:7634be88010ffc9e10e2ee5b5ba43c56ddf90ac12e0bce5ff3352e578e1a9cd1"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -44,33 +44,13 @@
"stream": "stdout",
"text": [
"Running model 'rsh_estimate'\n",
"Filling column non_residential_rent with value 0 (142400 values)"
]
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
"Filling column residential_units with value 0 (0 values)\n",
"Filling column year_built with value 1927.0 (3116 values)\n",
"Filling column residential_sales_price with value 0 (14196 values)"
]
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
"Filling column non_residential_sqft with value 0 (1341 values)\n",
"Filling column building_type_id with value 2.0 (0 values)\n",
" OLS Regression Results \n",
"=============================================================================================\n",
"Dep. Variable: np.log1p(residential_sales_price) R-squared: 0.399\n",
"Model: OLS Adj. R-squared: 0.399\n",
"Method: Least Squares F-statistic: 1.240e+04\n",
"Date: Fri, 08 Aug 2014 Prob (F-statistic): 0.00\n",
"Time: 13:43:07 Log-Likelihood: -2.5241e+05\n",
"Date: Thu, 25 Sep 2014 Prob (F-statistic): 0.00\n",
"Time: 15:42:11 Log-Likelihood: -2.5241e+05\n",
"No. Observations: 149409 AIC: 5.048e+05\n",
"Df Residuals: 149400 BIC: 5.049e+05\n",
"Df Model: 8 \n",
Expand Down Expand Up @@ -103,12 +83,12 @@
"stream": "stdout",
"text": [
"\n",
"Time to execute model 'rsh_estimate': 2.86s\n",
"Total time to execute: 2.86s\n"
"Time to execute model 'rsh_estimate': 1.20s\n",
"Total time to execute: 1.20s\n"
]
}
],
"prompt_number": 2
"prompt_number": 3
},
{
"cell_type": "code",
Expand Down
196 changes: 129 additions & 67 deletions Exploration.ipynb

Large diffs are not rendered by default.

Loading