3 writes to _numObservations
Microsoft.ML.FastTree (3)
Training\EnsembleCompression\LassoBasedEnsembleCompressor.cs (3)
66_numObservations = Math.Min(_trainSet.NumDocs, maxObservations); 69_numObservations = MaxObservationsTOFeaturesRatio * _numFeatures; 129_numObservations = obsCount;
17 references to _numObservations
Microsoft.ML.FastTree (17)
Training\EnsembleCompression\LassoBasedEnsembleCompressor.cs (17)
67if (_numObservations > MaxObservationsTOFeaturesRatio * _numFeatures) 76_observations[t] = new float[_numObservations]; 82if (_numObservations == _trainSet.NumDocs) 89_sampleObservationIndices = new int[_numObservations]; 104int remainedDocs = _numObservations; 121if (obsCount == _numObservations) 158for (int i = 0; i < _numObservations; i++) 178ch.Info("Lasso Compression uses {0} observations.", _numObservations); 181double flmin = (_numObservations < _numFeatures ? 5e-2 : 1e-4); 192float factor = (float)(1.0 / Math.Sqrt(_numObservations)); 201for (int i = 0; i < _numObservations; i++) 217for (int i = 0; i < _numObservations; i++) 496targetScores = new double[_numObservations]; 497for (int d = 0; d < _numObservations; d++) 505_targets = new float[_numObservations]; 513for (int i = 0; i < _numObservations; i++) 528for (int i = 0; i < _numObservations; i++)