TensorFlow处理运动想象分类任务示例分析,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。
文中的方法是EEG源成像(ESI)+ Morlet小波联合时频分析(JTFA)+卷积神经网络(CNN)。原始数据已使用Matlab ToolkitBrainstorm处理。在ESI + JTFA过程处理之后,使用CNN对EEG数据进行分类。
代码地址:
Python file: PhysioNet_MI_Dataset/MIND_Get_EDF.py
--- download all the EEG Motor Movement/Imagery Dataset .edf files from here!
(Under Any Python Environment) $ python MIND_Get_EDF.py
Python file: Read_Raw_Data_Save_Into_Matlab_Files.py
--- Read the edf Raw data of different channels and save them into matlab .m files
--- At this stage, the Python file must be processed under a Python 2 environment (I recommend to use Python 2.7 version).
(Under Python 2.7 Environment) $ python Read_Raw_Data_Save_Into_Matlab_Files.py
Matlab file: Saved_Matlab_Data/Preprocessing_Raw_Data.m
--- Pre-process the dataset (Data Normalization mainly) and save matlab .m files into Excel .xlsx Files
Python file: MI_Proposed_CNNs_Architecture.py
--- the proposed CNNs architecture
--- based on TensorFlow 1.12.0 with CUDA 9.0 or TensorFlow 1.13.1 with CUDA 10.0
--- The trained results are saved in the Tensorboard
--- Open the Tensorboard and save the results into Excel .csv files
--- Draw the graphs using Matlab or Origin
(Under Python 3.6 Environment) $ python MI_Proposed_CNNs_Architecture.py
CNN网络架构代码:MI_Proposed_CNNs_Architecture
关于TensorFlow处理运动想象分类任务示例分析问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注亿速云行业资讯频道了解更多相关知识。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。