An active machine learning method for discovering new semiconductors