inst/elmNN/R/hardlim.R

hardlim <-
function(x) {
  y <- ifelse(x >= 0, 1, 0)
  y
}

Try the elmNNRcpp package in your browser

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

elmNNRcpp documentation built on March 18, 2022, 7:26 p.m.