programming

Hyperscanning experiment file (matlab)

Below is the experiment script (in MatLab) for our hyperscanning project (“NIRS-based hyperscanning reveals increased interpersonal coherence in superior frontal cortex during cooperation.”). For detailed information please refer to Cui,
Xu Cui
12 sec read

Learning deep learning (project 4, language translation)

In this project, I built a neural network for machine translation (English -> French).  I built and trained a sequence to sequence model on a dataset of English and French sentences that can translate new sentences from English to French. The mode
Xu Cui
27 sec read

Deep learning speed test, my laptop vs AWS g2.2xlarge…

It requires a lot of resources, especially GPU and GPU memory, to train a deep-learning model efficiently. Here I test the time it took to train a model in 3 computers/servers. 1. My own laptop. CPU: Intel Core i7-7920HQ (Quad Core 3.10GHz, 4.10GHz T
Xu Cui
2 min read

We contributed to MatLab (wavelet toolbox)

We use MatLab a lot! It’s the major program for brain imaging data analysis in our lab. However, I never thought we could actually contribute to MatLab’s development. In MatLab 2016, there is a toolbox called Wavelet Toolbox. If you read
Xu Cui
2 min read

Deep learning

In the past months, I am shocked by the progress of artificial intelligence (mostly implemented by d
Xu Cui
1 min read

Stork开通自动翻译功能啦

虽然美国读研究生的时候,一个很头疼的问题就是阅读科学文献。原因很多,但是其中一个就是文献里面有许多单词不知道意思,这就时不时地要查字典。到后来情况就逐渐变好了,但是在接触到新的领域的时候,又出现一些该
Xu Cui
1 sec read

Communications between two MatLabs (2): over socket

After the previous blog post Communications between two MatLabs (1) over file, Aaron Piccirilli in our lab suggested a more efficient way to communicate between two matlabs, i.e. over socket. Below is the source code provided by Aaron: udpSocket = ud
Xu Cui
1 min read

Communications between two MatLabs (1) over file

Ref to: Communications between two MatLabs (2): over socket It’s common that two MatLab programs needs to communicate. For instance, one program is collecting the brain imaging data but not display them, and the other program is to display the
Xu Cui
1 min read

Stork是我最好的科研助手(2):经费提醒

1. 我的导师是否有经费? 2. 我在寻找博后的职位;我未来的老板是否有足够的经费支持我? 3. 有多少经费拨给了我的研究领域(比如NIRS)?谁得到了这些经费?他们将用这些经费做什么? 你是否也曾考
Xu Cui
6 sec read