scorepred: Given a set of projected scores and a set of reference...

Description Usage Arguments

View source: R/scorepred.R

Description

Given a set of projected scores and a set of reference scores, compute one of several performance metrics.

Usage

1
2
3
4
5
6
7
scorepred(
  fscores,
  scores,
  type = c("class", "prob", "scores", "cosine", "distance", "r2"),
  ncomp = ncol(fscores),
  class_name = TRUE
)

Arguments

fscores

the projected scores to be compared to the reference scores

scores

the original scores from the fitted model

type

the type of metric to compute

ncomp

the number of dimensions to use


bbuchsbaum/neuropls documentation built on Dec. 9, 2020, 7:02 p.m.