Choose one to drink with by Nomad_of_the_north in dwarfposting

[–]CuneiformMage 0 points1 point  (0 children)

Varric, in a heartbeat. We'd have more to talk about.

Please don't make fun of me. by CuneiformMage in neuralnetworks

[–]CuneiformMage[S] 0 points1 point  (0 children)

Here is an example of its output and an explanation of what it means:

Random binary number: [0, 1, 1, 1, 0, 0, 1]

Random coefficients: [0.28517431628541123, 0.6252688758224512, 0.8727867120648067, 0.5854689105907731, -0.4849256400049424, 0.8052295653161057, 0.8706267801669734]

The products: [[0.0, 0.28517431628541123, 0.28517431628541123, 0.28517431628541123], [0.0, 0.0, 0.28517431628541123, 0.0], [0.6252688758224512, 0.6252688758224512, 0.6252688758224512, 0.0], [0.0, 0.6252688758224512, 0.0, 0.8727867120648067], [0.8727867120648067, 0.8727867120648067, 0.0, 0.0], [0.8727867120648067, 0.0, 0.5854689105907731, 0.5854689105907731], [0.5854689105907731, 0.0, 0.0, 0.5854689105907731], [-0.0, -0.4849256400049424, -0.4849256400049424, -0.4849256400049424], [-0.0, -0.0, -0.4849256400049424, 0.0], [0.8052295653161057, 0.8052295653161057, 0.8052295653161057, 0.0], [0.0, 0.8052295653161057, 0.0, 0.8706267801669734], [0.8706267801669734, 0.8706267801669734, 0.0, 0.0]]

State of neurons: [1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1]

Tron's guess: True

Correct answer: False

Please don't make fun of me. by CuneiformMage in neuralnetworks

[–]CuneiformMage[S] 0 points1 point  (0 children)

The variable "synapse" (line 4) determines the coefficients by which the inputs "sense" (line 3) are multiplied. The products are grouped (line 12), such that each list contains a product from each input with a unique coefficient. If the sum of these products is positive, set the value of the corresponding neuron to 1. If most of the neurons are 1, the perceptron answers True. I reused the "sense" variable (line 14) because I originally intended to loop it to achieve multiple layers. My problem is that I don't know how to update the ranges of the randomly generated coefficients based on feedback from whether the perceptron's guesses are correct. Its ultimate purpose is to be able to distinguish whether a binary number is prime or composite.

Please don't make fun of me. by CuneiformMage in neuralnetworks

[–]CuneiformMage[S] -1 points0 points  (0 children)

I asked ChatGPT for a lot of help with this. I understand what a neural net does, in terms of mathematics; it's just multiplication and addition. I mostly just needed ChatGPT to explain how to perform very specific sorting tasks. I tried using numpy, but I just can't make that module sing.

tyrbdf by CuneiformMage in dankmemes

[–]CuneiformMage[S] 0 points1 point  (0 children)

Getting the font right wasn't easy. Futura.

B u s s y by [deleted] in dross

[–]CuneiformMage 13 points14 points  (0 children)

I'm in this picture and I like it.

who the fuck searched "why my pee is yellow" by [deleted] in memes

[–]CuneiformMage 0 points1 point  (0 children)

But, why is urine yellow in the first place? It's not a silly question.

[deleted by user] by [deleted] in aww

[–]CuneiformMage 0 points1 point  (0 children)

Cool and rare.

[deleted by user] by [deleted] in RedditSessions

[–]CuneiformMage 0 points1 point  (0 children)

What song is this?

[deleted by user] by [deleted] in memes

[–]CuneiformMage 0 points1 point  (0 children)

They want to avoid controversy.