I'm trying to understand what level of measurement is best for describing the 'number of rooms in a flat' feature.First of all, I think it's not a continuous feature, because rational values like 1.42, for example, don't make sense.To decide whether a feature is categorical or nominal, we should try to find an ordering between values. And here is my question: should we look for an order with respect to the response feature (in my case 'Price of a property')?We can say a '1-room flat' is cheaper than a '2-room flat', and so on. But that is not always the case. In general, maybe it's true, but there are cases when a '1-room flat' in the city centre is way more expensive than the one further away.So, a can't decide which representation to choose - categorical or nominal.
Categorical, nominal or continuous variable?
categorical data