def METHOD_NAME(self):
    self.check(
        '/model/iris/',
        method='put',
        data=json.dumps(
            {'url': 'iris.csv', 'model_class': 'sklearn.linear_model.SGDClassifier'}
        ),
        request_headers={'Model-Retrain': 'True'},
    )
    r = self.check('/model/iris/')
    info = r.json()
    eq_(info['trained'], True)
    eq_(info['input'], ['sepal_length', 'sepal_width', 'petal_length', 'petal_width'])
    eq_(info['output'], 'species')