Text this: Enhancing healthcare AI stability with edge computing and machine learning for extubation prediction