add ml classifier into pipeline