May 2020
Intermediate to advanced
404 pages
10h 52m
English
With the model created, we can now move on to training the model and making it learn to predict. To do so, we need to use the CNTK model object and fit the samples in the dataset to it. We can, at the same time, log loss and other evaluation metrics. We need to carry out the following steps to train our model:
loss = C.cross_entropy_with_softmax(model, label)label_error = C.classification_error(model, label)
lrs = C.learning_rate_schedule(learning_rate, C.UnitType.minibatch)learner = C.sgd(model.parameters, lrs)trainer = C.Trainer(model, (loss, label_error), ...
Read now
Unlock full access