At the Confluence of Artificial Intelligence and Edge Computing in IoT-Based Applications: A Review and New Perspectives | Synapse