import svhn2mnist
import usps
import syn2gtrsb
import syndig2svhn

def Generator(source, target, pixelda=False):
    if source == 'usps' or target == 'usps':
        return usps.Feature()
    elif source == 'svhn':
        return svhn2mnist.Feature()
    elif source == 'synth':
        return syn2gtrsb.Feature()


def Classifier(source, target):
    if source == 'usps' or target == 'usps':
        return usps.Predictor()
    if source == 'svhn':
        return svhn2mnist.Predictor()
    if source == 'synth':
        return syn2gtrsb.Predictor()


[(8, 'usps.Feature', 'usps.Feature', False, 'import usps\n'), (17, 'usps.Predictor', 'usps.Predictor', False, 'import usps\n'), (19, 'svhn2mnist.Predictor', 'svhn2mnist.Predictor', False, 'import svhn2mnist\n'), (21, 'syn2gtrsb.Predictor', 'syn2gtrsb.Predictor', False, 'import syn2gtrsb\n'), (10, 'svhn2mnist.Feature', 'svhn2mnist.Feature', False, 'import svhn2mnist\n'), (12, 'syn2gtrsb.Feature', 'syn2gtrsb.Feature', False, 'import syn2gtrsb\n')]