On the in vivo recognition of kidney stones using machine learning