Git Product home page Git Product logo

yangysc / wavelet-hfcm Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 17.0 357 KB

This repository is the source code for Wavelet-HFCM of the paper 'Time Series Forecasting based on High-Order Fuzzy Cognitive Maps and Wavelet Transform'

Home Page: https://ieeexplore.ieee.org/document/8352858

Python 100.00%
fcm fcms fuzzy-cognitive-maps redundant-wavelet-transform time-series time-series-forecasting wavelet-transform

wavelet-hfcm's People

Contributors

yangysc 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  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  avatar

wavelet-hfcm's Issues

What is the meaning of steepness in the program?

During the training process, the steepness value of tanh function is 1 by default, however, in prediction process, the steepness values are set as :
steepness = np.max(np.abs(W_learned), axis=1)
for i in range(Nc):
if steepness[i] > 1:
W_learned[i, :] /= steepness[i]

I am confused about this. Because it is not consistent with training target. Looking forward to your reply.

about you code

hello , i got a question and confuse me a lot. can i get email address?
thanks ……^_^

关于小波变换函数返回值的问题

def wavelet_transform(x, J):
    N = len(x)
    C = np.zeros(shape=(J + 1, N))
    # W: wavelet coefficients
    W = np.zeros(shape=(J + 1, N))
    C[0, :] = x.copy()
    for j in range(1, J + 1):
        for k in range(1, N):
            C[j, k] = 1 / 2 * (C[j - 1, k] + C[j - 1, k - np.power(2, j - 1)])
            W[j, k] = C[j - 1][k] - C[j, k]

    W[0, :] = C[J, :]
    return W[:, np.power(2, J):] 

你好,为什么系数在返回时只选取了2^J以后的,这一点让我感觉很疑惑,希望您有时间可以为我解答。十分感谢

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.