umap
umap copied to clipboard
How does tranform function work?
Hi,
I'm using UMAP on a time-series data for ML purpose. Specifically, I'm training a reducer on the training data, and then transform the test data into the trained space. My question is, does reducer use future data (i.e., x_{>t}) during transforming sample x_t ?
Many thanks!
IIUC, yes, the entire array passed to transform()
works like a 'batch' and the whole batch is optimized together.
Thanks for your help! Then there may be some information leakage when appling transform()
on time-series data.