kdmalc / fl-gestures

Develop a personalized sequential federated learning algorithm for real-time gesture classification
1 stars 0 forks source link

Implement standardization/normalization before dim reduc #9

Closed kdmalc closed 3 weeks ago

kdmalc commented 1 month ago

Run the dim reduc eval metric on the reduced forms of both 1) the non-normalized and 2) the normalized (to see which is better). Can also compare against just the mean-subtracted reduced as well.

Eventually repeat this but for the clustering results (eg does normalization affect the clustering results).

kdmalc commented 1 month ago

Make sure that you split this for IMU and EMG. Eg in the combined case (we may end up just doing EMG), run mean subtraction on just the EMG portion, and then mean subtraction on just the IMU portion. And standardize separately

kdmalc commented 1 month ago

Momona said to use her standardization scheme from her UIST paper. Idk what that is. I'll ask her for it / for the code ig. She said the other standardization methods didn't work (assuming she meant they gave bad results)

kdmalc commented 3 weeks ago

I added this in utils.preprocessing.py, but all the NBs (the early ones like 200/300, not sure if it comes up elsewhere) need to be switched to using this. Use Standard Scaler (is currently an option you can toggle with a string).