2 writes to _estimators
Microsoft.ML.Data (2)
DataLoadSave\EstimatorChain.cs (2)
37_estimators = estimators ?? new IEstimator<ITransformer>[0]; 52_estimators = new IEstimator<ITransformer>[0];
9 references to _estimators
Microsoft.ML.Data (9)
DataLoadSave\EstimatorChain.cs (9)
43Contracts.Assert((_estimators.Length > 0) == (LastEstimator != null)); 64var xfs = new ITransformer[_estimators.Length]; 65for (int i = 0; i < _estimators.Length; i++) 67var est = _estimators[i]; 73if (_needCacheAfter[i] && i < _estimators.Length - 1) 86foreach (var est in _estimators) 95return new EstimatorChain<TNewTrans>(_host, _estimators.AppendElement(estimator), _scopes.AppendElement(scope), _needCacheAfter.AppendElement(false)); 112if (_estimators.Length == 0) 123return new EstimatorChain<TLastTransformer>(env, _estimators, _scopes, newNeedCache);