Classification of labour contractions using KNN classifier