Brian,
You can set a filter for gridcells to be used in the estimation. By
default the filter is total_land_value > 1000. You can change it in
urbansim/configurations/land_price_model_configuration_creator.py
by changing the argument filter_for_estimation and threshold. You can
create any expression here, for example:
(...
filter_for_estimation =
"numpy.logical_and(urbansim.gridcell.total_land_value > 1000,
gridcell.is_imputed_value == 0)",
threshold = 1,
...
)
Alternatively, you can pass these values as arguments from the
correponding section in urbansim/configs/general_configuration.py.
In any case, please update the
urbansim/configurations/land_price_model_configuration_creator.py from
SVN, since I enabled it just now.
Hana
Brian Miles wrote:
> Hello,
>
> We would like to estimate our land price model using a subset of our
> gridcells.
>
> We want to use only gridcells that do not have imputed land values.
>
> I've looked in the LPM source and configuration, but I don't think
> there is a way to use an alternate table for estimation (like HLCM can
> use households_for_estimation).
>
> I wanted to make sure I wasn't missing something before I start on
> another solution.
>
> Thanks,
>
> Brian
>
>
> _______________________________________________
> Users mailing list
> Users_at_urbansim.org
> http://www.urbansim.org/mailman/listinfo/users
Received on Mon Mar 03 2008 - 16:15:23 PST
This archive was generated by hypermail 2.2.0 : Mon Mar 03 2008 - 16:15:25 PST