Data-preprocessing for Machine Learning model
You should definitely not use one hot encoding with values which represent numbers, as this removes the natural order between your intervals.

So these values should be represented as numbers:


Either with the average of the limits indeed
Or a simple integer encoding of the intervals, e.g. tumor sizes 0-4, 5-9, 10-14,... would be represented as 0,1,2,...