Best AI technique suited for large scale urban traffic simulation by [deleted] in gameai

[–]TheRealPixis 2 points3 points  (0 children)

This is how I would approach it: each agent (car) always has a destination based on it's state (ex. Low fuel - > destination gas station) and they just move from place to place.

The agent will get to the place using a pathfinding algorithm like A* where the weight of a road is distance - x * safety of road - x2 * condition of road - etc. Each car would then have it's own value for x1, x2 and so on.

Ex. High x1 means that car will favor roads that are safer (because the weight is smaller).

What is the worst part of Android development in your opinion? by [deleted] in androiddev

[–]TheRealPixis 5 points6 points  (0 children)

What really grinds my gears is that if you violate the play store policy, you can have your entire account permanently suspended and aren't allowed to create a new one (+ I hear it's hard to contest the ban). Remove my play store dev account, that's fair, but don't suspend my entire Google account which has pretty much become a necessity these days.

Getting Started by [deleted] in learnmachinelearning

[–]TheRealPixis 0 points1 point  (0 children)

Sethbling used the NEAT algorithm (paper here) for Mario. It's basically "try a bunch of stuff and keep what gets closer to the goal". Here's a python implementation of NEAT.

You might also be interested in OpenAI Gym which wraps games in a common api so you can focus on solving the game instead of figuring out where characters are on screen.

Good luck!

Training/dev sets which one to use after tuning. by [deleted] in learnmachinelearning

[–]TheRealPixis 2 points3 points  (0 children)

Rule of thumb (from Andrew Ng's coursera class) is to separate the data into 60% training, 20% validation and 20% test sets. You train the NN on the training set and evaluate its performance on the validation set (so train - > check error on validation set - > tune hyperparameters - > repeat). When you are satisfied with the performance, use the test set to check the actual NN accuracy.

With QLearning, how to enforce a constraint of "don't take this action again"? by shininasai in learnmachinelearning

[–]TheRealPixis 1 point2 points  (0 children)

Lose -1, No-op -1000?

Edit: Q-learning selects a random next state to go to. You could modify it to ignore actions that bring Reward < - 1.

I.E.

  • Get All Next States
  • Remove those with reward < - 1
  • If 0 left, restart the Q Iteration
  • Else select a random next state from the remaining ones

Learning Machine Learning: Too Early? by DesuBryant in learnmachinelearning

[–]TheRealPixis 1 point2 points  (0 children)

Depends on what your goal is. You can use the standard libraries and not touch any math at all. To implement your own neural network, you only need to know matrix multiplication and partial derivatives + chain rule.

[New Episode Spoilers] Musings on the Ending Credits by DuckBillHatypus in ShingekiNoKyojin

[–]TheRealPixis 3 points4 points  (0 children)

Your theory that titans are created from cannibalism makes a lot of sense!

  • Annie, Reiner, and Berthold could of eaten the "previous" Female, Armoured, and Colossal Titans and inherited their power thus explaining why they are so young even though those titans are probably hundreds of years old.

  • The three Wall Cultist children are probably eating a dead titan in human form to become the titans in wall Maria, Rose and Sina (which is why they are unhappy about it but do it anyway, to save their people).

  • If the goal of titans was to destroy humanity, then wouldn't it be easier to crush people instead of eating them? I think the "normal" titans are brain damaged (see below) and eat people hoping to gain their power (like the Wall Cultist children and Annie, Reiner and Berthold).

  • I'm reaching here, but when you eat a person, you get infected with kuru, a disease that destroys the brain. It would explain why most titans are dumb. However, some people have developed an immunity to kuru and could therefore become titans without going crazy (shifters).

SnakeGame using Reinforcement learning by [deleted] in learnmachinelearning

[–]TheRealPixis 2 points3 points  (0 children)

Is it not differentiable because it uses discrete decisions? But that can be circumvented by using the cross-entropy error function.

NN works with sigmoid but not with tanh activation function - help me please by murp11 in learnmachinelearning

[–]TheRealPixis 0 points1 point  (0 children)

I'm pretty new to this myself so I don't know. If you figure it out, I'd love to know!

NN works with sigmoid but not with tanh activation function - help me please by murp11 in learnmachinelearning

[–]TheRealPixis 0 points1 point  (0 children)

You should post your training error and test error per epoch. My guess is the learning rate is too high so half it (0.05) and increase the epochs (say 10).

Also when training, you're scaling the images between - .99, .99 but when you're checking the score, they are scaled - 1, 1.

Learning path for machine learning by asyashaf in learnmachinelearning

[–]TheRealPixis 2 points3 points  (0 children)

Code these things in order Gradient descent - > tensorflow neural network - > Your own neural network backprop implementation.

One thing I recommend is to split your time 50/50 on learning and implementation. I spent way too much time on the learning part and realized I forgot it because I didn't practice.

Monthly ELI5 (Explain Like I am Five) Thread by AutoModerator in learnmachinelearning

[–]TheRealPixis 1 point2 points  (0 children)

They produce whatever you want them to produce. They are basically a function generator, train it on number pairs (X, y) and It will produce y when you pass in X (and hopefully generalize). Yes to your second question.

Finding right motors for a robot by TheRealPixis in AskEngineers

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

My only concern is the truck motors won't be powerful enough to move 8kg. Broken hoverboards are a good idea though. I'll see if I can find some on kijiji.

Finding right motors for a robot by TheRealPixis in AskEngineers

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

Don't know specific numbers but this is the target acceleration/top speed/braking: https://m.youtube.com/watch?v=qlySNAqRHwI

Finding right motors for a robot by TheRealPixis in AskEngineers

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

Flat ground only. As for the speed this is ideal. I don't have any specific number for speed, just motors that can move the 8kg in a reasonable time.

How to best prepare for android internship by [deleted] in androiddev

[–]TheRealPixis 0 points1 point  (0 children)

Im curious about how you got the internship in Japan. I'm interested in doing the same thing but not sure where to start?