scikit-mobility/tutorials

TypeError: generate() got an unexpected keyword argument 'verbose'

johannesmichael opened this issue · 2 comments

In 3_trajectory_models_skmob_tutorial.ipynb I get this error when running

tdf = depr.generate(start_time, end_time, tessellation, relevance_column='population', n_agents=100, od_matrix=None, verbose=True)

`TypeError Traceback (most recent call last)
in
1 tdf = depr.generate(start_time, end_time, tessellation,
2 relevance_column='population',
----> 3 n_agents=100, od_matrix=None, verbose=True)

TypeError: generate() got an unexpected keyword argument 'verbose'

Working on WIN 10 with Miniconda

Thanks for noticed that. The code probably refers to a previous version.
Could you please try to remove verbose arg?

Here the documentation for the latest version https://scikit-mobility.github.io/scikit-mobility/reference/models.html#skmob.models.epr.DensityEPR

Then I get

AxisError: axis 1 is out of bounds for array of dimension 1