67 references to EmptyDataView
Microsoft.ML.Data (27)
DataLoadSave\Binary\BinaryLoader.cs (1)
983var noRows = new EmptyDataView(h, schema);
DataLoadSave\TransformWrapper.cs (3)
37var dv = new EmptyDataView(_host, inputSchema); 52var transform = ApplyTransformUtils.ApplyTransformToData(_host, (IDataTransform)_xf, new EmptyDataView(_host, inputSchema)) as IRowToRowMapper; 81var transformer = Fit(new EmptyDataView(Host, fakeSchema));
DataLoadSave\Transpose\TransposeLoader.cs (1)
545var noRows = new EmptyDataView(env, schema);
EntryPoints\PredictorModelImpl.cs (2)
82IDataView data = new EmptyDataView(env, TransformModel.InputSchema); 141var predInput = TransformModel.Apply(env, new EmptyDataView(env, TransformModel.InputSchema));
EntryPoints\SummarizePredictor.cs (1)
41input.PredictorModel.PrepareData(host, new EmptyDataView(host, input.PredictorModel.TransformModel.InputSchema), out rmd, out predictor);
EntryPoints\TransformModelImpl.cs (3)
66var root = new EmptyDataView(env, input.Schema); 90IDataView view = new EmptyDataView(env, schemaRoot); 158view = new EmptyDataView(env, schemaRoot);
Evaluators\BinaryClassifierEvaluator.cs (3)
1553warnings = new EmptyDataView(host, schemaBuilder.ToSchema()); 1568overallMetrics = new EmptyDataView(host, schemaBuilder.ToSchema()); 1581confusionMatrix = new EmptyDataView(host, schemaBuilder.ToSchema());
Model\ModelOperationsCatalog.cs (1)
134DataSaverUtils.SaveDataView(ch, saver, new EmptyDataView(_env, inputSchema), entry.Stream, keepHidden: true);
Prediction\PredictionEngine.cs (1)
126var cursorable = TypedCursorable<TDst>.Create(env, new EmptyDataView(env, mapper.OutputSchema), ignoreMissingColumns, outputSchemaDefinition);
Scorers\PredictionTransformer.cs (9)
160return (IRowToRowMapper)Scorer.ApplyToData(Host, new EmptyDataView(Host, inputSchema)); 180DataSaverUtils.SaveDataView(ch, saver, new EmptyDataView(Host, TrainSchema), writer.BaseStream); 288return Transform(new EmptyDataView(Host, inputSchema)).Schema; 307return new GenericScorer(Host, new GenericScorer.Arguments(), new EmptyDataView(Host, TrainSchema), BindableMapper.Bind(Host, schema), schema); 350Scorer = new BinaryClassifierScorer(Host, args, new EmptyDataView(Host, TrainSchema), BindableMapper.Bind(Host, schema), schema); 442Scorer = new BinaryClassifierScorer(Host, args, new EmptyDataView(Host, TrainSchema), BindableMapper.Bind(Host, schema), schema); 534Scorer = new MulticlassClassificationScorer(Host, args, new EmptyDataView(Host, TrainSchema), BindableMapper.Bind(Host, schema), schema); 677Scorer = new ClusteringScorer(Host, args, new EmptyDataView(Host, inputSchema), BindableMapper.Bind(Host, schema), schema); 688Scorer = new ClusteringScorer(Host, args, new EmptyDataView(Host, TrainSchema), BindableMapper.Bind(Host, schema), schema);
Transforms\ColumnSelecting.cs (1)
502new EmptyDataView(_host, inputSchema));
Transforms\RowToRowTransformerBase.cs (1)
34return new RowToRowMapperTransform(Host, new EmptyDataView(Host, inputSchema), MakeRowMapper(inputSchema), MakeRowMapper);
Microsoft.ML.Ensemble (11)
EntryPoints\CreateEnsemble.cs (2)
105var inputData = new EmptyDataView(env, model.TransformModel.InputSchema); 304var dv = new EmptyDataView(env, inputSchema);
EntryPoints\PipelineEnsemble.cs (2)
35new EmptyDataView(host, input.PredictorModel.TransformModel.InputSchema), 53pm.PrepareData(host, new EmptyDataView(host, pm.TransformModel.InputSchema), out rmd, out IPredictor pred);
PipelineEnsemble.cs (7)
67var emptyDv = new EmptyDataView(Parent.Host, schema.Schema); 83var dv = new EmptyDataView(Parent.Host, schema.Schema); 582var dv = new EmptyDataView(Host, PredictorModels[i].TransformModel.InputSchema); 595var edv = new EmptyDataView(env, model.TransformModel.InputSchema); 634var edv = new EmptyDataView(env, model.TransformModel.InputSchema); 658var edv = new EmptyDataView(env, model.TransformModel.InputSchema); 720var dv = new EmptyDataView(Host, PredictorModels[i].TransformModel.InputSchema);
Microsoft.ML.EntryPoints (1)
ScoreModel.cs (1)
125var emptyData = new EmptyDataView(host, input.PredictorModel.TransformModel.InputSchema);
Microsoft.ML.FastTree (4)
TreeEnsembleFeaturizationTransformer.cs (4)
101Scorer = new GenericScorer(Host, _scorerArgs, new EmptyDataView(Host, inputSchema), BindableMapper.Bind(Host, roleMappedSchema), roleMappedSchema); 135Scorer = new GenericScorer(Host, _scorerArgs, new EmptyDataView(Host, TrainSchema), BindableMapper.Bind(Host, roleMappedSchema), roleMappedSchema); 146public override DataViewSchema GetOutputSchema(DataViewSchema inputSchema) => Transform(new EmptyDataView(Host, inputSchema)).Schema; 168DataSaverUtils.SaveDataView(ch, saver, new EmptyDataView(Host, TrainSchema), writer.BaseStream);
Microsoft.ML.OnnxConverter (2)
SaveOnnxCommand.cs (2)
315view = _model.Apply(Host, new EmptyDataView(Host, _model.InputSchema)); 319view = _predictiveModel.TransformModel.Apply(Host, new EmptyDataView(Host, _predictiveModel.TransformModel.InputSchema));
Microsoft.ML.Parquet (2)
ParquetLoader.cs (1)
421var noRows = new EmptyDataView(_host, Schema);
PartitionedFileLoader.cs (1)
272var noRows = new EmptyDataView(_host, Schema);
Microsoft.ML.Recommender (4)
MatrixFactorizationPredictor.cs (4)
466Scorer = new GenericScorer(Host, args, new EmptyDataView(Host, trainSchema), BindableMapper.Bind(Host, schema), schema); 505Scorer = new GenericScorer(Host, args, new EmptyDataView(Host, TrainSchema), BindableMapper.Bind(Host, schema), schema); 519return Transform(new EmptyDataView(Host, inputSchema)).Schema; 541DataSaverUtils.SaveDataView(ch, saver, new EmptyDataView(Host, TrainSchema), writer.BaseStream);
Microsoft.ML.StandardTrainers (4)
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (4)
329Scorer = new BinaryClassifierScorer(Host, args, new EmptyDataView(Host, trainSchema), BindableMapper.Bind(Host, schema), schema); 364Scorer = new BinaryClassifierScorer(Host, args, new EmptyDataView(Host, TrainSchema), BindableMapper.Bind(Host, schema), schema); 384return Transform(new EmptyDataView(Host, inputSchema)).Schema; 410DataSaverUtils.SaveDataView(ch, saver, new EmptyDataView(Host, TrainSchema), writer.BaseStream);
Microsoft.ML.TimeSeries (6)
IidAnomalyDetectionBase.cs (1)
130return Transform(new EmptyDataView(Host, inputSchema)).Schema;
PredictionEngine.cs (1)
222var cursorable = TypedCursorable<TDst>.Create(env, new EmptyDataView(env, mapper.OutputSchema), ignoreMissingColumns, outputSchemaDefinition);
SequentialTransformerBase.cs (1)
460return new TimeSeriesRowToRowMapperTransform(Host, new EmptyDataView(Host, inputSchema), MakeRowMapper(inputSchema));
SrCnnAnomalyDetectionBase.cs (1)
121return Transform(new EmptyDataView(Host, inputSchema)).Schema;
SsaAnomalyDetectionBase.cs (1)
256return Transform(new EmptyDataView(Host, inputSchema)).Schema;
SsaForecastingBase.cs (1)
180return Transform(new EmptyDataView(Host, inputSchema)).Schema;
Microsoft.ML.Transforms (6)
CustomMappingTransformer.cs (2)
105return new RowToRowMapperTransform(_host, new EmptyDataView(_host, inputSchema), simplerMapper, MakeRowMapper); 126var emptyDataView = new EmptyDataView(_host, inputSchema);
OptionalColumnTransform.cs (1)
143var noRows = new EmptyDataView(env, _inputWithOptionalColumn);
StatefulCustomMappingTransformer.cs (2)
80var rowToRow = new RowToRowMapper(_host, this, new EmptyDataView(_host, inputSchema)); 102return new RowToRowMapper(_host, this, new EmptyDataView(_host, inputSchema));
Text\WrappedTextTransformers.cs (1)
402var transformer = Fit(new EmptyDataView(_host, fakeSchema));