public CompositeDataReader <TSource, TLastTransformer> Fit(TSource input) { var start = _start.Fit(input); var idv = start.Read(input); var xfChain = _estimatorChain.Fit(idv); return(new CompositeDataReader <TSource, TLastTransformer>(start, xfChain)); }
public static IDataView FitAndRead <TSource>(this IDataReaderEstimator <TSource, IDataReader <TSource> > est, TSource source) => est.Fit(source).Read(source);