def predict(classifier, x_train_test, real_test):

    """
    The method makes two predictions:
       - First prediction is for last 20 samples of training data
       - Second prediction is for testing data

    Parameters
    ----------
    classifier: trained model
    x_train_test: features of last 20 samples of training data
    real_test: features of testing data
    """

    predictions1 = classifier.predict(x_train_test)
    predictions2 = classifier.predict(real_test)
    return predictions1, predictions2