Advancing Machine Learning with Memristor-Based Nanodevices: Unlocking Energy-Efficient and Scalable Architectures | Synapse