Classifying ocean profiles with machine learning algorithms