Machine learning and control methodologies with applications to medical computing