score_matrix {ppsr}R 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)

[Package ppsr version 0.0.5 Index]