tech.ml.dataset icon indicating copy to clipboard operation
tech.ml.dataset copied to clipboard

inconsistency between printed shape and `shape` function

Open behrica opened this issue 1 year ago • 1 comments

It at least surprised me to see that the shape is flipped when printing the dataset:

https://github.com/techascent/tech.ml.dataset/blob/b0896cc6116ad6aa049fb7f1b955e9fe49b07ae8/src/tech/v3/dataset/print.clj#L336

so I report it here.

behrica avatar Apr 27 '24 22:04 behrica

dtype-next is row-major. All dataset libraries I tested output their shape in column-major form. This is why the reverse.

cnuernber avatar May 17 '24 15:05 cnuernber