A new LMS-based algorithm for rapid adaptive classification in dynamic environments