serialized classifier