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

A question about the training process #5

Open
yangye19960922 opened this issue Mar 26, 2021 · 1 comment
Open

A question about the training process #5

yangye19960922 opened this issue Mar 26, 2021 · 1 comment

Comments

@yangye19960922
Copy link

Hi, I have successfully ran through your code, but I have a question I want to communicate with you.

As shown in codes below, why you choose to compare the gap between predictedinput [i+1] and targetInput [i+1] instead of comparing the gap between predictedinput [i+1] and trueData [i+1] .

I think predictedinput [i+1] is the prediction at time i+1 which is correspond to trueData [i+1]

image

@ericleonardo
Copy link

Please, look if this solves your question:

#3 (comment)

In the concept of online learning, we don't need to divide the dataset into test and train.
Given a pair of an input and a target, the model first predicts an output using its corresponding input and then the model is trained using its output and the corresponding target. (training does not affect prediction. This is because the prediction is performed before training for all samples.)
In other words, we can say that new training samples are obtained as time progresses.

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

No branches or pull requests

2 participants