Open silky opened 6 years ago
hoe 'map (tanh . (\x -> (x - 500)/50)) [0..1000]' | plot
hoe 'map (tanh . tanh . (\x -> (x - 500)/50)) [0..1000]' | plot
hoe 'map ((\r -> if r > 0 r else 0) . tanh . (\x -> (x - 500)/50)) [0..1000]' | plot
hoe 'map ((\r -> if r > 0 then r else 0) . tanh . (\x -> (x - 500)/50)) [0..1000]' | plot
hoe 'map (tanh . (\r -> if r > 0 then r else 0) . tanh . (\x -> (x - 500)/50)) [0..1000]' | plot
hoe 'map (tanh . (\r -> if r > 0 then r else 0) . tanh . tanh . (\x -> (x - 500)/50)) [0..1000]' | plot
hoe 'map (tanh . (\r -> if r > 0 then r else 0) . tanh . sinh . (\x -> (x - 500)/50)) [0..1000]' | plot
hoe 'map (tanh . (\r -> if r > 0 then r else 0) . tanh . (\s -> exp s / (exp s + 1)) . (\x -> (x - 500)/50)) [0..1000]' | plot
or more generally, a function composer
relu
look like?relu . tanh
?and so on, indefinitely and arbitrarily.
some features: