return result.summary
};
+/*
+Private method used for verification of training results.
+It returns true if the results match given values (with tolerance 1.0e-5), false otherwise.
+*/
+Model.prototype._checkMetrics = function (trainLoss, validLoss, validAccuracy) {
+ var callArgs = {
+ trainLoss: trainLoss, validLoss: validLoss, validAccuracy: validAccuracy,
+ id: this._id
+ }
+
+ var result = native_.callSync('MLTrainerModelCheckMetrics', callArgs);
+
+ if (native_.isFailure(result)) {
+ throw native_.getErrorObjectAndValidate(
+ result,
+ ValidBasicExceptions,
+ AbortError
+ );
+ }
+
+ return result.result
+};
+
+
var ValidModelSaveExceptions = [
'InvalidValuesError',
'TypeMismatchError',