Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
johannesmichael opened this issue Jan 25, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@johannesmichael
Copy link

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

@gbarlacchi
Copy link
Contributor

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

@johannesmichael
Copy link
Author

Then I get

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

@gbarlacchi gbarlacchi added the bug Something isn't working label Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants