def __init__(self, metric='<STR_LIT>', **params):
self.output_names = ['<STR_LIT>']<EOL>if metric != '<STR_LIT>':<EOL><INDENT>self.output_names = ['<STR_LIT>' + metric]<EOL><DEDENT>if metric=='<STR_LIT>':<EOL><INDENT>metric = symmetric_kld<EOL><DEDENT>elif metric == '<STR_LIT>':<EOL><INDENT>metric = jensen_shannon<EOL><DEDENT>self.tsne = TSNE(<NUM_LIT:2>, metric=metric)<EOL>super(Tsne, self).__init__(**params)<EOL>
metric (str) can be any metric usable with tsne.