示例#1
0
        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));
        }
示例#2
0
 public static IDataView FitAndRead <TSource>(this IDataReaderEstimator <TSource, IDataReader <TSource> > est, TSource source)
 => est.Fit(source).Read(source);