1 write to NumFeatures
Microsoft.ML.FastTree (1)
FastTree.cs (1)
939NumFeatures = featLen;
26 references to NumFeatures
Microsoft.ML.FastTree (26)
FastTree.cs (26)
943Host.Assert(Utils.Size(binUpperBounds) == NumFeatures); 948BinUpperBounds = new double[NumFeatures][]; 1027ch.Assert(0 <= features.Min() && features.Max() < NumFeatures); 1111ch.Assert(0 <= features.Min() && features.Max() < NumFeatures); 1375var features = new FeatureFlockBase[NumFeatures]; 1385bool[] localConstructBinFeatures = Utils.CreateArray<bool>(NumFeatures, true); 1388localConstructBinFeatures = parallelTraining.GetLocalBinConstructionFeatures(NumFeatures); 1459parallelTraining.SyncGlobalBoundary(NumFeatures, maxBins, BinUpperBounds); 1482for (iFeature = 0; iFeature < NumFeatures;) 1560for (int i = 0; i < NumFeatures; i++) 1575FeatureMap = Enumerable.Range(0, NumFeatures).Where(f => BinUpperBounds[f].Length > 1).ToArray(); 1765_instanceList = new ValuesList[NumFeatures]; 1911bool[] localConstructBinFeatures = parallelTraining.GetLocalBinConstructionFeatures(NumFeatures); 1913pch.SetHeader(new ProgressHeader("features"), e => e.SetProgress(0, iFeature, NumFeatures)); 1915for (iFeature = 0; iFeature < NumFeatures; iFeature++) 1929parallelTraining.SyncGlobalBoundary(NumFeatures, maxBins, BinUpperBounds); 1939ch.Trace("{0} features stored in {1} flocks.", NumFeatures, flocks.Length); 2040FeatureMap = Enumerable.Range(0, NumFeatures).Where(f => BinUpperBounds[f].Length > 1).ToArray(); 2048? NumFeatures 2055ch.Assert(iFeature <= NumFeatures); // Some could have been filtered. 2069pch.SetHeader(new ProgressHeader("features"), e => e.SetProgress(0, iFeature, NumFeatures)); 2076for (iFeature = 0; iFeature < NumFeatures; ++iFeature) 2100for (iFeature = 0; iFeature < NumFeatures;) 2164foreach (var flock in CreateFlocksCore(ch, pch, iFeature, NumFeatures)) 2167iFeature = NumFeatures; 2173foreach (var flock in CreateFlocksCore(ch, pch, 0, NumFeatures))