Similar Items: The application of artificial intelligence and the Internet of Things in optimizing the effectiveness of agile teaching