Text this: Enhancing cross entropy with a linearly adaptive loss function for optimized classification performance