Renaming trainers module to optimisers.
This commit is contained in:
parent
2988811b50
commit
f02e48dbac
@ -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):
|
Loading…
Reference in New Issue
Block a user