| net_deprune | R Documentation |
Restores the original (pre-pruning) weights of a network pruned by
net_prune, without recomputation. The pruning record is kept,
so net_reprune can re-apply it.
net_deprune(x, ...)
## S3 method for class 'netobject'
net_deprune(x, ...)
## S3 method for class 'netobject_group'
net_deprune(x, ...)
## Default S3 method:
net_deprune(x, ...)
x |
A pruned |
... |
Ignored. |
The network (or group) with original weights restored and its pruning marked inactive.
net_prune, net_reprune
seqs <- data.frame(V1 = c("A","B","C"), V2 = c("B","C","A"),
V3 = c("C","A","B"))
net <- build_network(seqs, method = "relative")
pruned <- net_prune(net, threshold = 0.2)
net_deprune(pruned)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.