fix code style in core/classifier