From: RANdom SAmple Consensus (RANSAC) algorithm for material-informatics: application to photovoltaic solar cells