In [1]:
lerning_rate = .5
dataset = get_default_dataset()
In [2]:
# train
model = Model()
model.fit(dataset.x, dataset.y)
score = model.mean_square_error()
In [1]:
model = Notebook('model.ipynb')
score = []
for lerning_rate in [.001, .01, .1]:
model.ns['lerning_rate'] = lerning_rate
model.ns['dataset'] = new_dataset
model.run_tag('train')
score.append(model.ns['score'])
In [1]:
parser = Notebook('parser.ipynb')
data = []
for filename in os.listdir():
parser.ns['filename'] = filename
parser.run_all(blacklist=['init_filename'])
data.append(parser.ns['result'])
# just in case:
parser.restart()
In [1]:
# init_filename
filename = 'file0.json'