Human Activity Recognition Python Code