Machine Learning Based Panel Data Models With Two