You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the EPR class in the models.epr module, the preferential_exploration() method returns a KeyError when performing a location search on the precomputed od_matrix. It is related to the case, when _starting_loc of agents are randomly generated. In some cases, the starting position of an agent might be chosen to be in a location where there were no data points, hence it is not present in the precomputed od_matrix.
Potential solutions are to:
Generate agent positions only for locations where any data in the precomputed od_matrix are present.
Limit spatial_tesselation to the locations where any data are available.
Force the user to provide starting locations on her own.
The text was updated successfully, but these errors were encountered:
In the
EPR
class in themodels.epr
module, thepreferential_exploration()
method returns a KeyError when performing a location search on the precomputedod_matrix
. It is related to the case, when_starting_loc
of agents are randomly generated. In some cases, the starting position of an agent might be chosen to be in a location where there were no data points, hence it is not present in the precomputedod_matrix
.Potential solutions are to:
od_matrix
are present.The text was updated successfully, but these errors were encountered: