Physics-based data-driven modeling of composite materials and structures through machine learning