top | item 38589813

(no title)

telmo | 2 years ago

You mean functions such as:

   if x > 0:
       return x
   else:
       return 0

?

discuss

order

mort96|2 years ago

That's one example of a nonlinear function, yes. You also have (eˣ)/(1+eˣ), or (e²ˣ-1)/(e²ˣ+1), or a host of others which don't contain anything if-like at all.

telmo|2 years ago

My somewhat snarky point was that there is no magic distinction such as:

> These were not AIs but rule-based systems with if elses.

I believe I already made my point with the ReLU example, if you don't want to concede it that is also ok.

Matumio|2 years ago

That's RELU, which clearly belongs to the realm of AI. Dangerous stuff.

telmo|2 years ago

It's almost like a chose the example on purpose ;)