Sample code and data to compute synchrony metrics including Pearson correlation, time-lagged cross correlations, dynamic time warping, and instantaneous phase synchrony. In psychology, synchrony between individuals can be an important signal that provides information about... - 11 min read
For the past year I’ve been working on the Line@KAF project with Eshin Jolly with the support from COSAN lab, DALI lab, and Magnuson Center of Entrepreneurship. Line@KAF allows real-time tracking of the length of... - 1 min read
Over 6 million compete in the Fantasy Premier League (FPL) trying to assemble the best 11 player squad to score the highest over 38 weeks of the English Premier League football. Each player’s score is... - 9 min read
ffmpeg is the powerhouse for simple processing of videos. You can use simple commands to resample, resize, cut, append, and combine videos. You can also break a video into frames or create a video from... - 1 min read
One of the first things you learn (or should learn) in a data science or experimental science program is the difference between explanation models and prediction models. Explanation models test relationships between variables such as... - 7 min read
When training a machine learning model for classification, researchers and data scientists often compare their model performance against chance. However, this is often not enough. The true test of significance can be achieved by comparing... - 7 min read
For graduate students, postdocs, and young faculty, attending a summer program is a great opportunity learn something new and make new friends. But there are many summer programs that neuroscience researchers can choose from and... - 7 min read
OpenFace is a powerful toolkit that provides facial landmark detection, pose tracking, action unit recognition, gaze tracking, and facial feature extractions. Here I share the simple way to setup OpenFace using a Docker container. Install... - 2 min read
When I applied to graduate schools in 2015, I was ready to spend the next five years of my life in sunshine California. Unfortunately, I was rejected by all four schools in CA. Even then,... - 4 min read
In my previous post, I compared emotion recognition performance between OpenFace and FACET which suggested that OpenFace provides a better face detection algorithm but slightly less accurate action unit detection. In this update, I compare... - 3 min read
Affectiva is one of the leaders in emotion recognition technology. And they generously provide a version of their emotion recognition software (Affdex) in the form of Emotion SDKs. This means that people can use their... - 4 min read
Inspired by the New York Times article The Follower Factory I decided to investigate if Korean politicians also bought followers. Twitter is very influential in Korean politics and has even been scrutinized for involvement of... - 8 min read
This notebook is designed to serve as an introduction to signal processing and synchrony measures between timeseries using instantaneous phase synchrony and rolling window correlations. Content Signal processing with Fourier Transform Instantaneous Phase Synchrony between... - 21 min read
The ability to understand and interpret the results of regressions is fundamental for effective data analysis. Often however, it is difficult to fully understand what happens behind the scenes when we specify and estimate a... - 9 min read
Facial expression analysis software comparison: OpenFace vs iMotions-Emotient (FACET) This post provides a comparison between two facial expression analysis platforms OpenFace and iMotion-Emotient (FACET engine). OpenFace is a open source platform available at https://github.com/TadasBaltrusaitis/OpenFace, see... - 5 min read
OpenFace is a powerful toolkit that provides facial landmark detection, pose tracking, action unit recognition, gaze tracking, and facial feature extractions. Here I share the simple way to setup OpenFace using a Docker container. Install... - 1 min read
mricroGL is a powerful program to produce high-resolution brain figures for posters and papaers. However the GUI is tricky to use and it doesn’t provide numerical feedback so it is difficult to produce the same... - 1 min read
Here we present different facial expressions of participants watching a TV show. You will need a password to view these videos. Joy Joy Scene 1 Smirk Smirk Scene 1 Surprise Surprise Scene 1 Surprise &...
How to leave a session open so that the job When using a cluster, I sometimes like to take advantage of the interactive nodes. Especially when prototyping, it is much better to debug in an... - 1 min read
creating a new branch for making pull requests git stash git branch <branch name> git checkout <branch name> git push origin <branch name> git checkout master Updating toolbox on PyPi Info from http://peterdowns.com/posts/first-time-with-pypi.html # change...
Articles on psychology crisis Mob Rule or Wisdom of Crowds by Susan Fiske What has happened down here is the winds have changed by Andrew Gelman Power failure: why small sample size undermines the reliability...
Here is a quick memo on how to use the Discovery Cluster at Dartmouth. How to log in ssh email@example.com How to make an easier way to log in by setting an alias Go into... - 3 min read
Here is a tutorial on how to setup your LabJack to send triggers from MATLAB to BIOPAC. This is an extension to Luke’s labjack tutorial At COSAN lab we use BIOPAC to record Skin Conductance... - 4 min read
This is a quick way to block sites that cause distraction in workspace. I find it useful to stop myself from habitually checking websites at work. 1. Launch Terminal 2. Type the following to Terminal...
This is a quick analysis on how people tipped NYC cabs in 2013. The data was retrieved from Chris Whong’s blog. It’s a sizeable dataset and an amazing visualization came out of it called NYC... - 3 min read