Posts
-
How to use VEST: A free online tool for segmenting video clips
Boost your ML research by using this video event segmentation tool for qualitatively coding your video clips Analyzing video recordings of human and animal behaviors has been a powerful tool for researchers across disciplines. In... - 5 min read
-
How to measure similarity between two correlation matrices
Tutorial on what metrics to use and how to calculate significance when measuring the similarity between matrices Comparing the similarity between matrices can offer a way to assess the structural relationships among variables and is... - 6 min read
-
Building PaperWiki: An encyclopedia of scientific journal articles
Building PaperWiki: A crowdsourced online encyclopedia for scientific journal articles Back in summer of 2018 when I was still an aspiring neuroscientist, I attended a summer program at the University of Washington in Seattle. The... - 4 min read
-
Three reasons to watch #SLICED: A real time data science competition
Watching Data Scientists solve new datasets can be educational, entertaining, and an immersive experience. #SLICED is a 2-hour data science competition streamed by Nick Wan and Meg Risdal on Twitch. Contestants code in real time... - 6 min read
-
Three ways to run Linear Mixed Effects Models in Python Jupyter Notebooks
Tutorial on how to run Linear Mixed Effects Regressions (LMER) models in Python and Jupyter Notebooks One of the reasons I could not fully switch out of R to Python for data analyses was that... - 7 min read
-
Using face-api.js to build an app that overlays a mask on face images
Here’s how I made an app that automatically adds a mask to your profile photos. #maskon Have you heard? CDC and the Surgeon Generalnow recommends and encourages everyone to wear a mask when going out... - 5 min read
-
How to extract facial expressions, head pose, and gaze from any Youtube video
A tutorial using Google Colab & OpenFace to extract facial features from Youtube videos without installing a single program on your laptop. How people feel, their thoughts, and their interests can be studied and analyzed... - 9 min read
-
Three lessons I learned from meeting 28 west coast venture capitalists and startup founders
I took a 9-day trip to Seattle and San Francisco to meet west coast venture capitalists and founders of big and small startup companies. I spoke with the founders/executives of startups such as College Pulse,... - 9 min read
-
Affective Computing and Intelligent Interactions 2019 - Cambridge, UK
From September 3rd to 6th, 2019, I attended the 8th International Conference on Affective Computing & Intelligent Interactions (ACII 2019) in Cambridge, United Kingdom with the generous support from the Dartmouth Graduate Student Council. I... - 4 min read
-
Brain Camp recap: Kavli Summer Institute in Cognitive Neuroscience 2019
With the generous support from the Dartmouth Graduate Student Council (GSC), I was able to attend the 2019 Kavli Summer Institute in Cognitive Neuroscience (a.k.a. Brain Camp) hosted at University of California at Santa Barbara.... - 4 min read
-
Four ways to quantify synchrony between time series data
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
-
Conference recap: Social and Affective Neuroscience Society 2019
With the generous support from the Dartmouth Graduate Student Council (GSC), I was able to attend the 2019 Social and Affective Neuroscience Society (SANS) annual conference in Miami, Florida. At the conference, I was able... - 2 min read
-
Predicting wait lines using computer vision and machine learning
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
-
Mythbusting Fantasy Premier League: Form over fixture
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
-
Useful ffmpeg commands for video processing
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... - 2 min read
-
Why models with significant variables can be useless predictors
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
-
Chance is not enough: Evaluating model significance with permutations
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
-
Summer school comparison: Neurohackademy vs Methods in Neuroscience at Dartmouth (MIND)
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
-
Using OpenFace-Cambridge Face Expression Toolbox [updated]
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
-
Taking the plunge into Dartmouth-shire
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
-
Face analysis software comparison: Affectiva (AFFDEX) vs OpenFace vs Emotient (FACET)
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 JavaScript Emotion SDK Tutorial
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
-
Korean Politicians with Fake Twitter Followers
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
-
Signal processing tutorial on FFT, instantaneous phase synchrony, and rolling window correlations
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
-
Interpreting coefficients in regressions with continuous and categorical variable interactions
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
-
Face analysis software comparison: OpenFace vs iMotion-Emotient (FACET)
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
-
Using OpenFace-Cambridge Face Expression Toolbox
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
-
Scripting in mricroGL for reproducible brain figures
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
-
Emotion Synchrony to Naturalistic Stimuli
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 &...
-
Keeping a job alive from remote session (SSH)
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
-
Code repo for Git
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...
-
Archive for articles on replication crisis
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...
-
How to use the Discovery cluster at Dartmouth
Here is a quick memo on how to use the Discovery Cluster at Dartmouth. How to log in ssh username@discovery7.hpcc.dartmouth.edu How to make an easier way to log in by setting an alias Go into... - 2 min read
-
Setting up LabJack to trigger BIOPAC with MATLAB or Psychopy
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
-
Blocking Sites Using Mac Terminal
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...
-
Tipping in NYC taxis
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
Tags
python
machine-learning
data-science
data
analysis
emotions
statistics
facial-expressions
openface
conference
unix
tutorials
tips
terminal
social
simulation
r
neuroscience
affect
videos
significance
permutations
life
javascript
imotions
grad-school
facet
emotion
emotient
docker
archive
app
affectiva
web-scraping
visualization
twitter
timeseries
synchrony
startup
sports-analytics
sports
session
replication
regression
prediction
plotly
phase-synchrony
mricrogl
matlab
labjack
ios
hack
github
git
football
fmri
flask
fft
ffmpeg
fantasy-premier-league
face-api
entrepreneurship
engineering
computing
code
cluster
chance
better-science
affdex
OpenFace
MagnusonCenter
Colab