Questions tagged [momentum]
80 questions
3
votes
1 answer
Changing an optimisers momentum in pytorch
I know you can change the learning rate dynamically in pytorch using schedulers. How can you do the same with momentum?

RetAFVLib
- 176
- 1
- 2
- 13
3
votes
1 answer
Scroll events during momentum scrolling in Cordova for IOS
Variations of this question have been asked before (e.g. here and here), but with no conclusive answers yet.
Is there a way to get scroll events to trigger (and use these listeners to update the DOM) during the momentum/inertia/deceleration part of…

tgordon18
- 1,562
- 1
- 19
- 31
3
votes
3 answers
How does the momentum/inertial scroll work with the Magic Mouse on NSScrollView?
When you scroll with the newer Apple Magic Mouse (at least on 10.6, I can't confirm any previous Mac OS) you get inertial scroll like scrolling on iPhone (that is, after a flick of the finger to scroll, it doesn't abruptly stop, but instead…

jbrennan
- 11,943
- 14
- 73
- 115
3
votes
0 answers
Detecting momentum/inertia scroll on iPad on page elements
I am building an infinite scroll component for a web page that needs to work on iPad.
So - when the user scrolls to the bottom of a list, we load more content and display an animated ajax loader image while it's loading.
I have managed to get this…

loydall
- 31
- 5
3
votes
3 answers
Trigger.IO momentum scrolling
Is it possible to add momentum/intertia scrolling to a trigger.io-wrapped HTML5 iOS app?
I'm currently building a basic app, and noticed that the Webview does not respond to the momentum of a swipe action when scrolling through content (iOS 6;…

dbau
- 16,009
- 2
- 21
- 31
2
votes
1 answer
Constructing Momentum Factor in R Studio - Fama & French
I want to construct a momentum factor which is part of Fama and French Regression. We have a monthly data table starting from 1980-12-31 to 2021-12-31, and a time series of stock returns, given as a percentage monthly return. [The Image is showing a…

Antisa Qipro
- 23
- 3
2
votes
1 answer
Smooth / Momentum Scroll on window without a container
I'm trying to simulate the buttery scroll on mac os / ios, often referred to as "inertia scroll" or "momentum scrolling", as you're going through the page.
Everything I found so far uses a transform3d to shift your content around and they manipulate…

David
- 15,652
- 26
- 115
- 156
2
votes
0 answers
How can torch parameters be frozen if an optimizer with momentum is used?
I am training a torch model, where I want to freeze (and later unfreeze) certain parameters.
I was under the impression, that simply setting
param.requires_grad = False
would accomplish this. This does not seem to be the case for optimizers with…

Dillmann
- 81
- 5
2
votes
0 answers
ANN - Velocity Initialization
While trying to implement neural network training algorithms, I came across different concepts, including that of Gradient descent which tries to mimic a ball rolling down a hill, and of velocity and momentum to better model the rolling ball.
I…

elchroy
- 112
- 6
2
votes
1 answer
Momentum portfolio(trend following) quant simulation on pandas
I am trying to construct trend following momentum portfolio strategy based on S&P500 index (momthly data)
I used Kaufmann's fractal efficiency ratio to filter out whipsaw signal
(http://etfhq.com/blog/2011/02/07/kaufmans-efficiency-ratio/)
I…

Wookeun Lee
- 463
- 1
- 6
- 18
2
votes
1 answer
Why does the scrollbar influence width of fixed/absolute elements but not static/relative
We noticed a strange behaviour with all browsers under OSX' when using the scrollbar "show automatically"-feature vs. "always visible" (see OSX settings->general).
If it's switched to "always", fixed/absolute elements with 100% are 15px less width…

Raphael Jeger
- 5,024
- 13
- 48
- 79
2
votes
1 answer
In a Neural Network, should bias have a momentum term?
Should the momentum be added also to the bias term of every node in the network or preferably only on weights?

user1861248
- 79
- 4
2
votes
1 answer
iOS: -webkit-overflow-scrolling:touch and scrollTop
I have some trouble when trying to back to the top of a list.
I put -webkit-overflow-scrolling:touch on the list to get momentum scroll.
However when I'm using jQuery scrollTop(); while the momentum scroll is still going, it jumps to the top but…

Luxbit
- 172
- 1
- 2
- 11
2
votes
0 answers
Stop scroll momentum after animated scrollTop
I am building a website and would like to lock to certain content once passed a threshold. I am using a Jquery animated scrollTop to slide the content into place, and it is working well enough, however I have a momentum problem.
If I scroll slowly…

Caranicas
- 149
- 1
- 11
2
votes
0 answers
No scroll momentum/inertia
I'm developing a mobile web app using framework7 and phonegap build and i'm testing on android device. I'm using framework7's inline pages layout and i can't manage to get scroll inertia or momentum (the feature that make a long page scrolling even…

Riccardo
- 346
- 2
- 17