fix wrong ref to _cache_lh_value in naive bayes classifier