semipy.sampler.JointSampler
Warning
This section is in construction.
This is a custom sampler made for Semi-Supervised Learning. It allows to sample both labelled and unlabelled items with respect to a ratio between labelled and unlabelled data and by using only one dataset containing both data types. The only condition to respect is to attach a label -1 to unlabelled items. It returns an iterator of batches (lists) of both labelled and unlabelled data's indices, with respect to the specified proportion and batch size.
Parameters