GithubHelp home page GithubHelp logo

citylearn-mad-cats's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

citylearn-mad-cats's Issues

Training procedure

Hello all,

First thanks a lot for such inspiring and well documented work.
I'd like to train your solution on another dataset, could you please give me more details on the training procedure so that I can use your implementation ?

Thanks a lot !

For net_consumption_mlp

I came across your code : net_consumption_mlp/mlp_model.py that includes the following line:

 def forward(self, inp_data):
        # inp_data: [Batch, Input length, Channel]
        seq_last = inp_data[:, -1:].detach()
        output = inp_data - seq_last
        output = nn.Flatten()(inp_data)
        output = nn.ReLU()(self.linear_in(output))
        output = self.BN0(output)
        output = nn.ReLU()(self.linear_h0(output))
        output = self.BN1(output)
        output = nn.ReLU()(self.linear_h1(output))
        output = self.BN2(output)
        output = self.linear_out(output)
        output = output + seq_last[:, :, 0]
        return output

I understand that inp_data represents the input data with shape [Batch, Input length, Channel], and seq_last represents the last time step of the input data with shape [Batch, 1, Channel]. This operation subtracts each time step of the input data from the last time step. I am curious about the purpose of this operation. I would like to know more about the effect of this operation, and whether it has been shown to improve model performance in certain cases. Could you please provide some insight on it?

Thank you for your time and expertise.

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.