def _get_model_features(model_pipe):
    """Get features from a `civis.ml.ModelPipeline`
    """
    model_features = []
    target_cols = model_pipe.train_result_.metadata['data']['target_columns']
    for feat in model_pipe.train_result_.metadata['data']['column_names_read']:
        if feat not in target_cols:
            model_features.append(feat)

    return model_features