-
Notifications
You must be signed in to change notification settings - Fork 25
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
ValueError: frame_size, frame_overlap not correctly configured #4
Comments
Could you please tell me what parameters you used to call the method? |
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from st_dbscan import ST_DBSCAN # create a 3d data set, e,x,y
df=pd.DataFrame(np.random.random((100000,3)),columns=['e','x','y'])
df=df.sort_values('e')
df.e = (df.e * 86400)+86400 # normalize the data
df['x'] = (df['x'] - df['x'].min()) / (df['x'].max() - df['x'].min())
df['y'] = (df['y'] - df['y'].min()) / (df['y'].max() - df['y'].min())
# transform to numpy array
data = df.loc[:, ['e','x','y']].values %%time
st_dbscan.fit_frame_split(data, frame_size = 50)
|
0.1.5 |
See below - hope this helps you.
|
Does this resolve the issue for you? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tested 10000 records of random data with frame_size = 50
The text was updated successfully, but these errors were encountered: