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