Open mohammedsabiya opened 11 months ago
Were you able to solve the issue?
yes
how?
@mohammedsabiya can you please share with us how did you solve it
@Ng-ms @mohammedsabiya @iamamiramine
I was able to reproduce the issue and I opened a new ticket here for the team to look at: https://github.com/sdv-dev/SDMetrics/issues/584
I will close this issue out for now and mark as Duplicate of https://github.com/sdv-dev/SDMetrics/issues/584 -- we can focus our discussion in the new issue.
Can you folks try the following workaround to see if that resolves the issue?
For now, manually cast your datetime columns to the datetime dtype before using LSTMDetection. One quick way is using pandas.to_datetime()
:
df['date_col_1'] = pd.to_datetime(df['date_col_1'])
Environment Details
Error Description
I have an error when I try to use
Detection: Sequential
metrics to evaluate the real data and synthetic data. The error is here as follows:I am getting the same error when using
LSTMClassifierEfficacy
as well.The unknown categories that are mentioned in the error are from the
date
column. Thetype
of thedate
column isobject
in both real and synthetic data.Code Implementation
Here is the code:
Thank you :)