def testplot(yt, pred):
    """
    Author: Aru Raghuvanshi

    This function plots Predictions against Truth Values
    of the Algorithm. Best used for Regression Models.

    Arguments: truth, pred
    Returns: Plot

    """
    import matplotlib.pyplot as plt
    plt.style.use('seaborn')
    xaxis = range(1, yt.shape[0] + 1)
    plt.figure(figsize=(15, 6))
    plt.scatter(xaxis, yt, color='green', label='Truth Data', marker='o')
    plt.plot(xaxis, pred, color='limegreen', label='Prediction')
    plt.xlabel('Test Observations', fontsize=14)
    plt.ylabel('Predictions', fontsize=14)
    plt.title('Truth Vs Predicted', fontsize=16)
    plt.legend(fontsize=15, loc=4)
    plt.show()
