Giter Club home page Giter Club logo

Comments (5)

MohamedLotfyElrefai avatar MohamedLotfyElrefai commented on August 16, 2024

I think the reason because you don't run a lot of epochs or you are doing a wrong shape.
but the problem is when trying to feed the network with the time series is making it as input size of the network as in code take the length of the time series and passing it to DC_CNN_Model function did you face it ?
I have run the code in sequence input for 2000epochs and get reasonable results

timeseries = np.array([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])
predict_size = 3
predictions = evaluate_timeseries(timeseries, predict_size)
image
but my problem as i see the input shape of the model will be the size of the time series.

from seriesnet.

fmmix avatar fmmix commented on August 16, 2024

I have the same issue as @cbouyssi . Just using the script as is and the example time series from @MohamedLotfyElrefai . The network is not learning and prediction is [0,0,0]. Maybe it is due to different package versions? keras==2.2.4 , tensorflow==1.12.0, numpy==1.16.2 or do I have to adjust anything?

from seriesnet.

ranbix666 avatar ranbix666 commented on August 16, 2024

I have the same issue mentioned by @fmmix .

from seriesnet.

ranbix666 avatar ranbix666 commented on August 16, 2024

I think the reason because you don't run a lot of epochs or you are doing a wrong shape.
but the problem is when trying to feed the network with the time series is making it as input size of the network as in code take the length of the time series and passing it to DC_CNN_Model function did you face it ?
I have run the code in sequence input for 2000epochs and get reasonable results

timeseries = np.array([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])
predict_size = 3
predictions = evaluate_timeseries(timeseries, predict_size)
image
but my problem as i see the input shape of the model will be the size of the time series.

Hi @MohamedLotfyElrefai:
I run your example. And I got the same issue as others.
image

Could you please have a look? Thank you.

from seriesnet.

kristpapadopoulos avatar kristpapadopoulos commented on August 16, 2024

see updated script to see if that helps

from seriesnet.

Related Issues (10)

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.