An easier way may be read the file using python and then send arrays to J using the python addon.
On Wed, Dec 5, 2018, 6:34 AM Devon McCormick <devon...@gmail.com wrote: > Has anyone written code to convert arrays in the numpy save format (.npz > file) to an array in J? An example of the MNIST digits recognition set is > here: https://s3.amazonaws.com/img-datasets/mnist.npz . > > I was looking to do this myself. At the moment, I'm thinking of using > Python to read in the array, then write it back out in a text format that J > can read and turn into a J array but this sounds cumbersome. > > Does anyone have a better, more direct way than this? > > Thanks, > > Devon > -- > > Devon McCormick, CFA > > Quantitative Consultant > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm