Ali Khanafer
04/24/2024, 3:35 PMIndexError: too many indices for tensor of dimension 3
. My data is a simple 3 column dataframe with ds
, unique_id
, and y
as columns, and unique_id having 99 different values
dataset, *_ = TimeSeriesDataset.from_df(test_df)
loader = TimeSeriesLoader(dataset, batch_size=33, shuffle=False)
batch = next(iter(loader))
ts = batch['temporal']
ex = shap.DeepExplainer(nhits, ts)
Cristian (Nixtla)
04/24/2024, 4:21 PMKernelExplainer
. You need to create a parsing function that parses the current df
input data. The new data must have each size window input_size
on a different row. You also need a function that takes each row and passes it to the forward method of a nf
model.Ali Khanafer
04/24/2024, 4:34 PMArthur LAMBERT
06/04/2024, 1:58 PMAli Khanafer
06/04/2024, 2:02 PMArthur LAMBERT
06/04/2024, 2:03 PMRicardo Barros Lourenço
06/07/2024, 8:42 PM