Questions tagged [momentum]
80 questions
2
votes
3 answers
Neural Network Definitions
I am writing a neural network class and have come across two concepts I don't understand. Would anyone be able to tell me what the bias and momentum is and does

Louis
- 4,172
- 4
- 45
- 62
1
vote
1 answer
How to make an enemy follow the player with momentum in Unity?
I am a beginner in Unity developing a 2D top-down mobile game. I am trying to create an enemy movement script that mimics the pattern of the leech enemy below:
This enemy is constantly trying to move towards the player but even though it can move…

Dylbert
- 57
- 1
- 7
1
vote
1 answer
How to disable Substitution data in SparkPost Transmission API
I dont want sparkpost to substitute any data in my email Content. I am sending mails one by one (this is my use case). I am facing issues when my content has {{

user2071089
- 29
- 6
1
vote
0 answers
Is clipnorm applied before or after momentum in keras?
In Keras or Tensorflow clipnorm rescales large "gradients" to have a specific norm and clipvalue bounds all the values of the "gradient".
But what happens if you combine one of them with moemntum or something like adam? Is it applied on the gradient…

Jakob
- 1,063
- 9
- 17
1
vote
0 answers
Can not set Momentum of optimizer
I am using the SGD optimizer and want to set the momentum after initialization similar to learning rate scheduling by using tf.keras.backend.set_value(optimizer.momentum, momentumValue):…

Master Moritz
- 11
- 1
1
vote
1 answer
Chart.js parser returns the wrong date (suddenly back in 1990)
have a look at my code here. I am getting the data from backend so I am not able to manipulate them any further.
I got Chart.js as Scatter chart working, but the provided dates are parsed wrong 2020 becomes 1996 and so on.
Any idea how I get the…

Felix Weber
- 518
- 1
- 4
- 8
1
vote
0 answers
Is it possible, that the momentum chrome addon influences the css of loaded websites?
When I opened up my website I noticed that the css was not loaded correctly.
I tried to reload the cache but nothing changed.
When I disabled the momentum chrome addon my website loaded correctly.

Karsten Krusche
- 11
- 1
1
vote
0 answers
pytorch - GroupNorm with momentum
After looking at the documentation of pytorch I couldn't find the module of GroupNorm with momentum, there is only an implementation which doesn't use it (which is useless to me since I would want to use AdaBN, or AdaGN I should say).
Therefore my…
user6199298
1
vote
1 answer
Two-dimensional collision with two moving objects
I am working on a two-dimensional collision with two moving objects. Its very simple. I have two spheres which have different geometry and mass. They colide at 45° angle. I need to calculate the velocity vectors of both spheres after the colision. I…

Nejc
- 17
- 5
1
vote
0 answers
How to fine tune hyper-parameters of momentum optimizer?
There are several optimizers in training of neural network. But the Momentum and SGD seem always better than adaptive methods.
Now I am writing a program in tensorflow to reproduce the results of others. They use momentum to train in pylearn2. But…

Kai He
- 48
- 8
1
vote
0 answers
Why do small tweaks to the momentum constant affect SGD results so greatly?
So I'm just playing around with Keras, and decided to make a simple neural network to do univariate linear regression. (epochs=25, lrate=0.001, decay=100). I notice that when I set momentum in [0.7, 0.9], the r^2 of my regression is always >0.95,…

user49404
- 732
- 6
- 22
1
vote
0 answers
Conservation of angular momentum
I'm working on a 2D physics engine in C#.
I've got everything working other than resolving rotation during collisions.
I have what I thought was a solution but it causes the objects to bounce insanely high and spin at high speed.
I calculate the…

Scott Richmond-Wood
- 11
- 4
1
vote
1 answer
Smoothly change direction of an SKPhysicsBody's momentum
I have an SKPhysicsBody in my scene that I apply an impulse to whenever the user presses a button to make it move forwards. Due to it's properties, it doesn't move much with a single tap and slows down fairly rapidly, however with multiple taps it…

Max Chuquimia
- 7,494
- 2
- 40
- 59
1
vote
2 answers
Backpropagation with Momentum using Scikit-Learn
I'm trying to use Scikit-Learn's Neural Network to classify my dataset using a Backpropagation with Momentum. I need to specify these parameters: Hidden neurons, Hidden layers, Training set, Learning rate and Momentum.
I found MLPClassifier in…

kbonnelly
- 189
- 1
- 1
- 11
1
vote
0 answers
Building portfolios in R:
I tried to ask a similar question earlier, but I see now that it lacked information needed to answer it, so I've tried to make a replicable example now.
I want to test the momentum theory on a stock market, and therefore has to make some momentum…

Alfemann
- 51
- 1
- 3