Although early jazz music featured a great deal of improvisation, this improvisation did not stray too far from the rather simple, catchy melodies upon which it was based
So, however interesting it may be, later music featuring improvisation that strays far from the melody ought not to be classified as jazz
Many types of music other than jazz feature a great deal of improvisation.