-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
The embed()-method offers the .mute argument which allows us to suppress messages and output during fitting. It would be nice to also have this option for a precict()-call.
Example: it would be nice to be able to suppress the #> 2025-08-27 09... parts, without having to capture.output() them ourselves.
library("dimRed")
dat <- loadDataSet("3D S Curve", n = 500)
samp <- sample(nrow(dat), size = 75)
emb2 <- embed(dat[samp], "Isomap", .mute = "message", knn = 40)
emb3 <- predict(emb2, dat[-samp])
#> 2025-08-27 09:15:36.758322: L-Isomap embed START
#> 2025-08-27 09:15:36.759154: constructing knn graph
#> 2025-08-27 09:15:36.769243: calculating geodesic distances
#> 2025-08-27 09:15:36.885329: embedding
#> 2025-08-27 09:15:36.895886: DONEMetadata
Metadata
Assignees
Labels
No labels