R/WeightNet.R

WeightNet <-
function(net, weight, thw=0){
  wtemp = weight > thw
  nnet = net * wtemp
  return(nnet)
}

Try the XMRF package in your browser

Any scripts or data that you put into this service are public.

XMRF documentation built on May 2, 2019, 8:18 a.m.