1 instantiation of SchemaDefinition
Microsoft.ML.Data (1)
Data\SchemaDefinition.cs (1)
422SchemaDefinition cols = new SchemaDefinition();
122 references to SchemaDefinition
Microsoft.ML.Data (41)
Data\SchemaDefinition.cs (3)
205public sealed class SchemaDefinition : List<SchemaDefinition.Column> 418public static SchemaDefinition Create(Type userType, Direction direction = Direction.Both) 422SchemaDefinition cols = new SchemaDefinition();
DataLoadSave\DataOperationsCatalog.cs (2)
77public IDataView LoadFromEnumerable<TRow>(IEnumerable<TRow> data, SchemaDefinition schemaDefinition = null) 129bool ignoreMissingColumns = false, SchemaDefinition schemaDefinition = null)
DataView\DataViewConstructionUtils.cs (10)
26SchemaDefinition schemaDefinition = null) 33? InternalSchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Read) 39SchemaDefinition schemaDefinition = null) 46? InternalSchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Read) 62internal static SchemaDefinition GetSchemaDefinition<TRow>(IHostEnvironment env, DataViewSchema schema) 67var schemaDefinition = SchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Read); 109public static InputRow<TRow> CreateInputRow<TRow>(IHostEnvironment env, SchemaDefinition schemaDefinition = null) 115? InternalSchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Read)
DataView\InternalSchemaDefinition.cs (5)
205public static InternalSchemaDefinition Create(Type userType, SchemaDefinition.Direction direction) 207var userSchemaDefinition = SchemaDefinition.Create(userType, direction); 211public static InternalSchemaDefinition Create(Type userType, SchemaDefinition userSchemaDefinition) 217userSchemaDefinition = SchemaDefinition.Create(userType);
DataView\TypedCursor.cs (7)
222if (!SchemaDefinition.NeedToCheckMemberInfo(memberInfo)) 258private static void ValidateUserType(SchemaDefinition schemaDefinition, Type userType, IDataView data) 264memberInfos = SchemaDefinition.GetMemberInfos(userType, SchemaDefinition.Direction.Write); 312public static TypedCursorable<TRow> Create(IHostEnvironment env, IDataView data, bool ignoreMissingColumns, SchemaDefinition schemaDefinition) 321? InternalSchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Write) 664SchemaDefinition schemaDefinition = null)
Model\ModelOperationsCatalog.cs (2)
313bool ignoreMissingColumns = true, SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null)
Model\PredictionEngineExtensions.cs (2)
29IHostEnvironment env, bool ignoreMissingColumns = true, SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null, bool ownsTransformer = true)
Prediction\PredictionEngine.cs (10)
22internal PipeEngine(IHostEnvironment env, IDataView pipe, bool ignoreMissingColumns, SchemaDefinition schemaDefinition = null) 62SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null, bool ownsTransformer = true) 109SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null, bool ownsTransformer = true) 124IRowToRowMapper mapper, bool ignoreMissingColumns, SchemaDefinition outputSchemaDefinition, out Action disposer, out IRowReadableAs<TDst> outputRow) 188public SchemaDefinition InputSchemaDefinition = Defaults.InputSchemaDefinition; 191public SchemaDefinition OutputSchemaDefinition = Defaults.OutputSchemaDefinition; 199public const SchemaDefinition InputSchemaDefinition = null; 200public const SchemaDefinition OutputSchemaDefinition = null;
Microsoft.ML.EntryPoints (5)
PermutationFeatureImportance.cs (5)
191SchemaDefinition schema = SchemaDefinition.Create(typeof(MulticlassMetrics)); 296SchemaDefinition schema = SchemaDefinition.Create(typeof(RankingMetrics)); 322private static void ConvertVectorToKnownSize(string metricName, int size, ref SchemaDefinition schema)
Microsoft.ML.IntegrationTests (9)
ModelFiles.cs (2)
234SchemaDefinition inputSchemaDefinition = SchemaDefinition.Create(typeof(ModelInput));
SchemaDefinitionTests.cs (7)
44var outputSchemaDefinition = SchemaDefinition.Create(typeof(OutputData)); 48outputSchemaDefinition = SchemaDefinition.Create(typeof(OutputData)); 73var inputSchemaDefinition = SchemaDefinition.Create(typeof(OutputData)); 75var outputSchemaDefinition = SchemaDefinition.Create(typeof(OutputData));
Microsoft.ML.OnnxTransformerTest (2)
OnnxTransformTests.cs (2)
837/// Use <see cref="CustomMappingCatalog.CustomMapping{TSrc, TDst}(TransformsCatalog, Action{TSrc, TDst}, string, SchemaDefinition, SchemaDefinition)"/>
Microsoft.ML.Samples (3)
Dynamic\DataOperations\LoadFromEnumerable.cs (2)
62var definedSchema = SchemaDefinition.Create(typeof(DataPoint));
Dynamic\SimpleDataViewImplementation.cs (1)
105/// .LoadFromEnumerable{TRow}(IEnumerable{TRow}, SchemaDefinition)"/>
Microsoft.ML.SamplesUtils (2)
SamplesDatasetUtils.cs (2)
225/// calling <see cref="DataOperationsCatalog.CreateEnumerable{TRow}(IDataView, bool, bool, SchemaDefinition)"/> via on <see cref="MLContext"/>. 236/// calling <see cref="DataOperationsCatalog.CreateEnumerable{TRow}(IDataView, bool, bool, SchemaDefinition)"/> via on <see cref="MLContext"/>.
Microsoft.ML.Tests (20)
OnnxConversionTest.cs (2)
2183private void TestPipeline<TRow>(IEstimator<ITransformer> pipeline, IEnumerable<TRow> data, string onnxFileName, ColumnComparison[] columnsToCompare, SchemaDefinition schemaDefinition = null, string onnxTxtName = null, string onnxTxtSubDir = null) 2219private void TestPipeline<TLastTransformer, TRow>(EstimatorChain<TLastTransformer> pipeline, IEnumerable<TRow> data, string onnxFileName, ColumnComparison[] columnsToCompare, SchemaDefinition schemaDefinition = null, string onnxTxtName = null, string onnxTxtSubDir = null)
Scenarios\Api\TestApi.cs (2)
198var autoSchema = SchemaDefinition.Create(typeof(BreastCancerExample));
SvmLightTests.cs (16)
74var schemaDef = SchemaDefinition.Create(typeof(SvmLightOutput)); 103var schemaDef = SchemaDefinition.Create(typeof(SvmLightOutput)); 131var schemaDef = SchemaDefinition.Create(typeof(SvmLightOutput)); 159var schemaDef = SchemaDefinition.Create(typeof(SvmLightOutput)); 210var schemaDef = SchemaDefinition.Create(typeof(SvmLightOutput)); 304var schemaDef = SchemaDefinition.Create(typeof(SvmLightOutput)); 461var schemaDef = SchemaDefinition.Create(typeof(SvmLightOutput)); 488var schemaDef = SchemaDefinition.Create(typeof(SvmLightOutput));
Microsoft.ML.TimeSeries (14)
PredictionEngine.cs (5)
146SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null) : 218IRowToRowMapper mapper, bool ignoreMissingColumns, SchemaDefinition outputSchemaDefinition, out Action disposer, out IRowReadableAs<TDst> outputRow) 400bool ignoreMissingColumns = false, SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null)
SequentialTransformBase.cs (4)
239var inputSchema = SchemaDefinition.Create(typeof(DataBox<TInput>)); 242var outputSchema = SchemaDefinition.Create(typeof(DataBox<TOutput>));
SequentialTransformerBase.cs (5)
496var inputSchema = SchemaDefinition.Create(typeof(DataBox<TInput>)); 499SchemaDefinition outputSchema; 503outputSchema = SchemaDefinition.Create(typeof(DataBoxForecastingWithConfidenceIntervals<TOutput>)); 522outputSchema = SchemaDefinition.Create(typeof(DataBox<TOutput>));
Microsoft.ML.Transforms (26)
CustomMappingCatalog.cs (2)
45SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null)
CustomMappingTransformer.cs (8)
28internal SchemaDefinition InputSchemaDefinition { get; } 45SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null) 58? InternalSchemaDefinition.Create(typeof(TDst), SchemaDefinition.Direction.Write) 229/// <seealso cref="CustomMappingCatalog.CustomMapping{TSrc, TDst}(TransformsCatalog, Action{TSrc, TDst}, string, SchemaDefinition, SchemaDefinition)"/> 243SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null)
LambdaTransform.cs (3)
100SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null) 140Func<TSrc, TState, bool> filterFunc, Action<TState> initStateAction, SchemaDefinition inputSchemaDefinition = null)
PermutationFeatureImportance.cs (4)
186SchemaDefinition input = SchemaDefinition.Create(typeof(FeaturesBuffer)); 190SchemaDefinition output = SchemaDefinition.Create(typeof(FeaturesBuffer));
StatefulCustomMappingTransformer.cs (2)
61AddedSchema = InternalSchemaDefinition.Create(typeof(TDst), SchemaDefinition.Direction.Write); 392var inputDef = InternalSchemaDefinition.Create(typeof(TSrc), SchemaDefinition.Direction.Read);
StatefulFilterTransform.cs (3)
39private readonly SchemaDefinition _inputSchemaDefinition; 56SchemaDefinition inputSchemaDefinition = null, SchemaDefinition outputSchemaDefinition = null)
SvmLight\SvmLightLoader.cs (4)
643var schemaDef = SchemaDefinition.Create(typeof(Indices)); 720var schemaDef = SchemaDefinition.Create(typeof(Output));