Renaming trainers module to optimisers.

This commit is contained in:
Matt Graham 2016-09-19 12:25:43 +01:00
parent 2988811b50
commit f02e48dbac

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""Model trainers.""" """Model optimisers."""
import time import time
import logging import logging
@ -10,7 +10,7 @@ import numpy as np
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class Trainer(object): class Optimiser(object):
def __init__(self, model, cost, learning_rule, train_dataset, def __init__(self, model, cost, learning_rule, train_dataset,
valid_dataset=None, data_monitors=None): valid_dataset=None, data_monitors=None):