posso caricarlo dopo aver decompresso. Ma sta estendendo la memoria.
quando provo a caricarlo con octave
ottengo:
octave:1> load realitymining.mat
error: memory exhausted or requested size too large for range of Octave's index type -- trying to return to prompt
In ipython
In [10]: data.keys()
Out[10]: ['network', 's', '__version__', '__header__', '__globals__']
In [14]: data['__header__']
Out[14]: 'MATLAB 5.0 MAT-file, Platform: MACI, Created on: Tue Sep 29 20:13:23 2009'
In [15]: data['s'].shape
Out[15]: (1, 106)
In [17]: data['s'].dtype
Out[17]: dtype([('comm', 'O'), ('charge', 'O'), ('active', 'O'), ('logtimes', 'O'),...
('my_intros', 'O'), ('home_nights', 'O'), ('comm_local', 'O'), ('data_mat', 'O')])
# 58 fields
In [24]: data['s']['comm'][0,1].shape
Out[24]: (1, 30)
In [31]: data['s']['comm'][0,1][0,1]
Out[31]: ([[732338.8737731482]], [[355]], [[-1]], [u'Packet Data'], [u'Outgoing'],
[[40]], [[nan]])
In [33]: data['s']['comm'][0,1]['date']
Out[33]:
array([[array([[ 732338.86915509]]), array([[ 732338.87377315]]),
...
array([[ 732340.48579861]]), array([[ 732340.52778935]])]], dtype=object)
Guarda i pezzi. Semplicemente provando a print data
o print data['s']
ci vuole troppo tempo. Apparentemente è troppo grande di struttura per formattare rapidamente.
Per ottenere praticamente questi dati, suggerisco di caricarli una volta in Python o Matlab e quindi salvare i pezzi utili in uno o più file.
Quale messaggio di errore? – Daniel
Nessun errore. Solo che ci vuole un sacco di tempo. –
La tua domanda dice "si blocca". – Daniel