Open tomlaeven opened 5 years ago
I don't think learner 1D is meant to work with 2D arrays. You may reshape your outputs to be a 1D array and then reshape them back though. Would that be a satisfactory solution?
The datasaver also allows for any data format, so it isn't really an issue anyway. The only thing is that because it works for a 1D learner, I also expected it to work for the 2D learner, which took me some time to figure out.
I think it might be nice to make it consistent, perhaps even by making it also break in the 1D case.
I think the documentation is already stating what the learners expect, and it's uncommon in Python packages to do anything other than duck-typing.
The following code causes the 2D learner to break, whereas the 1D learner works fine.