Two frameworks for reliable machine learning in biology and medicine