I don't know if it could be blamed on an algorithm. Some of the companies (MS was one) even hosted parties for the female members of IEEE and ACM. Took them out to their campus, free meals, mock interviews, free swag, networking events. But they where female only events.