Closed agirnow closed 8 months ago
hey @agirnow, thank you for documenting that, it indeed looks like a bug. I'm quite packed this week, so I'll be able to take a closer look at it at the earliest over the weekend.
version 2.3.1 was just released which should fix this issue. let me know @agirnow if it indeed solved the problem for you.
On a different note: from your example using train and test, I wonder if your goal is to make predictions of one field using the transformed scores of the other? Unfortunately, this is not yet implemented - the transform
method will really just transform the provided field data into the scores of the latent space.
Hey @nicrie Thanks, it solved my problem ! :) Yes, that is exaclty what i wanted to do, I thought that to do so it will be okay to use the scores obtained with the transform method on the first field as an input for the inverse_transform method on the other field, but maybe that is not true.
Describe the bug In the MCA transform method, the output does not have the consistent coordinates along the fit dimensions. The output is full of nan with incorrect coordinates.
Reproducible Minimal Working Example
Obtained result is:
Expected behavior In this example, I would expect coordinates to go from 2020-01-20 and not from 2020-01-01. It seems that the output has kept the coordinates of the dataset used for fitting, while i would except the coordinates from the dataset to transform. It results in a dataset full of nans.
Desktop (please complete the following information):
xeofs
version 2.3Thanks for your help !