This document addresses the challenges and performance issues of traditional TCP protocols in high-speed networks, particularly regarding packet drops attributed to congestion. It proposes a k-nearest neighbors (k-NN) based module to differentiate between packet drops caused by congestion and those due to channel errors, demonstrating improved throughput after integration with the cubic TCP algorithm. The findings highlight the necessity for intelligent mechanisms in congestion control to optimize bandwidth utilization under noisy conditions.