Generalizable Sensor-Based Activity Recognition via Categorical Concept Invariant Learning