7 writes to _left
Microsoft.ML.FastTree (7)
Training\StepSearch.cs (7)
29_left = new StepScoresAndLoss(lossCalculator, lossIndex); 112Rotate(ref _hi, ref _left, ref _lo); 123Rotate(ref _lo, ref _left, ref _hi); 139Rotate(ref _lo, ref _left, ref _right); 144Rotate(ref _hi, ref _right, ref _left); 153Swap(ref _left, ref _right); 160Swap(ref _hi, ref _left);
14 references to _left
Microsoft.ML.FastTree (14)
Training\StepSearch.cs (14)
102_left.Initialize(tree, partitioning, previousScores); 106_left.Step = _historicStepSize; 108if (_lo.Loss.CompareTo(_left.Loss) == 1) // backtrack 115_lo.Step = _left.Step / _phi; 116} while (_lo.Loss.CompareTo(_left.Loss) == 1); 121while (_hi.Loss.CompareTo(_left.Loss) == 1) 124_hi.Step = _left.Step * _phi; 133int cmp = _right.Loss.CompareTo(_left.Loss); 147_left.Step = _hi.Step - (_hi.Step - _lo.Step) / _phi; 152if (_right.Loss.CompareTo(_left.Loss) == 1) 158_left.Step = _minStepSize; 162double bestStep = _left.Step; 171ScoreTracker result = _left.Scores; 172_left.Scores = null; //We need to set it to null so that next call to AdjustTreeOutputs will not destroy returned object