Skip to content

Latest commit

 

History

History
152 lines (86 loc) · 6.39 KB

movie_watching_entries.md

File metadata and controls

152 lines (86 loc) · 6.39 KB

Movie Watching fMRI Data

HCP Dataset Visualization
06/27/2022, 8:24 am

Synopsis: I will work on formatting and outputting the dataset.

Data: I created several visuals to represent the HCP data using numpy and matplotlib. For all of my graphs, I averaged the values obtained by the participants at each (time point, ROI) coordinate, reducing the 3- or 4-dimensional array to a 2-dimensional array.

I first made a subplot that contains 15 separate graphs, each representing a movie from the dataset. Each graph is a map, with time points on the x-axis and regions of interest (ROIs) on the y-axis; values are denoted by the color of each grid. I then visualized more specific parts of the data by creating line graphs of change in value across time points for randomly selected ROIs for the Home Alone movie, as well as change in value across time points for all 15 movies at a randomly selected ROI. Afterwards, I switched the time points and ROI variables and compared the Home Alone movie values at different ROIs for randomly selected time points. Finally, I created a video that shows the incremental change in values at each ROI for Home Alone.

I also attended the LCE lab meeting virtually.

Tomorrow, I will summarize the dataset and key takeaways from visualization. I will also start working on applying logistic regression to the movie watching data.

Files:

7:10 pm, 646 minutes


HCP Dataset Summary
06/28/2022, 8:13 am

Synopsis: I will summarize my visualizations of the HCP dataset.

Data: I wrote a summary of the work I did yesterday with the HCP dataset, providing an overview of the data and explanations of each of my visuals. I also read the lab's paper on classifying movie clips using various machine learning models. I started working on the logistic regression model applied to the HCP data.

Files:

4:38 pm, 505 minutes


HCP Dataset Logistic Regression Program
06/29/2022, 8:37 am

Synopsis: I will apply logistic regression to the HCP dataset.

Data: I started writing the logistic regression program in Python. More specifically, I worked on dataset pre-processing aspect.

Files:

10:00 am, 83 minutes


HCP Dataset Logistic Regression Program
06/29/2022, 12:00 pm

Synopsis: I will apply logistic regression to the HCP dataset.

Data: I continued working on running logistic regression on the HCP data. I was able to convert the dictionary into a 2-dimensional array and split it into training and testing sets. I used the sklearn LogisticRegression module to assess accuracy.

Files:

5:32 pm, 332 minutes


HCP Dataset Logistic Regression
06/30/2022, 8:38 pm

Synopsis: I will apply logistic regression to the HCP dataset.

Data: I wrote functions to perform logistic regression with (Time point, ROI) features. I ran this model and the one provided by the sci-kit learn library several times because the classification accuracy obtained was unexpectedly high. Then, I modified the program to classify at each time point, using ROIs as features, and graphed the accuracy over time.

Files:

5:40 pm, 542 minutes


HCP Dataset Logistic Regression
07/01/2022, 7:30 am

Synopsis: I will apply logistic regression to the HCP dataset and summarize the results.

Data: I continued running logistic regression on the dataset using the second method described from yesterday's entry.

Files:

4:30pm, 540 minutes


HCP Dataset Logistic Regression Summary
07/05/2022, 10:00 am

Synopsis: I will apply logistic regression to the HCP dataset and summarize the results.

Data: I was able to resolve my confusion about the logistic regression model. I modified my previous logistic regression ROI feature program so that the model is trained once with data across all 90 time points considered. Then, the test data was split by time points. The fitted model was evaluated with this data and classification accuracy was calculated at each time point to create a time series plot.

Files:

6:17 pm, 497 minutes


Permutation Testing
07/06/2022, 8:37 am

Synopsis: I will use a permutation test to evaluate the effectiveness of the logistic regression model.

Data: I ran a permutation test by randomly resampling feature values and feeding them into the logistic regression model.

Files:

5:23 pm, 526 minutes



07/07/2022, 9:25 am

Synopsis: I will learn about multiple comparisons in statistical inference and feed forward neural networks.

Data: I read about conducting analysis of variance (ANOVA) on multiple variables. I also learned about the problem with making multiple comparisons in statistical inference: the likelihood of getting a statistically significant result when no such effect exists (i.e. Type I error or false positive) increases. I took notes on a few methods to fix this issue, specifically on the Bonferroni method to control FWER and the Benjamini-Hochberg procedure to address FDR.

Files:

4:08 pm, 403 minutes