Comments (4)
@QueenT Thanks for the question! In the current implementation I'm not using the labeled target domain data. This is because I didn't do that semi-supervised experiment before. Perhaps I will add that later.
Yes, the unlabeled data is larger than the labeled data. Say there are 2000 unlabeled docs and 1000 labeled docs. The schedule is simply alternating between the labeled and the unlabeled set, and moving the batch pointer of each set (see s_train_ptr and t_ul_batch_ptr). So when the training procedure passes through the unlabeled data once, it will pass through the labeled data twice. Hope it's clear. Thanks!
from aspect_adversarial.
@yuanzh Hi, thanks for your detailed reply. Assuming there are 20,000 unlabeled docs and 1000 labeled docs, will the domain classifier and thus corresponding document encoder part be over-trained? If so, to avoid this situation, is it necessary to drop some unlabeled docs used in the training procedure? Thank you.
from aspect_adversarial.
@QueenT Yes, over-fitting is a possible issue. One option is to directly limit the number of iterations over the labeled data, such as 20 iterations, and this means the unlabeled data are used only once. Another option is to use a different batch size, like 10 for labeled and 200 for unlabeled.
from aspect_adversarial.
@yuanzh Thank you! Now it's much more clear to me.
from aspect_adversarial.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspect_adversarial.