def get_predictions(model, X_train_orig, y_train_orig, X_test_orig):
    """
    Obtain probability and class predictions for a given dataset and model

    Parameters
    ----------
    model : object with a fit, predict, and predict_proba method function
        Machine learning model from which to produce predictions
    X_test_orig : pandas DataFrame
        Dataframe with features from which to produce a prediction
    y_train_orig : list or pandas series
        Target variables to train model on
    X_train_orig : pandas DataFrame
        Testing values from which to validate model

    Returns
    -------
    Tuple
        Two lists: the class (1 or 0) predictions and the probability predictions
    """
    model.fit(X_train_orig, y_train_orig)
    y_pred_class = model.predict(X_test_orig)
    y_pred_prob = model.predict_proba(X_test_orig)
    y_pred_prob = [elem[1] for elem in y_pred_prob]

    return y_pred_class, y_pred_prob