43 references to Int32
Microsoft.Data.Analysis (3)
DataFrameColumns\VBufferDataFrameColumn.cs (1)
333return new VectorDataViewType(NumberDataViewType.Int32);
IDataView.Extension.cs (1)
87else if (type == NumberDataViewType.Int32)
PrimitiveDataFrameColumn.cs (1)
819return NumberDataViewType.Int32;
Microsoft.ML.AutoML (1)
AutoMLExperiment\ITrialResultManager.cs (1)
45schemaBuilder.AddColumn("id", NumberDataViewType.Int32);
Microsoft.ML.Core (2)
Data\AnnotationUtils.cs (1)
157return new VectorDataViewType(NumberDataViewType.Int32, rangeCount, 2);
Data\ColumnTypeExtensions.cs (1)
152return NumberDataViewType.Int32;
Microsoft.ML.Core.Tests (2)
UnitTests\ColumnTypes.cs (1)
27var types = new PrimitiveDataViewType[] { NumberDataViewType.SByte, NumberDataViewType.Int16, NumberDataViewType.Int32, NumberDataViewType.Int64,
UnitTests\DataTypes.cs (1)
154var mapper = GetMapper<ReadOnlyMemory<char>, int>(NumberDataViewType.Int32);
Microsoft.ML.Data (8)
Transforms\ColumnConcatenatingEstimator.cs (2)
83&& mcol.ItemType == NumberDataViewType.Int32; 134meta.Add(new SchemaShape.Column(AnnotationUtils.Kinds.CategoricalSlotRanges, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Int32, false));
Transforms\KeyToValue.cs (2)
522TypeOutput == NumberDataViewType.Int32 || TypeOutput == NumberDataViewType.Int16 || 531if (TypeOutput == NumberDataViewType.Int64 || TypeOutput == NumberDataViewType.Int32 ||
Transforms\KeyToVector.cs (1)
834metadata.Add(new SchemaShape.Column(AnnotationUtils.Kinds.CategoricalSlotRanges, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Int32, false));
Transforms\ValueMapping.cs (2)
1134else if (typeKey == NumberDataViewType.Int32) 1218else if (typeValue == NumberDataViewType.Int32)
Transforms\ValueToKeyMappingTransformer.cs (1)
851else if (type.Equals(NumberDataViewType.Int32))
Microsoft.ML.FastTree (6)
Utils\RegressionTreeBaseUtils.cs (6)
101builder.AddColumn("TreeID", NumberDataViewType.Int32, treeId.ToArray()); 103builder.AddColumn(nameof(RegressionTreeBase.LeftChild), NumberDataViewType.Int32, leftChild.ToArray()); 104builder.AddColumn(nameof(RegressionTreeBase.RightChild), NumberDataViewType.Int32, rightChild.ToArray()); 105builder.AddColumn(nameof(RegressionTreeBase.NumericalSplitFeatureIndexes), NumberDataViewType.Int32, numericalSplitFeatureIndexes.ToArray()); 110builder.AddColumn("CategoricalSplitFeatures", NumberDataViewType.Int32, categoricalSplitFeatures.ToArray()); 111builder.AddColumn("CategoricalCategoricalSplitFeatureRange", NumberDataViewType.Int32, categoricalCategoricalSplitFeatureRange.ToArray());
Microsoft.ML.OnnxTransformer (1)
OnnxTypeParser.cs (1)
136scalarType = NumberDataViewType.Int32;
Microsoft.ML.Parquet (1)
ParquetLoader.cs (1)
347return NumberDataViewType.Int32;
Microsoft.ML.PerformanceTests (1)
CacheDataViewBench.cs (1)
35builder.AddColumn("A", NumberDataViewType.Int32, values);
Microsoft.ML.Predictor.Tests (4)
TestTransposer.cs (4)
161builder.AddColumn("A", NumberDataViewType.Int32, dataA); 171builder.AddColumn("F", NumberDataViewType.Int32, GenerateHelper(rowCount, 0.8, rgen, () => rgen.Next())); 227builder.AddColumn("A", NumberDataViewType.Int32, dataA); 237builder.AddColumn("F", NumberDataViewType.Int32, GenerateHelper(rowCount, 0.8, rgen, () => (int)rgen.Next()));
Microsoft.ML.TensorFlow (1)
TensorflowUtils.cs (1)
179return NumberDataViewType.Int32;
Microsoft.ML.TestFramework (3)
BaseTestBaseline.cs (1)
709else if (leftType == NumberDataViewType.Int32)
DataPipe\TestDataPipe.cs (2)
1183builder.AddColumn("Bar", NumberDataViewType.Int32, barValues); 1260builder.AddColumn("Foo", NumberDataViewType.Int32, new int[0]);
Microsoft.ML.Tests (4)
FakeSchemaTest.cs (2)
28schemaBuilder.AddColumn("C", NumberDataViewType.Int32, metadataBuilder.ToAnnotations()); 47Assert.Equal(NumberDataViewType.Int32, columnC.Type);
Transformers\ExpressionTransformerTests.cs (1)
56Assert.True(transformed.Schema["Expr5"].Type == NumberDataViewType.Int32);
Transformers\HashTests.cs (1)
252HashTestCore((int)value, NumberDataViewType.Int32, expected, expectedOrdered, expectedOrdered3, expectedCombined, expectedCombinedSparse);
Microsoft.ML.TorchSharp (1)
Roberta\QATrainer.cs (1)
553NumberDataViewType.Int32.ToString(), answerIndexCol.GetTypeString());
Microsoft.ML.Transforms (5)
Expression\LambdaBinder.cs (1)
70node.ResultType = NumberDataViewType.Int32;
Expression\Node.cs (1)
666else if (type == NumberDataViewType.Int32)
MutualInformationFeatureSelection.cs (3)
407type == NumberDataViewType.Single || type == NumberDataViewType.Double || type == NumberDataViewType.Int32; 521if (labelType == NumberDataViewType.Int32) 597if (itemType == NumberDataViewType.Int32)