Code Monkey home page Code Monkey logo

deepstpp's People

Stargazers

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

Watchers

 avatar

deepstpp's Issues

Changing the lookback value in the SlidingWindow Wrapper Causes Error

If you change the value of the lookback variable from the default of 20 in the SlidingWindowWrapper, it results in a dimensional mismatch in the loss function of the model at following line

  File "C:\Users\Adam\Documents\PyCharmProjects\DeepSTPP-master\src\util.py", line 145, in train
    loss, sll, tll = model.loss(st_x, st_y)
  File "C:\Users\Adam\Documents\PyCharmProjects\DeepSTPP-master\src\model.py", line 247, in loss
    sll = torch.log(s_intensity(w_i, b_i, t_ti, s_diff, inv_var))
  File "C:\Users\Adam\Documents\PyCharmProjects\DeepSTPP-master\src\model.py", line 185, in s_intensity
    v_i = w_i * torch.exp(-b_i * t_ti)
RuntimeError: The size of tensor a (40) must match the size of tensor b (30) at non-singleton dimension 1

Negative loss in training and validation

I'm using my customized data and find the total training loss and validation loss may become negative when the iteration number increases, and I noticed the negative loss also appeared in the provided notebook file. Does it really matter? Can you explain a little bit? Thank you so much

Bug when plotting lamb results

I believe there is a bug in the code that plots the lamb results somewhere.

Using the code provided in the text notebooks, I have used a simple hand-crafted dataset, where I have added a very small amount of gaussian noise to the sequence shown in the first image (green images are the ones to be predicted).

Figure_5

With normalisation turned off, the resultant lamb diagram looks like the x-y axis is flipped.

Figure_5_result

With normalisation turned on, again it looks flipped but also the scaling is off,

Figure_6_result

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.