Machine learning for magnetic resonance image reconstruction and analysis