Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有名为“Deap”的生理 EEG 情绪数据集。我想通过 MNE 分析和可视化数据,但它有自己的格式。
如何加载我的个人数据进行预处理,数据格式为 (.dat)?
import pickle with open('s01.dat', 'rb') as f: y = pickle.load(f, encoding='latin1')
This one works for me. Of course, the ".dat" file is in the same directory as this code.