Frontend for classifier