change classifier model API