Class History


  • public class History
    extends Object
    • Method Detail

      • lossCurve

        public LossCurve lossCurve()
        Get the loss curve
      • trainingTimeMillis

        public long trainingTimeMillis()
        Get the total training time, in milliseconds
      • validationTimesMillis

        public List<Long> validationTimesMillis()
        Get the total validation time, in milliseconds
      • trainingEpochs

        public int trainingEpochs()
        Get the number of epochs trained for
      • validationEpochs

        public int validationEpochs()
        Get the number of epochs validation was ran on
      • trainingEval

        public List<Double> trainingEval​(String param,
                                         IMetric metric)
        Get the results of a training evaluation on a given parameter for a given metric Only works if there is only one evaluation with the given metric for param
      • trainingEval

        public List<Double> trainingEval​(SDVariable param,
                                         IMetric metric)
        Get the results of a training evaluation on a given parameter for a given metric Only works if there is only one evaluation with the given metric for param
      • trainingEval

        public List<Double> trainingEval​(String param,
                                         int index,
                                         IMetric metric)
        Get the results of a training evaluation on a given parameter at a given index, for a given metric Note that it returns all recorded evaluations. Index determines the evaluation used not the epoch's results to return.
      • trainingEval

        public List<Double> trainingEval​(SDVariable param,
                                         int index,
                                         IMetric metric)
        Get the results of a training evaluation on a given parameter at a given index, for a given metric Note that it returns all recorded evaluations. Index determines the evaluation used not the epoch's results to return.
      • trainingEval

        public List<Double> trainingEval​(IMetric metric)
        Get the results of a training evaluation for a given metric Only works if there is only one evaluation with the given metric
      • trainingEval

        public List<IEvaluation> trainingEval​(String param)
        Get the results of a training evaluation on a given parameter Only works if there is only one evaluation for param.
      • trainingEval

        public List<IEvaluation> trainingEval​(SDVariable param)
        Get the results of a training evaluation on a given parameter Only works if there is only one evaluation for param.
      • trainingEval

        public List<IEvaluation> trainingEval​(String param,
                                              int index)
        Get the results of a training evaluation on a given parameter at a given index Note that it returns all recorded evaluations. Index determines the evaluation used not the epoch's results to return.
      • trainingEval

        public List<IEvaluation> trainingEval​(SDVariable param,
                                              int index)
        Get the results of a training evaluation on a given parameter at a given index Note that it returns all recorded evaluations. Index determines the evaluation used not the epoch's results to return.
      • validationEval

        public List<Double> validationEval​(String param,
                                           IMetric metric)
        Get the results of a validation evaluation on a given parameter for a given metric Only works if there is only one evaluation with the given metric for param
      • validationEval

        public List<Double> validationEval​(SDVariable param,
                                           IMetric metric)
        Get the results of a validation evaluation on a given parameter for a given metric Only works if there is only one evaluation with the given metric for param
      • validationEval

        public List<Double> validationEval​(String param,
                                           int index,
                                           IMetric metric)
        Get the results of a validation evaluation on a given parameter at a given index, for a given metric Note that it returns all recorded evaluations. Index determines the evaluation used not the epoch's results to return.
      • validationEval

        public List<Double> validationEval​(SDVariable param,
                                           int index,
                                           IMetric metric)
        Get the results of a validation evaluation on a given parameter at a given index, for a given metric Note that it returns all recorded evaluations. Index determines the evaluation used not the epoch's results to return.
      • validationEval

        public List<Double> validationEval​(IMetric metric)
        Get the results of a validation evaluation for a given metric Only works if there is only one evaluation with the given metric
      • validationEval

        public List<IEvaluation> validationEval​(String param)
        Get the results of a validation evaluation on a given parameter Only works if there is only one evaluation for param.
      • validationEval

        public List<IEvaluation> validationEval​(SDVariable param)
        Get the results of a validation evaluation on a given parameter Only works if there is only one evaluation for param.
      • validationEval

        public List<IEvaluation> validationEval​(String param,
                                                int index)
        Get the results of a validation evaluation on a given parameter at a given index Note that it returns all recorded evaluations. Index determines the evaluation used not the epoch's results to return.
      • validationEval

        public List<IEvaluation> validationEval​(SDVariable param,
                                                int index)
        Get the results of a validation evaluation on a given parameter at a given index Note that it returns all recorded evaluations. Index determines the evaluation used not the epoch's results to return.
      • finalTrainingEvaluations

        public EvaluationRecord finalTrainingEvaluations()
        Gets the training evaluations ran during the last epoch
      • finalValidationEvaluations

        public EvaluationRecord finalValidationEvaluations()
        Gets the validation evaluations ran during the last epoch
      • trainingEvaluations

        public EvaluationRecord trainingEvaluations​(int epoch)
        Gets the evaluation record for a given epoch.
        Parameters:
        epoch - The epoch to get results for. If negative, returns results for the epoch that many epochs from the end.
      • validationEvaluations

        public EvaluationRecord validationEvaluations​(int epoch)
        Gets the evaluation record for a given epoch.
        Parameters:
        epoch - The epoch to get results for. If negative, returns results for the epoch that many epochs from the end.