'Arguments:
k (integer): Number of guesses to allow.'

def __init__(self, k):

    self.correctProbs = self.be.iobuf(1)
    self.top1 = self.be.iobuf(1)
    self.topk = self.be.iobuf(1)
    self.k = k
    self.metric_names = ['LogLoss', 'Top1Misclass', (('Top' + str(k)) + 'Misclass')]
