76 references to UInt32
Microsoft.Data.Analysis (3)
DataFrameColumns\VBufferDataFrameColumn.cs (1)
349return new VectorDataViewType(NumberDataViewType.UInt32);
IDataView.Extension.cs (1)
103else if (type == NumberDataViewType.UInt32)
PrimitiveDataFrameColumn.cs (1)
835return NumberDataViewType.UInt32;
Microsoft.ML.Core (2)
Data\AnnotationUtils.cs (1)
428cols.Add(new SchemaShape.Column(Kinds.ScoreColumnSetId, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true));
Data\ColumnTypeExtensions.cs (1)
154return NumberDataViewType.UInt32;
Microsoft.ML.Core.Tests (1)
UnitTests\ColumnTypes.cs (1)
28NumberDataViewType.Byte, NumberDataViewType.UInt16, NumberDataViewType.UInt32, NumberDataViewType.UInt64, RowIdDataViewType.Instance,
Microsoft.ML.Data (17)
Prediction\CalibratorCatalog.cs (1)
112setIdCol.Kind == scalar && setIdCol.IsKey && setIdCol.ItemType == NumberDataViewType.UInt32 &&
Training\TrainerUtils.cs (1)
370return new SchemaShape.Column(columnName, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true);
Transforms\Hashing.cs (3)
1398castOutput = ctx.AddIntermediateVariable(NumberDataViewType.UInt32, "CastOutput", true); 1400castNode.AddAttribute("to", NumberDataViewType.UInt32.RawType); 1969NumberDataViewType.UInt32, true, new SchemaShape(metadata));
Transforms\InvertHashUtils.cs (1)
58var keyMapper = conv.GetStandardConversion<T, uint>(type, NumberDataViewType.UInt32, out identity);
Transforms\KeyToValue.cs (3)
335_convertToUInt = Data.Conversion.Conversions.DefaultInstance.GetStandardConversion<TKey, UInt32>(typeKey, NumberDataViewType.UInt32, out identity); 523TypeOutput == NumberDataViewType.UInt64 || TypeOutput == NumberDataViewType.UInt32) 533TypeOutput == NumberDataViewType.UInt32 || TypeOutput == NumberDataViewType.UInt16)
Transforms\KeyToVector.cs (3)
477var getSrc = RowCursorUtils.GetGetterAs<uint>(NumberDataViewType.UInt32, input, srcCol); 518var getSrc = RowCursorUtils.GetVecGetterAs<uint>(NumberDataViewType.UInt32, input, srcCol); 564var getSrc = RowCursorUtils.GetVecGetterAs<uint>(NumberDataViewType.UInt32, input, srcCol);
Transforms\ValueMapping.cs (3)
109var columnType = (isKey) ? NumberDataViewType.UInt32 : 1156else if (typeKey == NumberDataViewType.UInt32) 1236else if (typeValue == NumberDataViewType.UInt32 || kind == InternalDataKind.U4)
Transforms\ValueToKeyMappingEstimator.cs (1)
204result[colInfo.OutputColumnName] = new SchemaShape.Column(colInfo.OutputColumnName, col.Kind, NumberDataViewType.UInt32, true, metadata);
Transforms\ValueToKeyMappingTransformer.cs (1)
863else if (type.Equals(NumberDataViewType.UInt32))
Microsoft.ML.DataView (2)
DataViewType.cs (1)
35/// For example, most practical instances of ML.NET's KeyType and <see cref="NumberDataViewType.UInt32"/> will have a
KeyDataViewType.cs (1)
106return NumberDataViewType.UInt32.ToString();
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
315NumberDataViewType.UInt32,
Microsoft.ML.LightGbm (2)
LightGbmMulticlassTrainer.cs (1)
371new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true, metadata)
LightGbmRankingTrainer.cs (1)
260if (!(groupType == NumberDataViewType.UInt32 || groupType is KeyDataViewType))
Microsoft.ML.OnnxTransformer (1)
OnnxTypeParser.cs (1)
139scalarType = NumberDataViewType.UInt32;
Microsoft.ML.Predictor.Tests (2)
TestTransposer.cs (2)
169builder.AddColumn("E", NumberDataViewType.UInt32, GenerateHelper(rowCount, 0.1, rgen, () => (uint)rgen.Next(int.MinValue, int.MaxValue))); 235builder.AddColumn("E", NumberDataViewType.UInt32, GenerateHelper(rowCount, 0.1, rgen, () => (uint)rgen.Next(int.MinValue, int.MaxValue)));
Microsoft.ML.Recommender (8)
MatrixFactorizationPredictor.cs (2)
402var matrixColumnIndexGetter = RowCursorUtils.GetGetterAs<uint>(NumberDataViewType.UInt32, input, _matrixColumnIndexColumnIndex); 403var matrixRowIndexGetter = RowCursorUtils.GetGetterAs<uint>(NumberDataViewType.UInt32, input, _matrixRowIndexCololumnIndex);
MatrixFactorizationTrainer.cs (6)
478var matrixColumnIndexGetter = RowCursorUtils.GetGetterAs<uint>(NumberDataViewType.UInt32, cursor, matrixColumnIndexColInfo.Index); 479var matrixRowIndexGetter = RowCursorUtils.GetGetterAs<uint>(NumberDataViewType.UInt32, cursor, matrixRowIndexColInfo.Index); 496var validMatrixColumnIndexGetter = RowCursorUtils.GetGetterAs<uint>(NumberDataViewType.UInt32, validCursor, validMatrixColumnIndexColInfo.Index); 497var validMatrixRowIndexGetter = RowCursorUtils.GetGetterAs<uint>(NumberDataViewType.UInt32, validCursor, validMatrixRowIndexColInfo.Index); 573var matrixColumnIndexColumn = new SchemaShape.Column(MatrixColumnIndexName, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true); 574var matrixRowIndexColumn = new SchemaShape.Column(MatrixRowIndexName, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true);
Microsoft.ML.StandardTrainers (8)
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
379new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true, metadata)
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (2)
71LabelColumn = new SchemaShape.Column(labelColumn, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true); 179new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32,
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (1)
125new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true, predLabelMetadata)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (2)
201return MapLabelsCore(NumberDataViewType.UInt32, (in uint val) => key == val, data); 546predictorOutputNames[0] = ctx.AddIntermediateVariable(NumberDataViewType.UInt32, $"{DefaultColumnNames.PredictedLabel}_{i}", true);
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
175return MapLabelsCore(NumberDataViewType.UInt32, (in uint val) => val == key1 || val == key2, data);
Standard\SdcaMulticlass.cs (1)
169new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true, metadata)
Microsoft.ML.TensorFlow (1)
TensorflowUtils.cs (1)
171return NumberDataViewType.UInt32;
Microsoft.ML.TestFramework (1)
BaseTestBaseline.cs (1)
711else if (leftType == NumberDataViewType.UInt32)
Microsoft.ML.Tests (4)
FeatureContributionTests.cs (1)
311bldr.AddColumn("GroupId", NumberDataViewType.UInt32, CreateGroupIds(yArray.Length));
PermutationFeatureImportanceTests.cs (2)
855bldr.AddColumn("GroupId", NumberDataViewType.UInt32, CreateGroupIds(yArray.Length)); 935bldr.AddColumn("GroupId", NumberDataViewType.UInt32, CreateGroupIds(yArray.Length));
Transformers\HashTests.cs (1)
242HashTestCore((uint)value, NumberDataViewType.UInt32, expected, expectedOrdered, expectedOrdered3, expectedCombined, expectedCombinedSparse);
Microsoft.ML.TorchSharp (14)
AutoFormerV2\ObjectDetectionTrainer.cs (5)
457NumberDataViewType.UInt32, true)); 465NumberDataViewType.UInt32, true, new SchemaShape(metadata.ToArray())); 528PredictedLabelColumnName = new SchemaShape.Column(Options.PredictedLabelColumnName, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.UInt32, false); 558NumberDataViewType.UInt32, true)); 563NumberDataViewType.UInt32, true, predLabelMetadata);
NasBert\NasBertTrainer.cs (7)
336NumberDataViewType.UInt32, true, new SchemaShape(metadata.ToArray())); 351NumberDataViewType.UInt32, true, new SchemaShape(metadata.ToArray())); 376if (labelCol.ItemType != NumberDataViewType.UInt32) 378NumberDataViewType.UInt32.ToString(), labelCol.GetTypeString()); 392if (labelCol.ItemType != NumberDataViewType.UInt32) 394NumberDataViewType.UInt32.ToString(), labelCol.GetTypeString()); 441NumberDataViewType.UInt32, true, predLabelMetadata);
Roberta\QATrainer.cs (2)
517NumberDataViewType.UInt32, true)); 603NumberDataViewType.UInt32, true)
Microsoft.ML.Transforms (8)
Dracula\CountTableTransformer.cs (1)
335if (!col.IsKey || !col.ItemType.Equals(NumberDataViewType.UInt32))
KeyToVectorMapping.cs (2)
363var getSrc = RowCursorUtils.GetGetterAs<uint>(NumberDataViewType.UInt32, input, srcCol); 391var getSrc = RowCursorUtils.GetVecGetterAs<uint>(NumberDataViewType.UInt32, input, srcCol);
MutualInformationFeatureSelection.cs (1)
769var conv = Data.Conversion.Conversions.DefaultInstance.GetStandardConversion<T, uint>(colType, NumberDataViewType.UInt32, out bool identity);
Text\NgramHashingTransformer.cs (1)
564getSrc[isrc] = RowCursorUtils.GetVecGetterAs<uint>(NumberDataViewType.UInt32, input, _srcIndices[iinfo][isrc]);
Text\NgramTransform.cs (3)
249getters[iinfo] = RowCursorUtils.GetVecGetterAs<uint>(NumberDataViewType.UInt32, cursor, srcCols[iinfo]); 676var getSrc = RowCursorUtils.GetVecGetterAs<uint>(NumberDataViewType.UInt32, input, _srcCols[iinfo]); 790var dataKind = _srcTypes[iinfo] == NumberDataViewType.UInt32 ? DataKind.Int32 : DataKind.Int64;
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
645NumberDataViewType.UInt32, true, new SchemaShape(metadata.ToArray()))