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

no attribute 'detection' #283

Open
pabst2009 opened this issue Mar 1, 2024 · 0 comments
Open

no attribute 'detection' #283

pabst2009 opened this issue Mar 1, 2024 · 0 comments

Comments

@pabst2009
Copy link

I run the following code with skmob 1.2.3.

import pandas as pd;
import skmob 
print(skmob.__version__)

path = 'my.csv';
df = pd.read_csv(path);
tdf = skmob.TrajDataFrame(df, latitude='latitude_anonymous', longitude='longitude_anonymous', user_id='adid');

stops = skmob.preprocessing.detection.stay_locations(tdf, minutes_for_a_stop=10.0, spatial_radius_km=0.01, leaving_time=True);

Then I got the following error.

AttributeError: module 'skmob.preprocessing' has no attribute 'detection'

Please let me know how to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant