{"id":235,"date":"2024-04-20T21:19:28","date_gmt":"2024-04-21T02:19:28","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/?p=235"},"modified":"2024-04-21T09:55:25","modified_gmt":"2024-04-21T14:55:25","slug":"rohans-status-report-for-4-20","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/2024\/04\/20\/rohans-status-report-for-4-20\/","title":{"rendered":"Rohan&#8217;s Status Report for 4\/20"},"content":{"rendered":"<p><span style=\"font-weight: 400\">This week I spent most of my time outside of classes working with Professor Dueck and her collaborative pianists and singers to collect more flow state data and I also collected focus\/distracted data with Karen. I retrained both the flow and focus state models with the new data and re-ran the Shapley value plots to see if the models are still picking up on features that match existing research. Our flow state model is now trained on 5,574 flow data points and 7,778 not in flow data points and our focus state model is trained on 11,000 focused data points and 9,000 distracted data points.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">The flow state model incorporates data from 6 recordings of I-Hsiang (pianist), 7 recordings of Justin (pianist), and 2 recordings of Rick (singer). I evaluated the model performance against 3 test sets:\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">The first one is pulled from data from the recordings used in training but the data points themselves were not included in the training set.\u00a0<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-244\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_all_data-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_all_data-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_all_data-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_all_data-1024x596.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_all_data.png 1512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Precision: 0.9098<\/span><\/p>\n<p><span style=\"font-weight: 400\">Recall: 0.9205<\/span><\/p>\n<p><span style=\"font-weight: 400\">F1 Score: 0.9151<\/span><\/p>\n<p><span style=\"font-weight: 400\">The second test set was from a recording of Elettra playing the piano which was not included in the training set at all.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-243\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_elettra_take_2-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_elettra_take_2-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_elettra_take_2-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_elettra_take_2-1024x596.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_elettra_take_2.png 1512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Precision: 0.7928<\/span><\/p>\n<p><span style=\"font-weight: 400\">Recall: 0.4106<\/span><\/p>\n<p><span style=\"font-weight: 400\">F1 Score: 0.5410<\/span><\/p>\n<p><span style=\"font-weight: 400\">The third test set was from two recordings of Ricky singing which were not included in the training set at all.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-242\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_ricky-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_ricky-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_ricky-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_ricky-1024x596.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Flow_NotFlow_nn_confusion_matrix_trained_on_all_matrix_on_ricky.png 1512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Precision: 0.7455<\/span><\/p>\n<p><span style=\"font-weight: 400\">Recall: 0.6415<\/span><\/p>\n<p><span style=\"font-weight: 400\">F1 Score: 0.6896<\/span><\/p>\n<p><span style=\"font-weight: 400\">The focus state model incorporates data from 2 recordings of Rohan, 4 recordings of Karen, and 2 recordings of Arnav. I evaluated the model performance against 3 test sets:\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">The first one is pulled from data from the recordings used in training but the data points themselves were not included in the training set.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-241\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_all_data-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_all_data-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_all_data-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_all_data-1024x596.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_all_data.png 1512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Precision: 0.9257<\/span><\/p>\n<p><span style=\"font-weight: 400\">Recall: 0.9141<\/span><\/p>\n<p><span style=\"font-weight: 400\">F1 Score: 0.9199<\/span><\/p>\n<p><span style=\"font-weight: 400\">The second test set was from two recordings of Karen which were not included in the training set at all.\u00a0<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-240\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_karen_take_5_6-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_karen_take_5_6-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_karen_take_5_6-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_karen_take_5_6-1024x596.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_karen_take_5_6.png 1512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Precision: 0.6511<\/span><\/p>\n<p><span style=\"font-weight: 400\">Recall: 0.5570<\/span><\/p>\n<p><span style=\"font-weight: 400\">F1 Score: 0.6004<\/span><\/p>\n<p><span style=\"font-weight: 400\">The third test set was from two recordings of Ricky singing which were not included in the training set at all.<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-239\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_ricky-1-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_ricky-1-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_ricky-1-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_ricky-1-1024x596.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/Pz_AF3_AF4_Focus_Distracted_nn_confusion_matrix_trained_on_all_matrix_on_ricky-1.png 1512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Precision: 0.5737<\/span><\/p>\n<p><span style=\"font-weight: 400\">Recall: 0.5374<\/span><\/p>\n<p><span style=\"font-weight: 400\">F1 Score: 0.5550<\/span><\/p>\n<p><span style=\"font-weight: 400\">Finally, I reran the Shapley values for both the flow and focus state models and found that the features they are picking up still match up with existing research on these brain states. Furthermore, features that are particularly prominent in flow states such as theta waves are contributing heavily to a classification of flow in the flow state models but is contributing strongly towards a classification of non-focus in the focus state model which is very interesting because it demonstrates that the models are picking up on the distinction between flow and focus brain states.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Flow Shapley values:<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-237\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/flow_model_basic_summary_plot_100_samples-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/flow_model_basic_summary_plot_100_samples-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/flow_model_basic_summary_plot_100_samples-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/flow_model_basic_summary_plot_100_samples-1024x596.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/flow_model_basic_summary_plot_100_samples.png 1512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Focus Shapley values:<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-236\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/focus_model_basic_summary_plot_100_samples-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/focus_model_basic_summary_plot_100_samples-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/focus_model_basic_summary_plot_100_samples-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/focus_model_basic_summary_plot_100_samples-1024x596.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-content\/uploads\/sites\/302\/2024\/04\/focus_model_basic_summary_plot_100_samples.png 1512w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400\">As I have worked on this project I have learned a lot about the field of neuroscience and the scientific process used in neuroscience experiments\/research. I have also learned about the classical opera music world and how to do applied machine learning to try to crack unsolved problems. It has been particularly interesting to bring my expertise in computing to an interdisciplinary project where we are thinking about machine learning, neuroscience, and music and how this intersection can help us understand the brain in new ways. The primary learning strategy I have used to acquire this new knowledge is to discuss my project with as many people as possible and in particular those who are experts in the fields that I know less about (i.e. neuroscience and music). I give frequent updates to Professor Grover and Professor Dueck who are experts in neuroscience and music respectively and have offered significant guidance and pointers to books, papers, and other online resources which have taught me a lot. I have also learned what it is like working on an open-ended research project on a problem that is currently unsolved as opposed to implementing something which has already been done before. <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I spent most of my time outside of classes working with Professor Dueck and her collaborative pianists and singers to collect more flow state data and I also collected focus\/distracted data with Karen. I retrained both the flow and focus state models with the new data and re-ran the Shapley value plots to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/2024\/04\/20\/rohans-status-report-for-4-20\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Rohan&#8217;s Status Report for 4\/20&#8221;<\/span><\/a><\/p>\n","protected":false},"author":823,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/posts\/235"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/users\/823"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":245,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/posts\/235\/revisions\/245"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame0\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}