ProjectFeatures: Projects new features onto existing factor decomposition

View source: R/nmf.R

ProjectFeaturesR Documentation

Projects new features onto existing factor decomposition

Description

Projects new features onto existing factor decomposition

Usage

ProjectFeatures(newdata, H, alpha = rep(0, 3), loss = "mse", n.cores = 1)

Arguments

newdata

New data matrix

H

Existing factor scores

alpha

Regularization parameter

loss

Loss function to use

n.cores

Number of cores to use

Value

W matrix (feature loadings) for newdata


yanwu2014/swne documentation built on Aug. 5, 2023, 4:42 a.m.