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

how to test an input with unknown class? #13

Open
Greenleaf88 opened this issue Sep 11, 2017 · 3 comments
Open

how to test an input with unknown class? #13

Greenleaf88 opened this issue Sep 11, 2017 · 3 comments

Comments

@Greenleaf88
Copy link

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?

@buaa-luzhi
Copy link

@Greenleaf88 i have the same question

@sheetalreddy
Copy link

sheetalreddy commented Jan 10, 2018

@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; θ)

@tristandeleu
Copy link
Owner

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.

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

4 participants