Skip to content

Reached maximum number of idle transformation calls. #2844

Closed Answered by hshenai
hshenai asked this question in Q&A
Discussion options

You must be logged in to vote

My Bad, the issue was with the target dimension. The below code changes fixed the issue

for time_series_id in unique_time_series:
    subset = df[df['switchEntity'] == time_series_id].sort_values('windowStart').reset_index(drop=True)
    time_series_data.append({
        'target': subset[target_columns].values.T,
        'start': subset['windowStart'].iloc[0],
        'feat_dynamic_cat': subset['device_type'].values.reshape((-1, 1))
    })

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hshenai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant