November 2017
Intermediate to advanced
274 pages
6h 16m
English
Model training is implemented in the fit(..) method. It takes the following parameters:
Next, we look at the implementation of fit(...) function where the model is trained and saved in the model path specified by model_path.
def fit(self, train_X, train_Y, val_X=None, val_Y=None, graph=None): if len(train_Y.shape) != 1: num_classes = train_Y.shape[1] else
Read now
Unlock full access