(and sorry if I seem insensitive, and I'm sure there are women (and men, and gays, and blacks, etc) that have been victimized, but for the last few years, I've found that the 'segregated' events end up being more and vile than the mixed ones)
Removing men doesn't fix this problem as there will still be women coming to the even who don't love the topic but again love the crowd.
I'd say just keep the technical discussion at levels that exclude those who don't care about the topic. Those who are actually really interested will stick around and ask questions, those who are there for an image or for hooking up wont be bothered.
Works great in the ham communities (speaking from a just learning perspective). I usually only understand 10-30% of what all the gray haired individuals around me are talking about, but whenever I ask a question I always get a great answer and explanation. People who don't care to ask and just care to show up and look cool don't last too long. It's basically them opting in to sit in on a Fields lecture.