% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prune.R
\name{net_deprune}
\alias{net_deprune}
\alias{net_deprune.netobject}
\alias{net_deprune.netobject_group}
\alias{net_deprune.default}
\title{Undo Network Pruning}
\usage{
net_deprune(x, ...)

\method{net_deprune}{netobject}(x, ...)

\method{net_deprune}{netobject_group}(x, ...)

\method{net_deprune}{default}(x, ...)
}
\arguments{
\item{x}{A pruned \code{netobject} or \code{netobject_group}.}

\item{...}{Ignored.}
}
\value{
The network (or group) with original weights restored and its
pruning marked inactive.
}
\description{
Restores the original (pre-pruning) weights of a network pruned by
\code{\link{net_prune}}, without recomputation. The pruning record is kept,
so \code{\link{net_reprune}} can re-apply it.
}
\examples{
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)
}
\seealso{
\code{\link{net_prune}}, \code{\link{net_reprune}}
}
