Closed topepo closed 7 years ago
I just saw, that the feature is completely undocumented and hides in some examples. I will make a predict and inverse function for the next release, but for now you can use (for supported methods only):
emb <- embed(loadDataSet("Iris")[1:50], "PCA")
pred <- emb@apply(loadDataSet("Iris")[51:150])
emb@inverse(pred)
Excellent. I'm writing (another) feature pre-processor that includes signal extraction, so I'll keep an eye on your updates and will post questions here if they come up.
Thanks
just pushed the predict and inverse functions, they are documented with the dimRedResults class
Can you add a functions or classes that will allow the model to be estimated from a data set and then applied to any other data set? This wouldn't work for every method (e.g. MDS) but would be extremely useful.
For example, with PCA:
Thanks