73 references to Double
Microsoft.ML.AutoML (1)
AutoMLExperiment\ITrialResultManager.cs (1)
145new TextLoader.Column("parameter", DataKind.Double, 5, 5 + _searchSpace.FeatureSpaceDim - 1),
Microsoft.ML.CodeGenerator (2)
Utils.cs (2)
160case Microsoft.ML.Data.DataKind.Double: 351case DataKind.Double:
Microsoft.ML.CodeGenerator.Tests (11)
ApprovalTests\ConsoleCodeGeneratorTests.cs (8)
821new TextLoader.Column("Age", DataKind.Double, 0), 823new TextLoader.Column("Fnlwgt", DataKind.Double, 2), 825new TextLoader.Column("Education_num", DataKind.Double, 4), 831new TextLoader.Column("Capital_gain", DataKind.Double, 10), 832new TextLoader.Column("Capital_loss", DataKind.Double, 11), 833new TextLoader.Column("Hours_per_week", DataKind.Double, 12), 1000new TextLoader.Column("model", DataKind.Double, 4), 1058ColumnType = DataKind.Double,
CodeGenTests.cs (3)
159new TextLoader.Column(){ Name = "price", Source = new TextLoader.Range[]{new TextLoader.Range(4) }, DataKind = DataKind.Double }, 168new TextLoader.Column(){ Name = "engine size", Source = new TextLoader.Range[]{new TextLoader.Range(5) }, DataKind = DataKind.Double }, 181new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(8) }, DataKind = DataKind.Double },
Microsoft.ML.Core (1)
Data\DataKind.cs (1)
95R8 = DataKind.Double,
Microsoft.ML.Data (1)
Transforms\KeyToValue.cs (1)
554t = InternalDataKindExtensions.ToInternalDataKind(DataKind.Double).ToType();
Microsoft.ML.IntegrationTests (1)
Datasets\TypeTestData.cs (1)
91new TextLoader.Column("R8", DataKind.Double, 10),
Microsoft.ML.Tests (56)
OnnxConversionTest.cs (27)
461DataKind.UInt32, DataKind.UInt16, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind valueType, 770new TextLoader.Column("VectorDouble2", DataKind.Double, 1), 771new TextLoader.Column("VectorDouble1", DataKind.Double, 4, 8), 892[InlineData(DataKind.SByte, DataKind.Double)] 898[InlineData(DataKind.Byte, DataKind.Double)] 903[InlineData(DataKind.Int16, DataKind.Double)] 908[InlineData(DataKind.UInt16, DataKind.Double)] 913[InlineData(DataKind.Int32, DataKind.Double)] 918[InlineData(DataKind.Int64, DataKind.Double)] 923[InlineData(DataKind.UInt64, DataKind.Double)] 925[InlineData(DataKind.Single, DataKind.Double)] 926[InlineData(DataKind.Double, DataKind.Single)] 927[InlineData(DataKind.Double, DataKind.Double)] 928[InlineData(DataKind.String, DataKind.Double)] 1055DataKind.UInt16, DataKind.UInt32, DataKind.UInt64, DataKind.Single, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind type, 1071(type == DataKind.Double) ? 18 : 1094DataKind.UInt16, DataKind.UInt32, DataKind.UInt64, DataKind.Single, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind type, 1110(type == DataKind.Double) ? 18 : 1122(type == DataKind.Double) ? 19 : 1184DataKind.UInt32, DataKind.UInt16, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind valueType, 1223DataKind.UInt16, DataKind.Int16, DataKind.Double, DataKind.String, DataKind.Boolean)] 1258else if (keyType == DataKind.Double) 1386[InlineData(DataKind.Double)] 1595[InlineData(DataKind.Double)] 1840[InlineData(DataKind.Double)] 1888new TextLoader.Column("Thickness", DataKind.Double, 1),
TermEstimatorTests.cs (2)
61new TextLoader.Column("double1", DataKind.Double, 9), 62new TextLoader.Column("double4", DataKind.Double, new[]{new TextLoader.Range(9), new TextLoader.Range(10), new TextLoader.Range(11), new TextLoader.Range(12) }),
TextLoaderTests.cs (8)
899new TextLoader.Column("Features", typeof(T) == typeof(double) ? DataKind.Double : DataKind.Single, new [] { new TextLoader.Range(1, 4) }), 935new TextLoader.Column("Features", typeof(T) == typeof(double) ? DataKind.Double : DataKind.Single, new [] { new TextLoader.Range(1, 4) }) 1445new TextLoader.Column("doub1", DataKind.Double, 2), 1446new TextLoader.Column("doub2", DataKind.Double, 3), 1447new TextLoader.Column("doubFt1", DataKind.Double, new [] { new TextLoader.Range(2,3) } ), 1448new TextLoader.Column("doub3", DataKind.Double, 5), 1449new TextLoader.Column("doub4", DataKind.Double, 6), 1450new TextLoader.Column("doubFt2", DataKind.Double, new [] { new TextLoader.Range(2,3), new TextLoader.Range(5,6) } )
Transformers\ConvertTests.cs (1)
342new TypeConvertingEstimator.ColumnOptions("ConvA", DataKind.Double, "CatA"),
Transformers\ExpressionTransformerTests.cs (2)
29new TextLoader.Column("Double", DataKind.Double, 9), 30new TextLoader.Column("DoubleVector", DataKind.Double, 9, 14),
Transformers\FeatureSelectionTests.cs (4)
67new TextLoader.Column("ScalarDouble", DataKind.Double, 1), 69new TextLoader.Column("VectorDouble", DataKind.Double, 4, 8), 110new TextLoader.Column("VectorDouble", DataKind.Double, 4, 8), 174new TextLoader.Column("VectorDouble", DataKind.Double, 4, 8),
Transformers\NAIndicatorTests.cs (2)
97new TextLoader.Column("ScalarDouble", DataKind.Double, 1), 99new TextLoader.Column("VectorDoulbe", DataKind.Double, 1, 4)
Transformers\NAReplaceTests.cs (2)
127new TextLoader.Column("ScalarDouble", DataKind.Double, 1), 129new TextLoader.Column("VectorDouble", DataKind.Double, 1, 4)
Transformers\NormalizerTests.cs (8)
42new TextLoader.Column("double1", DataKind.Double, 1), 43new TextLoader.Column("double4", DataKind.Double, new[]{new TextLoader.Range(1, 4) }), 111new TextLoader.Column("double1", DataKind.Double, 1), 112new TextLoader.Column("double4", DataKind.Double, new[]{new TextLoader.Range(1, 4) }), 230new TextLoader.Column("double1", DataKind.Double, 1), 231new TextLoader.Column("double4", DataKind.Double, new[]{new TextLoader.Range(1, 4) }), 996new TextLoader.Column("double1", DataKind.Double, 1), 997new TextLoader.Column("double4", DataKind.Double, new[]{new TextLoader.Range(1, 4) }),