Real-time multi-class signal quality assessment of photoplethysmography using machine learning technique