The cascading neural network: building the Internet of Smart Things