Text this: A secure edge computing model using machine learning and IDS to detect and isolate intruders