The opposite result (predicting sex but not gender) would also be interesting but less so
I disagree. It could be wildly interesting if somebody born a male got a scan and it revealed a female brain. Dunno if “anti-trans” people would agree then that a sex-change is valid or if they’d disagree and start finding other excuses.
I don’t think that’s a fair comparison. Height is a single value. If you trained an AI on that, it would be guessing. A brain has many, many more parameters to take into consideration when going into an artificial neural network.