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