Text this: STID-Net: Optimizing Intrusion Detection in IoT with Gradient Descent