tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

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

Open johannesmichael opened this issue 5 years ago • 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

johannesmichael avatar Jan 25 '20 14:01 johannesmichael

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

gbarlacchi avatar Jan 25 '20 15:01 gbarlacchi

Then I get

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

johannesmichael avatar Jan 25 '20 15:01 johannesmichael