88 instantiations of DetachedColumn
Microsoft.ML.Data (35)
Evaluators\MultiOutputRegressionEvaluator.cs (5)
452infos[LabelOutput] = new DataViewSchema.DetachedColumn(LabelCol, _labelType, _labelMetadata);
453infos[ScoreOutput] = new DataViewSchema.DetachedColumn(ScoreCol, _scoreType, _scoreMetadata);
454infos[L1Output] = new DataViewSchema.DetachedColumn(L1, NumberDataViewType.Double, null);
455infos[L2Output] = new DataViewSchema.DetachedColumn(L2, NumberDataViewType.Double, null);
456infos[DistCol] = new DataViewSchema.DetachedColumn(Dist, NumberDataViewType.Double, null);
Microsoft.ML.FastTree (2)
Microsoft.ML.ImageAnalytics (3)
Microsoft.ML.Mkl.Components (1)
Microsoft.ML.OnnxTransformer (1)
Microsoft.ML.Parquet (2)
Microsoft.ML.PCA (1)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.TimeSeries (6)
Microsoft.ML.TorchSharp (15)
AutoFormerV2\ObjectDetectionTrainer.cs (5)
183transformer = new ObjectDetectionTransformer(Host, Option, trainer.Model, new DataViewSchema.DetachedColumn(labelCol.Value));
706var labelCol = new DataViewSchema.DetachedColumn(options.LabelColumnName, type, meta.ToAnnotations());
767info[0] = new DataViewSchema.DetachedColumn(_parent.Options.PredictedLabelColumnName, new VectorDataViewType(new KeyDataViewType(typeof(uint), _parent.Options.NumberOfClasses)), labelBuilder.ToAnnotations());
769info[1] = new DataViewSchema.DetachedColumn(_parent.Options.ScoreColumnName, new VectorDataViewType(NumberDataViewType.Single), meta.ToAnnotations());
771info[2] = new DataViewSchema.DetachedColumn(_parent.Options.PredictedBoundingBoxColumnName, new VectorDataViewType(NumberDataViewType.Single));
NasBert\NasBertTrainer.cs (4)
534info[0] = new DataViewSchema.DetachedColumn(Parent.Options.PredictionColumnName, new KeyDataViewType(typeof(uint), Parent.Options.NumberOfClasses), labelBuilder.ToAnnotations());
536info[1] = new DataViewSchema.DetachedColumn(Parent.Options.ScoreColumnName, new VectorDataViewType(NumberDataViewType.Single, Parent.Options.NumberOfClasses), meta.ToAnnotations());
548info[0] = new DataViewSchema.DetachedColumn(Parent.Options.PredictionColumnName, new VectorDataViewType(new KeyDataViewType(typeof(uint), Parent.Options.NumberOfClasses - 1)), labelBuilder.ToAnnotations());
556info[0] = new DataViewSchema.DetachedColumn(Parent.Options.ScoreColumnName, NumberDataViewType.Single);
Microsoft.ML.Transforms (20)
Microsoft.ML.Vision (1)
142 references to DetachedColumn
Microsoft.ML.Core (1)
Microsoft.ML.Data (44)
Microsoft.ML.DataView (4)
Microsoft.ML.FastTree (1)
Microsoft.ML.ImageAnalytics (5)
Microsoft.ML.Mkl.Components (2)
Microsoft.ML.OnnxTransformer (2)
Microsoft.ML.PCA (2)
Microsoft.ML.TensorFlow (2)
Microsoft.ML.TimeSeries (8)
Microsoft.ML.TorchSharp (33)
NasBert\NerTrainer.cs (3)
109private protected override TorchSharpBaseTransformer<VBuffer<uint>, TargetType> CreateTransformer(IHost host, Options options, torch.nn.Module model, DataViewSchema.DetachedColumn labelColumn)
258internal NerTransformer(IHostEnvironment env, NasBertOptions options, NasBertModel model, DataViewSchema.DetachedColumn labelColumn) : base(env, options, model, labelColumn)
352var labelCol = new DataViewSchema.DetachedColumn(options.LabelColumnName, type, meta.ToAnnotations());
NasBert\SentenceSimilarityTrainer.cs (3)
108private protected override TorchSharpBaseTransformer<float, float> CreateTransformer(IHost host, Options options, torch.nn.Module model, DataViewSchema.DetachedColumn labelColumn)
190internal SentenceSimilarityTransformer(IHostEnvironment env, NasBertOptions options, ModelForPrediction model, DataViewSchema.DetachedColumn labelColumn) : base(env, options, model, labelColumn)
253var labelCol = new DataViewSchema.DetachedColumn(options.LabelColumnName, NumberDataViewType.Single);
NasBert\TextClassificationTrainer.cs (3)
108private protected override TorchSharpBaseTransformer<uint, long> CreateTransformer(IHost host, Options options, torch.nn.Module model, DataViewSchema.DetachedColumn labelColumn)
195internal TextClassificationTransformer(IHostEnvironment env, NasBertOptions options, NasBertModel model, DataViewSchema.DetachedColumn labelColumn) : base(env, options, model, labelColumn)
289var labelCol = new DataViewSchema.DetachedColumn(options.LabelColumnName, type, meta.ToAnnotations());
TorchSharpBaseTrainer.cs (6)
129private protected abstract TorchSharpBaseTransformer<TLabelCol, TTargetsCol> CreateTransformer(IHost host, TorchSharpBaseTrainer<TLabelCol, TTargetsCol>.Options options, Module model, DataViewSchema.DetachedColumn labelColumn);
385public readonly DataViewSchema.DetachedColumn LabelColumn;
388internal TorchSharpBaseTransformer(IHostEnvironment env, TorchSharpBaseTrainer.Options options, Module model, DataViewSchema.DetachedColumn labelColumn)
447private static readonly FuncInstanceMethodInfo1<TorchSharpBaseMapper, DataViewSchema.DetachedColumn, Delegate> _makeLabelAnnotationGetter
448= FuncInstanceMethodInfo1<TorchSharpBaseMapper, DataViewSchema.DetachedColumn, Delegate>.Create(target => target.GetLabelAnnotations<int>);
450private Delegate GetLabelAnnotations<T>(DataViewSchema.DetachedColumn labelCol)
Microsoft.ML.Transforms (36)
Microsoft.ML.Vision (2)