Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Basic Parameters #28

Closed
anujsinha28 opened this issue Feb 17, 2020 · 1 comment
Closed

Question: Basic Parameters #28

anujsinha28 opened this issue Feb 17, 2020 · 1 comment
Labels

Comments

@anujsinha28
Copy link

Hello,

I am confused with Batch Size and Window Size. Can you please explain with an example along with how do choose these numbers?

@anujsinha28 anujsinha28 changed the title Basic Parameters Question: Basic Parameters Feb 17, 2020
@OdysseasKr
Copy link
Owner

Hi @anujsinha28

The batch size refers to the training of the neural network. Essentially, it means how many training samples are fed to the network each time.
Read more about the batch size here: https://stats.stackexchange.com/questions/153531/what-is-batch-size-in-neural-network

The window size refers to the size of the part of the timeseries the network looks at, in order to make a single prediction. In other words, to predict the consumption of an appliance at the n-th timestep, it uses the [(n-w): n] samples of the mains timeseries (w is the window size). Therefore the input is of size w and the output of size 1.

The window size depends on the appliance characteristics. Devices with longer operation cycles (e.g washing machine) tend to require bigger window sizes than simpler appliances (e.g. light bulb).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants