-
Notifications
You must be signed in to change notification settings - Fork 94
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
how to test an input with unknown class? #13
Comments
@Greenleaf88 i have the same question |
@Greenleaf88 : Hi, I had the same doubt but the only solution I found was to give the test sample at the end of each episode as the system aims at modelling the predictive distribution p(yt|xt, D1:t−1; θ) |
More than simply one-shot learning, the setup for this model is what is called meta learning. One good visualization of how meta learning works is Figure 1 of this paper. If I understand your question correctly, for each meta training set (ie. for each episode here), you want to only make a prediction for the elements in the "test" part of the set (D_test in the figure). Unfortunately, as far as I know, you can't do that with this model. There is no definite separation between D_train and D_test in an episode. As @sheetalreddy suggested, you could have extra test samples (corresponding to D_test) at the end of your episodes (which now corresponds to the whole D_train) to work around this limitation. |
We train the network to make it classify a sample with unknown class, however, the network need label itself as part of input, In real applications, only those samples with unknown labels need to be classified, if the label is known, the classification becomes unnecenssary, then how to set the label part in the input if the label is unknown?
The text was updated successfully, but these errors were encountered: