The adjective 'unexpected' is being used substantively. This occurs frequently in English, e.g., 'Only the good die young'. The adjective is not, strictly speaking, functioning as a noun (although it is a nounal phrase) -- the noun still exists for the purposes of grammar, but it has been elided.