1 write to Index
Microsoft.ML.Core (1)
Utilities\BinFinder.cs (1)
312Index = index;
14 references to Index
Microsoft.ML.Core (14)
Utilities\BinFinder.cs (14)
491Contracts.Assert(pegs[peg.Index] == peg); 492Contracts.Assert(_path[peg.Index] != peg.Split); 493_path[peg.Index] = peg.Split; 495Contracts.Assert(FindSplitPosition(out e, _path[peg.Index - 1], _path[peg.Index + 1], peg.Index) == peg.Split); 497if (peg.Index > 1) 498UpdatePeg(pegs[peg.Index - 1]); 500if (peg.Index < CountBins - 1) 501UpdatePeg(pegs[peg.Index + 1]); 510int min = _path[peg.Index - 1]; 511int cur = _path[peg.Index]; 512int max = _path[peg.Index + 1]; 514int split = FindSplitPosition(out energy, min, max, peg.Index);