93 references to GetValue
DnnAnalyzer (2)
DnnAnalyzer.cs (2)
42schema[i].Annotations.GetValue("TensorflowOperatorType", ref opType); 47schema[i].Annotations.GetValue("TensorflowUpstreamOperators", ref inputOps);
Microsoft.ML.Core (6)
Data\AnnotationUtils.cs (6)
232schema[col].Annotations.GetValue(annotationKind, ref value); 254schema[col].Annotations.GetValue(annotationKind, ref val); 273schema[col].Annotations.GetValue(annotationKind, ref val); 307schema.Schema[list[0].Index].Annotations.GetValue(Kinds.SlotNames, ref slotNames); 366schema[col].Annotations.GetValue(kind, ref value); 392schema[colIndex].Annotations.GetValue(Kinds.CategoricalSlotRanges, ref catIndices);
Microsoft.ML.Core.Tests (3)
UnitTests\TestEntryPoints.cs (3)
1636binaryScored.Schema[scoreCol.Value.Index].Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnKind, ref kind); 1644regressionScored.Schema[scoreCol.Value.Index].Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnKind, ref kind); 1652anomalyScored.Schema[scoreCol.Value.Index].Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnKind, ref kind);
Microsoft.ML.Data (37)
Commands\ShowSchemaCommand.cs (3)
163schema[col].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref names); 241schema[col].Annotations.GetValue(kind, ref value); 278schema[col].Annotations.GetValue(kind, ref value);
Data\SchemaAnnotationsExtensions.cs (3)
35=> column.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref slotNames); 74=> column.Annotations.GetValue(AnnotationUtils.Kinds.KeyValues, ref keyValues); 87column.Annotations.GetValue(AnnotationUtils.Kinds.IsNormalized, ref value);
DataLoadSave\Binary\BinarySaver.cs (1)
361schema[col].Annotations.GetValue(kind, ref value);
DataLoadSave\Text\TextSaver.cs (1)
170cursor.Schema[source].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref _slotNames);
DataView\DataViewConstructionUtils.cs (1)
105annotations.GetValue(kind, ref value);
Evaluators\EvaluatorUtils.cs (15)
66schema[col].Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnKind, ref tmp); 77schema[col].Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnKind, ref tmp); 91schema[col].Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnKind, ref tmp); 136col.Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnKind, ref tmp); 144col.Annotations.GetValue(AnnotationUtils.Kinds.ScoreValueKind, ref tmp); 193schema[colScore].Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnSetId, ref setId); 205col.Annotations.GetValue(AnnotationUtils.Kinds.ScoreValueKind, ref tmp); 226schema[col].Annotations.GetValue(AnnotationUtils.Kinds.ScoreColumnKind, ref tmp); 355schema[i].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref names); 481idv.Schema[col].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref slotNamesCur); 731(ref VBuffer<ReadOnlyMemory<char>> dst) => schema[index].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref dst); 846dv.Schema[i].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref slotNames); 965dv.Schema[col].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref currSlotNames); 1029schema[i].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref names); 1398countColumn.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref labelNames);
Evaluators\MulticlassClassificationEvaluator.cs (2)
105schema.Schema[scoreInfo.Index].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref labelNames); 625schema[(int)ScoreIndex].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref classNames);
Evaluators\MultiOutputRegressionEvaluator.cs (1)
599(ref VBuffer<ReadOnlyMemory<char>> dst) => schema[column].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref dst);
Evaluators\QuantileRegressionEvaluator.cs (1)
50schema.Schema[scoreInfo.Index].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref quantiles);
Scorers\FeatureContributionCalculation.cs (2)
332FeatureColumn.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref _slotNames); 341FeatureColumn.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref value));
Scorers\RowToRowScorerBase.cs (1)
466Mapper.OutputSchema[iinfo - DerivedColumnCount].Annotations.GetValue(kind, ref value);
Transforms\ColumnBindingsBase.cs (1)
542Input[index].Annotations.GetValue(kind, ref value);
Transforms\ColumnConcatenatingTransformer.cs (1)
654inputMetadata.GetValue(AnnotationUtils.Kinds.SlotNames, ref names);
Transforms\FeatureContributionCalculationTransformer.cs (1)
188InputSchema[_featureColumnIndex].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref _slotNames);
Transforms\KeyToVector.cs (2)
382inputMetadata.GetValue(AnnotationUtils.Kinds.SlotNames, ref namesSlotSrc); 394inputMetadata.GetValue(AnnotationUtils.Kinds.KeyValues, ref namesKeySrc);
Transforms\MetadataDispatcher.cs (1)
298info.SchemaSrc[info.IndexSrc].Annotations.GetValue(kind, ref value);
Microsoft.ML.FastTree (2)
GamModelParameters.cs (1)
639featCol.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref _featNames);
TreeEnsemble\InternalTreeEnsemble.cs (1)
447sch[feat.Index].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref _names);
Microsoft.ML.Samples (2)
Dynamic\Transforms\Conversion\Hash.cs (1)
80transformedData.Schema["CategoryHashed"].Annotations.GetValue(
Dynamic\Transforms\Conversion\HashWithOptions.cs (1)
94transformedData.Schema["CategoryHashed"].Annotations.GetValue(
Microsoft.ML.StandardTrainers (2)
Standard\LogisticRegression\LogisticRegression.cs (1)
273featureCol.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref namesSpans);
Standard\ModelStatistics.cs (1)
434featureColumn.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref names);
Microsoft.ML.TensorFlow.Tests (7)
TensorflowTests.cs (7)
591schema[col].Annotations.GetValue(TensorFlowUtils.TensorflowOperatorTypeKind, ref opType); 602schema[col].Annotations.GetValue(TensorFlowUtils.TensorflowOperatorTypeKind, ref opType); 607schema[col].Annotations.GetValue(TensorFlowUtils.TensorflowUpstreamOperatorsKind, ref inputOps); 617schema[col].Annotations.GetValue(TensorFlowUtils.TensorflowOperatorTypeKind, ref opType); 621schema[col].Annotations.GetValue(TensorFlowUtils.TensorflowUpstreamOperatorsKind, ref inputOps); 632schema[col].Annotations.GetValue(TensorFlowUtils.TensorflowOperatorTypeKind, ref opType); 636schema[col].Annotations.GetValue(TensorFlowUtils.TensorflowUpstreamOperatorsKind, ref inputOps);
Microsoft.ML.TestFrameworkCommon (3)
TestCommon.cs (3)
262sch1[col].Annotations.GetValue(kind, ref names1); 263sch2[col].Annotations.GetValue(kind, ref names2); 273sch[col].Annotations.GetValue(kind, ref names);
Microsoft.ML.Tests (22)
FakeSchemaTest.cs (1)
53metaC.GetValue("M", ref mValue);
Scenarios\Api\Estimators\PredictAndMetadata.cs (1)
47engine.OutputSchema[nameof(IrisPrediction.Score)].Annotations.GetValue(AnnotationUtils.Kinds.TrainingLabelValues, ref originalLabels);
Scenarios\Api\TestApi.cs (6)
243idv.Schema[0].Annotations.GetValue(kindFloat, ref retrievedFloat); 247idv.Schema[0].Annotations.GetValue(kindString, ref retrievedReadOnlyMemory); 251idv.Schema[1].Annotations.GetValue(kindStringArray, ref retrievedReadOnlyMemoryVBuffer); 255idv.Schema[1].Annotations.GetValue(kindFloatArray, ref retrievedFloatVBuffer); 260idv.Schema[1].Annotations.GetValue(kindVBuffer, ref retrievedVBuffer); 263Assert.Throws<InvalidOperationException>(() => idv.Schema[1].Annotations.GetValue(kindFloat, ref retrievedReadOnlyMemoryVBuffer));
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (5)
68treeValuesColumn.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref slotNames); 87treeLeafIdsColumn.Annotations.GetValue(AnnotationUtils.Kinds.IsNormalized, ref leafIdsNormalizedFlag); 91treeLeafIdsColumn.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref leafIdsSlotNames); 110treePathIdsColumn.Annotations.GetValue(AnnotationUtils.Kinds.IsNormalized, ref pathIdsNormalizedFlag); 114treePathIdsColumn.Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref pathIdsSlotNames);
Transformers\CategoricalHashTests.cs (2)
175column.Annotations.GetValue(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges); 185column.Annotations.GetValue(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
Transformers\CategoricalTests.cs (2)
251column.Annotations.GetValue(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges); 261column.Annotations.GetValue(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
Transformers\ConvertTests.cs (1)
296output.Schema["CatA"].Annotations.GetValue(AnnotationUtils.Kinds.KeyValues, ref slotNames);
Transformers\KeyToVectorEstimatorTests.cs (4)
146column.Annotations.GetValue(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges); 156column.Annotations.GetValue(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges); 170column.Annotations.GetValue(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges); 190column.Annotations.GetValue(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
Microsoft.ML.Transforms (7)
HashJoiningTransform.cs (1)
423Source.Schema[Infos[iinfo].Source].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref srcSlotNames);
KeyToVectorMapping.cs (1)
298inputMetadata.GetValue(AnnotationUtils.Kinds.SlotNames, ref namesSlotSrc);
MissingValueIndicatorTransform.cs (1)
204Source.Schema[Infos[iinfo].Source].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref names);
PermutationFeatureImportance.cs (1)
57data.Schema[featuresColumnIndex].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref slotNames);
PermutationFeatureImportanceExtensions.cs (1)
705data.Schema[featureColumnName].Annotations.GetValue("SlotNames", ref nameBuffer);
SvmLight\SvmLightLoader.cs (1)
732col.Annotations.GetValue(AnnotationUtils.Kinds.KeyValues, ref keyValues);
Text\LdaTransform.cs (1)
851inputSchema[srcCol].Annotations.GetValue(AnnotationUtils.Kinds.SlotNames, ref dst);