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)
43
Contracts.Assert((
_estimators
.Length > 0) == (LastEstimator != null));
64
var xfs = new ITransformer[
_estimators
.Length];
65
for (int i = 0; i <
_estimators
.Length; i++)
67
var est =
_estimators
[i];
73
if (_needCacheAfter[i] && i <
_estimators
.Length - 1)
86
foreach (var est in
_estimators
)
95
return new EstimatorChain<TNewTrans>(_host,
_estimators
.AppendElement(estimator), _scopes.AppendElement(scope), _needCacheAfter.AppendElement(false));
112
if (
_estimators
.Length == 0)
123
return new EstimatorChain<TLastTransformer>(env,
_estimators
, _scopes, newNeedCache);