powered by
Returns the Fm (transposed) matrix from the matrix factorization Xm*Fm.
# S3 method for TRMF coef(object, ...)
a trained TRMF object.
other arguments.
the coefficient matrix, t(Fm)
create_TRMF, TRMF_columns, TRMF_trend
create_TRMF
TRMF_columns
TRMF_trend
# NOT RUN { xm = poly(x = (-10:10)/10,degree=4) fm = matrix(runif(40),4,10) Am = xm%*%fm+rnorm(210,0,.2) # create model obj = create_TRMF(Am) out = train(obj) coef(out) # }
Run the code above in your browser using DataLab