ipex-llm icon indicating copy to clipboard operation
ipex-llm copied to clipboard

Chronos: a better unscale support is needed

Open plusbang opened this issue 1 year ago • 1 comments

Currently, we provide TSDataset.unscale_numpy to get unscaled numpy ndarray. We do need a better unscale support rather than ask users to convert to numpy ndarray.

example:

yhat = forecaster.predict(x)
yhat_unscaled = tsdata_test.unscale_numpy(yhat)
y_unscaled = tsdata_test.unscale_numpy(y)
Evaluator.evaluate("mse", y_unscaled, yhat_unscaled)

plusbang avatar Sep 16 '22 01:09 plusbang

maybe add a collate_fn on users' dataloader could be a helpful feature. but we need to define the api first.

TheaperDeng avatar Sep 16 '22 02:09 TheaperDeng