A machine learning framework for assessing post-earthquake structural safety. (May 2018)