Data-driven structural analysis