Use the predict() function to generate prediction on either default test data or any other data using model rank in leaderboard and display performance metrics of the specified model.
If test data contains target column, it displays both prediction and performance metrics; otherwise, it displays only prediction.
Optional Arguments:
This function returns pandas DataFrame with prediction.