evanwang1990 / FMwR

FMwR: A Library of Factorization Machines in R Based on libfm
GNU General Public License v3.0
7 stars 3 forks source link

calling wrong object in fm_update.R #7

Open tyokota opened 7 years ago

tyokota commented 7 years ago

running the fm_update() runs into an error looking for fm_fitmodel object. Error is triggered if saving model under a different name. On line 60 of fm_update.R, looks like fm_fit was hard coded into function rather than object?

normalize <- which(fm_fit$Scales$mean != 0 & fm_fit$Scales$std != 1)