Giter Club home page Giter Club logo

graph-scattering-transforms's People

Contributors

fgfgama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

graph-scattering-transforms's Issues

Possible bug in Hann wavelet implementation (without warping)

In the definition of the Hann kernel, 'm a' (as appears in eq(4) from Shuman et. al. and defined in eq. (10)) is defined as

t = np.arange(1,J+1) * eMax / (J + 1 - R) # translations

Later on, for the case without warping you define

psi = HannKernel(e - t[J], J, R, eMax)

This doesn't seem right. Let's say J = 3, then t has size (3,). Then you call t[3], which is out of bound for t with size (3,).

Low pass filter definition

Hello, I was wondering why the low-pass filter U in the diffusion wavelet is defined as a vector of shape (N), N being the number of nodes:

self.U = d/np.linalg.norm(d, 1)

I was expecting U to be a square matrix. I found that Zou and Lerman (which you have cited) are also defining U as a square matrix of size (N, N).
U = np.linalg.matrix_power(T, t)

The fact that you are using a vector also gives a different number of output features.

Same question goes for tight Hann wavelets where low-pass filter U is

self.U = (1/self.N) * np.ones(self.N)

In scattering transform, scaling function is used as low pass filter during scattering transform to capture low frequency or average behavior of the signal. I was expecting that you use equation (13) of Shuman et. al. as low-pass filter, and use equation (12) as wavelets, but it seems that you have used both relations as wavelets and used self.U = (1/self.N) * np.ones(self.N) as low-pass filter.

  1. Isn't scaling supposed to be the low pass filter that computes invariants and wavelets the high pass filters?

  2. using a vector as opposed to a squared matrix makes your implementation of Diffusive wavelets have different dimensionality of output features in comparison with Zou and Lerman. Which one should I trust?

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.