Intelligent algorithms for ultrasound-based diagnosis of endometriosis