Git Product home page Git Product logo

Comments (2)

passalis avatar passalis commented on September 2, 2024

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
(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.

swight-prc avatar swight-prc commented on September 2, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.