Giter VIP home page Giter VIP logo

cfc's People

Contributors

cclauss avatar mlech26l avatar nightvision04 avatar raminmh 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  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  avatar  avatar  avatar  avatar

Watchers

 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

cfc's Issues

how to use cfc with time series?

Hello, I would like to ask, if cfc is used in time series, is the sample the entire sequence, or a fixed-length window of the time series? For the case of one piece of data per day, does ts need to be set to all 1? How does cfc capture long-term dependencies? If so Windows, it is obvious that there is no recorded time relationship between windows

Optimization

Hi
Thank you so much, I wasn’t expecting such a quick response and I’m very sorry for not replying to this earlier as my computer has unfortunately been on the blink for quite a while.
I was just wondering if you could release a version of this (the traffic model) where we could use our own optimizer because I’d like to further test it out with my favourite one:)

If you could mark in the code the optimum position to put the optimisation algorithm then I'd be further grateful for that too :)

Thanks, Sam.

posible optimization to tf_cfc.py

A regularizing kernel could be used to penalize the neural network weights. This can help to avoid overfitting the model and improve its overall performance.

This could be done by adding the following line of code after the creation of each dense layer in the "backbone" section of the build method:

copy code
self.backbone.append(
tf.keras.layers.Dense(
self.hparams["backbone_units"],
backbone_activation,
kernel_regularizer=tf.keras.regularizers.L2(
self.hparams["weight_decay"]
),
)
)
This would add an L2 regularizer kernel to each dense layer in the "backbone" section, using the "weight_decay" parameter specified in the hyperparameters to set the level of regularization.

''--use_mixed_ltc'' function not found

Hello, I am very interested in your model. When I run your traffic_with_cfc.py, I found ''--use_mixed_ltc'', but I did not find the MixedLTCCell function in the code. I really want to know what it is, thank you

Data preparation for the time series regression

I'm trying to adopt CfC network from your PyTorch example (person_atcivity) to make a timeseries regression. Given one dimensional array of floating-point numbers (lets consider them equally spaced in time) how can I feed them into the network? As I understand your current PyTorch implementation works as a classifier, that is the Labels array should be finite number of classes. But in case of regression we have floating point values as output. Also how should we structure the inputs? Lets say we have 10 last values of the timeseries as input and we want to predict 11th value, how do we do that? If you can provide a short pseudocode example it would be much appreciated. Thanks.

Processing ECG data with Conv-CFC

Hi,

I am trying to estimate ECG metrics with a combination of Conv-layers and CFCs, taking inspiration from the Atari tutorial. Unlike Atari, where convolutions extract features from images, in my case, convolutions work on the time dimension of the ECG signal itself. Therefore, the time dimension is modified by the convolutions. Will this have an impact on the performance of the CFC?

Also, if you can comment on the implementation of the CFC, that will be very helpful for understanding what each input to the CFC function does. As of now, tutorials are very helpful in showcasing the potential of LTCs and CFCs, but stronger documentation is needed for development.

Can you also share a sample code you used for generating gradient maps for the CFCs, as highlighted in the paper?

Thank you very much for your time!

An error occurred while loading the tf model

ValueError: Unable to restore custom object of type _tf_keras_rnn_layer currently. Please make sure that the layer implements get_configand from_config when saving. In addition, please use the custom_objects arg when calling load_model().

Traffic Volume

Hi there, I have been fascinated by your models and have deeply enjoyed testing them out.

Longshot but would you possibly be able to train the CfC models on the Traffic volume dataset (like you did with the LTC networks) please and post it on here so I could try it out? 

Thanks, Sam.

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.