basic classifier without feature hashing