Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world

44 replies

lemmy.world

More accurately:
>looks inside
>matrix multiplication

185
Gladaedreply
feddit.org

Max(input*weights, 0) is an if in a sense, I guess.

28
mrchampionreply
lemmy.world

Good old ReLU. I've heard that CNN's perform better when using ReLU as the activation func, and that's probably why; ReLU acts as a filter on the image's features.

4

Nah. Without a nonlinearity you just get a linear combination of inputs instead of the output of a deep neural network. ReLU or Ramp is just the simplest possible non linearity. Using a simple function can enable using deeper networks yielding even better performance.

It's actually somewhat of a headache, numerically. Works well enough tho.

9
Epzillonreply
lemmy.world

Yes, it is inherently incorrect, I just think that increases the fun factor. It reminds me of that guy who wrote a prime-checker for his thesis and it was just a massive list of if-statement

14

98% accurate prime checker, super fast

isPrime() return False;

35
Rhaedasreply
fedia.io

A transistor is on or off. It's all if-then.

5
Viceversareply
lemmy.world

No, it's more elemental: it's all ands , ors and nots

4

Boolean math let's you convert it all to nand gates. For ease of manufacturing this is what is done.

4

Had one guy asking if AI is conscious. I said the whole thing is actually one very big excel sheet, so does he think that excel can be conscious? Anyway, I think the guy is now in a relationship with office.

13
glibg10breply
lemmy.zip

Matrix multiplication, activation functions and softmax. Also some matrix addition sometimes. That's literally it

10

I mean yeah, the mechanism itself is straightforward, but isn't a big thing that we don't really know what it chooses for its... basis vectors? Something like that, I don't do programming and I'm out of practice with matrices

1
fedia.io

The human brain is far too complex to understand

looks inside

it's just meat

118
lemmy.world

The brain isn't meat, it's fat, and is known to turn to soap under the right conditions. Which coincidentally also explains the soapy tiddy memes.

61
lemmy.world

That was old AI.

New AI uses a complex, multi-layer sequence of Magic 8-balls.

74
marcosreply
lemmy.world

That's a common misconception. It is a complex multi-layer sequence of heavily biased Magic 8-balls.

26

I wouldn't be surprised if some stuff (as in architecture) was solved by querying a different model to solve a problem

4

I would be heavily more inclined to use LLMs (and also probably use it in a more correct manner) if it came in the physical form of a magic 8-ball that I would violently shake to get the answer.

1
lemmy.world

You don't have to be an AI developer to not understand your code. I not understand my code every day.

68

Yes it's not even for loop and if. Just multiplication and addition.

9

You're forgetting the activation function to break linearity, otherwise you can only model linear trends. Many activation functions have "if" hidden in them (e.g. ReLU with the "max").

2

come on, it’s not that simple!

there’s also linear algebra

32
fedinsfw.app

Have you ever tried to follow five hundred nested for loop and if statements? Shit is nuts...

26
lemmy.world

Oh, just wait till you hit that sweet sweet python "Everything can have an else block"

if some_shit:
    try: 
        for stuff in thing:
             if stuff is bad:
                  raise ShitHitTheFanError
             # Massive block comment
             do = the_thing()
             if do is good:
                  break
        else:
            do = the_other_thing()
            if not a_thing:
                help_me() # May raise NoHelpFoundError
    except ShitHitTheFanError:
         my_life = recover()
         if my_life is bad:
             for fuck in my_life:
                  try:
                      fix(fuck)
                  except NoHelpFoundError:
                      break
             else:
                  fuck_this_shit()
    else:
         wat_is_going_on()
else:
    theres_another_one("?")
15

I'm a network engineer lol python is all I know... and yup, the else is a curve ball from hell

But this is absolutely fucking hilarious

7

Conway's Game of Life is Turing Complete and that fact has been fucking with my mind for like 25 years.

4

If this is true then everything is fine.

Edit: Damn, I'm part of the problem, right?

9
Epzillonreply
lemmy.world

I mean, without if statements and loops theres no logic? It would only be flat code, so i mean... Yeah?

2

ml is not a hard coded set of if-else pairs. it's a glorified fit with a lot of parameters.

6

repeat that for like one hundred billion times and now THAT's innovation

1

You reached the end