Shape characteristic in ggplot2

Move the shape argument to the aes() of geom_point. I.e ,
ggplot(training_data_set_only, aes(E,t))+
geom_point(aes(shape=Category))+
geom_smooth('lm', se=F)

Whatever is in ggplot() can be inherited by certain subsequent layers.