Learn R Programming

ppsr (version 0.0.5)

score_matrix: 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, ...)

Value

a matrix of numeric values, representing predictive power scores

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

Examples

Run this code
score_matrix(iris)
score_matrix(mtcars, do_parallel = TRUE, n_cores=2)

Run the code above in your browser using DataLab