score_matrix: Calculate predictive power score matrix Iterates through the...

View source: R/score.R

score_matrixR Documentation

Calculate predictive power score matrix Iterates through the columns of the dataset, calculating the predictive power score for every possible combination of x and y.

Description

Note that the targets are on the rows, and the features on the columns.

Usage

score_matrix(df, ...)

Arguments

df

data.frame containing columns for x and y

...

any arguments passed to score_df, some of which will be passed on to score

Value

a matrix of numeric values, representing predictive power scores

Examples

score_matrix(iris)
score_matrix(mtcars, do_parallel = TRUE, n_cores=2)

ppsr documentation built on June 22, 2024, 7:15 p.m.