upgraded kan-ken classifier