Description Usage Arguments Value Examples

Calculate predictive power score for x on y

1 2 3 4 5 6 7 8 9 10 |

`df` |
data.frame containing columns for x and y |

`x` |
string, column name of predictor variable |

`y` |
string, column name of target variable |

`algorithm` |
string, see |

`metrics` |
named list of |

`cv_folds` |
float, number of cross-validation folds |

`seed` |
float, seed to ensure reproducibility/stability |

`verbose` |
boolean, whether to print notifications |

a named list, potentially containing

- x
the name of the predictor variable

- y
the name of the target variable

- result_type
text showing how to interpret the resulting score

- pps
the predictive power score

- metric
the evaluation metric used to compute the PPS

- baseline_score
the score of a naive model on the evaluation metric

- model_score
the score of the predictive model on the evaluation metric

- cv_folds
how many cross-validation folds were used

- seed
the seed that was set

- algorithm
text shwoing what algorithm was used

- model_type
text showing whether classification or regression was used

1 |

ppsr documentation built on March 2, 2021, 5:06 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.