Relative Content

Tag Archive for pythonarraysnumpymatlabtransfer

How to pass large arrays of data from MATLAB to Python

My data is stored in classes in MATLAB which contain large arrays but want to work with that data in python for training machine learning. From what I can tell, when moving data between the two, the value is transferred and so the array is copied in memory. Then converting the arrays into numpy arrays creates a further copy in memory. How can I avoid creating so copies of data as much as possible.