Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/09/21 19:41:33 (3 years ago)
Author:
gkronber
Message:

#3117: update alglib to version 3.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestClassification.cs

    r17180 r17931  
    207207        inputMatrix[row, nColumns - 1] = classIndices[inputMatrix[row, nColumns - 1]];
    208208      }
    209 
    210       alglib.dfreport rep;
    211       var dForest = RandomForestUtil.CreateRandomForestModel(seed, inputMatrix, nTrees, r, m, nClasses, out rep);
     209     
     210      var dForest = RandomForestUtil.CreateRandomForestModel(seed, inputMatrix, nTrees, r, m, nClasses, out var rep);
    212211
    213212      rmsError = rep.rmserror;
     
    216215      outOfBagRelClassificationError = rep.oobrelclserror;
    217216
    218       return new RandomForestModelFull(dForest, problemData.TargetVariable, problemData.AllowedInputVariables, classValues);
     217      return new RandomForestModelFull(dForest, nTrees, problemData.TargetVariable, problemData.AllowedInputVariables, classValues);
    219218    }
    220219    #endregion
Note: See TracChangeset for help on using the changeset viewer.