ProjectSamples: Projects new samples onto existing factor decomposition

Description Usage Arguments Value

View source: R/nmf.R

Description

Projects new samples onto existing factor decomposition

Usage

1
2
ProjectSamples(newdata, W, features.use = NULL, alpha = rep(0, 3),
  loss = "mse", n.cores = 1)

Arguments

newdata

New data matrix

W

Existing feature loadings

features.use

Subset of features to use (default is all features)

alpha

Regularization parameter

loss

Loss function to use

n.cores

Number of cores to use

Value

H matrix (scores) for newdata


yanwu2014/swne documentation built on Dec. 7, 2018, 8:55 a.m.