Machine-Learning Solutions for the Analysis of Single-Particle Diffusion Trajectories