Comments (2)
Hi! Thanks for your interest in our work.
The exponentiation is indeed implemented in sym_histogram(). However, as you correctly note, there is indeed no direct call to the exp() function. Instead, we are using softmax(), to exploit the fact that we are going then normalize with the resulting values.
(image from https://en.wikipedia.org/wiki/Softmax_function)
We follow this approach, since there can be numerical issues when calculating this normalized quantity. So, here we rely on the already numerically stable implementation of softmax provided by theano.
Furthermore, you can also take a look on a subsequent work, where we can replace the Gaussian kernel used for calculating the similarities with any other kernel and we discuss options to make this process much more stable for use in deep neural networks:
N. Passalis, A. Tefas, J. Kanniainen, M. Gabbouj and A. Iosifidis, Temporal logistic neural Bag-of-Features for financial time series forecasting leveraging limit order book data, Pattern Recognition Letters, , vol. 136, pp 183-189, 2020
You can find a preprint here.
from bof_eeg.
I don't think I ever realized that Softmax was anything more than Current/Total. And I will definitely take a look at your new work.
Thanks!
from bof_eeg.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bof_eeg.