def predict(model, test_x):

    """
    The method predicts labels for testing samples by using trained model.

    Parameters
    ----------
    model: trained model
    test_x: features of testing data
    """
    return model.predict(test_x)