November 2017
Intermediate to advanced
274 pages
6h 16m
English
In DBN initialization, the Model class's initialization method __init__(self, name) is called. The Model class references the following:
class Model(object): """Class representing an abstract Model.""" def __init__(self, name): """Constructor. :param name: name of the model, used as filename. string, default 'dae' """ self.name = name self.model_path = os.path.join(Config().models_dir, self.name) self.input_data = None self.input_labels = None> self.keep_prob = None self.layer_nodes = [] # list of layers of the final ...
Read now
Unlock full access