next up previous index
Next: Model Configuration Up: Residential Land Share Model Previous: Residential Land Share Model   Index

The Run Method

Input:
It takes the same arguments as the run() of its parent:
specification, coefficients, dataset, index, chunk_specification, data_objects, and run_config.

Algorithm:
The run() method of RegressionModel is invoked in order to obtain a regression outcome $ y$. If the run was successful, the resulting quantity $ y'$ is computed as

$\displaystyle y' = \frac{e^y}{1+e^y}
$

$ y'$ is an array of values for each member of dataset given by index. Those values are stored in the attribute given by the class property attribute_to_modify. This is by default ``fraction_residential_land''. If such attribute does not exists in the dataset, it is created.

Output:
The method returns $ y'$.


next up previous index
Next: Model Configuration Up: Residential Land Share Model Previous: Residential Land Share Model   Index
info (at) urbansim.org