Open poetair opened 2 years ago
The original function involves a lot of repeated operations, and when the number of features is large, it takes a lot of time. Using a dict R to store the calculated correlation values can improve the speed by 1-2 orders of magnitude.
The original function involves a lot of repeated operations, and when the number of features is large, it takes a lot of time. Using a dict R to store the calculated correlation values can improve the speed by 1-2 orders of magnitude.