machinelearning
machinelearning copied to clipboard
[Docs] Explicitly clarify that IEstimator Append() doesn't alter the calling object
In estimator1.Append(estimator2) it's not 100% clear that estimator1 is not changed. The summary comment for Append() should highlight that.
/// <summary>
/// Append another estimator to the end.
/// </summary>
public CompositeReaderEstimator<TSource, TNewTrans> Append<TNewTrans>(IEstimator<TNewTrans> estimator)
Should be
/// <summary>
/// Create a new reader estimator, by appending another estimator to the end of this reader estimator.
/// </summary>
public CompositeReaderEstimator<TSource, TNewTrans> Append<TNewTrans>(IEstimator<TNewTrans> estimator)
Same goes for other Append methods (for IDataReader, IDataReaderEstimator EstimatorChain, ITransformer, TransformerChain, etc.).
I will give it a try. I just need to alter the function summaries for the Append methods, right?