Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

biolearn.mortality.run_predictions#

biolearn.mortality.run_predictions(data, predictors_dict)#

Runs predictions using a collection of models from the model gallery specified in predictors_dict and returns a DataFrame with the results.

Parameters:
  • data (GeoData) – GeoData object used for predictions

  • predictors_dict (dict) – A dictionary where keys are model names and values are lists of column names in the prediction output to be used. ex (“Horvathv1”: “Predicted”)

Returns:

A DataFrame containing predictions from each model.

Return type:

pd.DataFrame

Examples using biolearn.mortality.run_predictions#

Exploring the Challenge Data

Exploring the Challenge Data