filtering out blanks in class_lm_cluster.py