generate classifier both module mode and script mode