I have two questions:
1) I have images and I must predict a continuous value.
What is the approach I must follow?
Use for example a pretrained network like this?
last_layer = pretrained net x = Flatten()(last_layer) x = Dense(512, activation='relu')(x) x = Dropout(0.4)(x) predictions = Dense(1)(x)
So, just use a Dense layer at the end with 1 node?
and then procees to prediction as usual?
2) If I have again a numerical values to predict but it is ordinal.
If I want to go with regression in this case, can I work like in previous example?
And just assign some probabilities to the result?
If result >0 and <=0.5 then classify as 0 If result >0.5 and <=1 then classify as 1
and so on?