Identification of high-reliability regions of machine learning predictions in materials science using transparent conducting oxides and perovskites as examples