Exemplo n.º 1
0
 /// <summary>
 /// The TrainingIterationArgs constructor.
 /// </summary>
 /// <param name="nIteration">Specifies the iteration of the training cycle.</param>
 /// <param name="dfAccuracy">Specifies the last accuracy recieved during the training cycle's last testing cycle.</param>
 /// <param name="dfLoss">Specifies the loss of the training cycle.</param>
 /// <param name="dfSmoothedLoss">Specifies the averaged loss of the training cycle.</param>
 /// <param name="dfBestSmoothedLoss">Specifies the best smoothed loss observed so far during the training.</param>
 /// <param name="bWeightsUpdated">Specifies whether or not the weights have been updated.</param>
 /// <param name="strActiveLabelCounts">Specifies the current active label counts observed.</param>
 /// <param name="strLabelQueryHitPercents">Specifies the current label query hit percentages observed.</param>
 /// <param name="strLabelQueryEpochs">Specifies the current label epoch count per label observed.</param>
 /// <param name="strBoostQueryHitPercents">Specifies the current boost query hit percentages observed.</param>
 /// <param name="dfLearningRate">Specifies the current learning rate.</param>
 /// <param name="dfMsTiming">Specifies the timing of the training cycle.</param>
 /// <param name="dbgInfo">Optionally, specifies the DebugInformation of the training cycle.  This value is set when Solver::EnableBlobDebugging == <i>true</i>.</param>
 public TrainingIterationArgs(int nIteration, double dfAccuracy, double dfLoss, double dfSmoothedLoss, double dfBestSmoothedLoss, bool bWeightsUpdated, string strActiveLabelCounts, string strLabelQueryHitPercents, string strLabelQueryEpochs, string strBoostQueryHitPercents, double dfLearningRate, double dfMsTiming, DebugInformation <T> dbgInfo = null)
     : base(nIteration, dfAccuracy, dfMsTiming)
 {
     m_dfLoss                   = dfLoss;
     m_dfSmoothedLoss           = dfSmoothedLoss;
     m_dfBestSmoothedLoss       = dfBestSmoothedLoss;
     m_bWeightsUpdated          = bWeightsUpdated;
     m_strActiveLabelCounts     = strActiveLabelCounts;
     m_strLabelQueryHitPercents = strLabelQueryHitPercents;
     m_strLabelQueryEpochs      = strLabelQueryEpochs;
     m_strBoostQueryHitPercents = strBoostQueryHitPercents;
     m_dfLearningRate           = dfLearningRate;
     m_dbgInfo                  = dbgInfo;
 }