A MACHINE LEARNING APPROACH TO NONLINEAR RESPONSE ANALYSIS OF STRUCTURES