Machine learning approach for flexural characterization of smart material