Analyzing the effectiveness of MEMS sensor and IoT in predicting wave height using machine learning models