def METHOD_NAME(model, dataset):
    for x, y in dataset:
        model.debug_one(x)
        if model._supervised:
            model.learn_one(x, y)
        else:
            model.learn_one(x)
        model.debug_one(x)
        break