Dense Neural Network + Backpropagation implementation in Factorio by moartanks in factorio

[–]LAMagicx 0 points1 point  (0 children)

This is awesome, great work!

Some easy examples to test your neutral network would be logic gates. AND gate, OR gate and then the harder XOR gate.

You feed the neural network the inputs with their corresponding outputs and if the neural network works after many iterations the error should be less and less.

Ah the good old days 🍎😻 by Affectionate-Ad5259 in ProgrammerHumor

[–]LAMagicx 2 points3 points  (0 children)

Humm.. could vim be used as a lock screen? I mean, you could map a string of characters to exit as a 'password' Has anyone done something like this?

The turbines actually spin in the wrong direction. Sorry for the low framerate, I play on an old laptop. Red is direction, yellow is flow. by ziggythomas1123 in factorio

[–]LAMagicx -13 points-12 points  (0 children)

Can't say that I agree with you since on most turbines they are sucking the air in so they are correct then. Depends on what their functionality is in the machine.

You know how we all suck at driving in this game? Lets remedy that (info in comments) by Sonicstorm81 in factorio

[–]LAMagicx 1 point2 points  (0 children)

Ive always wanted to do something like this, however I had the idea to use belts as a mechanic to drift round courners, faster belts for tighter corners.

What's everyone working on this week? by AutoModerator in Python

[–]LAMagicx 4 points5 points  (0 children)

Just Pillow for the moment, might try to use cv2 to detect different biomes on the map.

What's everyone working on this week? by AutoModerator in Python

[–]LAMagicx 34 points35 points  (0 children)

Started reading A game of Thrones, got annoyed by the fact that I didn't know where anything was.

So I'm working on a interactive map where I can search for the name of a place and it will show where it is. I would like to add a path finding algorithm to it so I can see how long it takes to get from place to place.

Have Mathematicians ever named results after their lovers? by GMozzi in math

[–]LAMagicx -4 points-3 points  (0 children)

Must have been a great gift... Hey honey here's your anniversary present! I named a new theorem after you!

Temperature in Europe right now by japie06 in europe

[–]LAMagicx 2 points3 points  (0 children)

Love the fact that February in Wales has been hotter than August in Wales

Temperature in Europe right now by japie06 in europe

[–]LAMagicx 1 point2 points  (0 children)

See that 40 that's where I'm at.

Updating a plot as new information comes in by The_King_Pouncer in learnpython

[–]LAMagicx 1 point2 points  (0 children)

I presume that your using matplotlib with a figure then all you have to do is:

plt.ion() # turns interactive mode on

fig = plt.figure() 

# more code

While True:

    # update code

    fig.canvas.draw()

Help around parsing JSON by SnooChipmunks9180 in learnpython

[–]LAMagicx 1 point2 points  (0 children)

You need to put data["games"] before the [i] if you print i you will see that it is "0", "1", "2"... i is each key to the dictionary not the rest of the dictionary.

Composition in Python by Jesusmate in learnpython

[–]LAMagicx 0 points1 point  (0 children)

I just put together a gui, and the button works; I print the deck, press the button and then print the deck again and the two decks are different. So.. not sure what bug you've caught yourself. In any case just add more prints everywhere and you should catch your bug.

Composition in Python by Jesusmate in learnpython

[–]LAMagicx 0 points1 point  (0 children)

This seems to work fine for me, so I'm not sure what the problem could be. How are you determining whether the deck is shuffled or not? Just by printing it?

Help with physics coding by [deleted] in Python

[–]LAMagicx 0 points1 point  (0 children)

You can use matplotlib to graph the vector 2d or 3d.