209 references to Double
Microsoft.Data.Analysis (5)
DataFrameColumns\VBufferDataFrameColumn.cs (2)
325
return new VectorDataViewType(NumberDataViewType.
Double
);
365
return new VectorDataViewType(NumberDataViewType.
Double
);
IDataView.Extension.cs (1)
79
else if (type == NumberDataViewType.
Double
)
PrimitiveDataFrameColumn.cs (2)
807
return NumberDataViewType.
Double
;
853
return NumberDataViewType.
Double
;
Microsoft.ML.AutoML (1)
AutoMLExperiment\ITrialResultManager.cs (1)
50
schemaBuilder.AddColumn("parameter", new VectorDataViewType(NumberDataViewType.
Double
));
Microsoft.ML.AutoML.Tests (7)
UserInputValidationTests.cs (5)
203
schemaBuilder.AddColumn(DefaultColumnNames.Features, NumberDataViewType.
Double
);
238
ValidateLabelTypeTestCore<double>(TaskKind.Regression, NumberDataViewType.
Double
, false);
247
ValidateLabelTypeTestCore<double>(TaskKind.Recommendation, NumberDataViewType.
Double
, false);
263
ValidateLabelTypeTestCore<double>(TaskKind.MulticlassClassification, NumberDataViewType.
Double
, true);
272
ValidateLabelTypeTestCore<double>(TaskKind.Ranking, NumberDataViewType.
Double
, false);
Utils\MLNetUtils\DataViewTestFixture.cs (2)
33
if (column.type == NumberDataViewType.
Double
)
35
dataBuilder.AddColumn(column.name, NumberDataViewType.
Double
, createDummyRow ? new double[] { 0 } : new double[] { });
Microsoft.ML.Core (1)
Data\ColumnTypeExtensions.cs (1)
162
return NumberDataViewType.
Double
;
Microsoft.ML.Core.Tests (2)
UnitTests\DataTypes.cs (2)
50
var r8ToSB = Conversions.DefaultInstance.GetStringConversion<double>(NumberDataViewType.
Double
);
53
TextDataViewType.Instance, NumberDataViewType.
Double
, out bool identity2);
Microsoft.ML.Data (138)
Commands\DataCommand.cs (1)
169
var getter = RowCursorUtils.GetGetterAs<double>(NumberDataViewType.
Double
, cursor, currentIndex);
Data\RowCursorUtils.cs (4)
343
if (type == NumberDataViewType.Single || type == NumberDataViewType.
Double
|| type is BooleanDataViewType)
359
if (type == NumberDataViewType.
Double
)
378
Contracts.Assert(type != NumberDataViewType.Single && type != NumberDataViewType.
Double
);
419
if (type == NumberDataViewType.
Double
|| type is BooleanDataViewType)
DataLoadSave\DataOperationsCatalog.cs (1)
578
if (type != NumberDataViewType.Single && type != NumberDataViewType.
Double
)
Evaluators\AnomalyDetectionEvaluator.cs (4)
185
overallDvBldr.AddColumn(BinaryClassifierEvaluator.Auc, NumberDataViewType.
Double
, auc.ToArray());
186
overallDvBldr.AddColumn(OverallMetrics.DrAtK, NumberDataViewType.
Double
, drAtK.ToArray());
187
overallDvBldr.AddColumn(OverallMetrics.DrAtPFpr, NumberDataViewType.
Double
, drAtP.ToArray());
188
overallDvBldr.AddColumn(OverallMetrics.DrAtNumPos, NumberDataViewType.
Double
, drAtNumAnomalies.ToArray());
Evaluators\BinaryClassifierEvaluator.cs (25)
135
if (t != NumberDataViewType.Single && t != NumberDataViewType.
Double
&& t != BooleanDataViewType.Instance && t.GetKeyCount() != 2)
342
overallDvBldr.AddColumn(Auc, NumberDataViewType.
Double
, auc.ToArray());
343
overallDvBldr.AddColumn(Accuracy, NumberDataViewType.
Double
, accuracy.ToArray());
344
overallDvBldr.AddColumn(PosPrecName, NumberDataViewType.
Double
, posPrec.ToArray());
345
overallDvBldr.AddColumn(PosRecallName, NumberDataViewType.
Double
, posRecall.ToArray());
346
overallDvBldr.AddColumn(NegPrecName, NumberDataViewType.
Double
, negPrec.ToArray());
347
overallDvBldr.AddColumn(NegRecallName, NumberDataViewType.
Double
, negRecall.ToArray());
348
overallDvBldr.AddColumn(LogLoss, NumberDataViewType.
Double
, logLoss.ToArray());
349
overallDvBldr.AddColumn(LogLossReduction, NumberDataViewType.
Double
, logLossRed.ToArray());
350
overallDvBldr.AddColumn(Entropy, NumberDataViewType.
Double
, entropy.ToArray());
351
overallDvBldr.AddColumn(F1, NumberDataViewType.
Double
, f1.ToArray());
353
overallDvBldr.AddColumn(AuPrc, NumberDataViewType.
Double
, auprc.ToArray());
364
confDvBldr.AddColumn(MetricKinds.ColumnNames.Count, getSlotNames, NumberDataViewType.
Double
, counts.ToArray());
367
confDvBldr.AddColumn(MetricKinds.ColumnNames.Weight, getSlotNames, NumberDataViewType.
Double
, weights.ToArray());
382
dvBldr.AddColumn(Precision, NumberDataViewType.
Double
, precision.ToArray());
383
dvBldr.AddColumn(Recall, NumberDataViewType.
Double
, recall.ToArray());
384
dvBldr.AddColumn(FalsePositiveRate, NumberDataViewType.
Double
, fpr.ToArray());
387
dvBldr.AddColumn("Weighted " + Precision, NumberDataViewType.
Double
, weightedPrecision.ToArray());
388
dvBldr.AddColumn("Weighted " + Recall, NumberDataViewType.
Double
, weightedRecall.ToArray());
389
dvBldr.AddColumn("Weighted " + FalsePositiveRate, NumberDataViewType.
Double
, weightedFpr.ToArray());
1076
_types[LogLossCol] = NumberDataViewType.
Double
;
1102
_types[LogLossCol] = NumberDataViewType.
Double
;
1265
if (t != NumberDataViewType.Single && t != NumberDataViewType.
Double
&& t != BooleanDataViewType.Instance && t.GetKeyCount() != 2)
1566
schemaBuilder.AddColumn(mc.LoadName, NumberDataViewType.
Double
);
1580
schemaBuilder.AddColumn(MetricKinds.ColumnNames.Count, NumberDataViewType.
Double
);
Evaluators\ClusteringEvaluator.cs (3)
209
overallDvBldr.AddColumn(Nmi, NumberDataViewType.
Double
, nmi.ToArray());
210
overallDvBldr.AddColumn(AvgMinScore, NumberDataViewType.
Double
, avgMinScores.ToArray());
212
overallDvBldr.AddColumn(Dbi, NumberDataViewType.
Double
, dbi.ToArray());
Evaluators\EvaluatorUtils.cs (11)
307
if (type == NumberDataViewType.
Double
|| type == NumberDataViewType.Single)
308
getters[i] = RowCursorUtils.GetGetterAs<double>(NumberDataViewType.
Double
, cursor, i);
311
&& vectorType.ItemType == NumberDataViewType.
Double
1013
getters[i] = RowCursorUtils.GetGetterAs<double>(NumberDataViewType.
Double
, row, i);
1017
else if (type is VectorDataViewType vectorType && vectorType.ItemType == NumberDataViewType.
Double
)
1280
else if (type is VectorDataViewType vectorType && vectorType.IsKnownSize && vectorType.ItemType == NumberDataViewType.
Double
)
1317
dvBldr.AddColumn(columnName, getSlotNames, NumberDataViewType.
Double
, new[] { vectorMetrics, vectorStdevMetrics });
1320
dvBldr.AddColumn(columnName, getSlotNames, NumberDataViewType.
Double
, new[] { vectorMetrics });
1329
dvBldr.AddColumn(agg[iMetric].Name, NumberDataViewType.
Double
, avg, Math.Sqrt(agg[iMetric].SumSq / numFolds - avg * avg));
1331
dvBldr.AddColumn(agg[iMetric].Name, NumberDataViewType.
Double
, avg);
1479
Contracts.Check(type != null && type.IsKnownSize && type.ItemType == NumberDataViewType.
Double
);
Evaluators\MulticlassClassificationEvaluator.cs (13)
216
overallDvBldr.AddColumn(AccuracyMicro, NumberDataViewType.
Double
, microAcc.ToArray());
217
overallDvBldr.AddColumn(AccuracyMacro, NumberDataViewType.
Double
, macroAcc.ToArray());
218
overallDvBldr.AddColumn(LogLoss, NumberDataViewType.
Double
, logLoss.ToArray());
219
overallDvBldr.AddColumn(LogLossReduction, NumberDataViewType.
Double
, logLossRed.ToArray());
222
overallDvBldr.AddColumn(TopKAccuracy, NumberDataViewType.
Double
, topKAcc.ToArray());
227
overallDvBldr.AddColumn(AllTopKAccuracy, getKSlotNames, NumberDataViewType.
Double
, allTopK.ToArray());
230
overallDvBldr.AddColumn(PerClassLogLoss, aggregator.GetSlotNames, NumberDataViewType.
Double
, perClassLogLoss.ToArray());
241
confDvBldr.AddColumn(MetricKinds.ColumnNames.Count, getSlotNames, NumberDataViewType.
Double
, counts.ToArray());
244
confDvBldr.AddColumn(MetricKinds.ColumnNames.Weight, getSlotNames, NumberDataViewType.
Double
, weights.ToArray());
634
_types[LogLossCol] = NumberDataViewType.
Double
;
663
_types[LogLossCol] = NumberDataViewType.
Double
;
976
EvaluateUtils.ReconcileSlotNames<double>(Host, views, MulticlassClassificationEvaluator.PerClassLogLoss, NumberDataViewType.
Double
,
1064
labelName, labelCol.Type, NumberDataViewType.
Double
,
Evaluators\MultiOutputRegressionEvaluator.cs (13)
66
if (t == null || !t.IsKnownSize || (t.ItemType != NumberDataViewType.Single && t.ItemType != NumberDataViewType.
Double
))
153
overallDvBldr.AddColumn(PerLabelL1, aggregator.GetSlotNames, NumberDataViewType.
Double
, perLabelL1.ToArray());
154
overallDvBldr.AddColumn(PerLabelL2, aggregator.GetSlotNames, NumberDataViewType.
Double
, perLabelL2.ToArray());
155
overallDvBldr.AddColumn(PerLabelRms, aggregator.GetSlotNames, NumberDataViewType.
Double
, perLabelRms.ToArray());
156
overallDvBldr.AddColumn(PerLabelLoss, aggregator.GetSlotNames, NumberDataViewType.
Double
, perLabelLoss.ToArray());
157
overallDvBldr.AddColumn(L1, NumberDataViewType.
Double
, l1.ToArray());
158
overallDvBldr.AddColumn(L2, NumberDataViewType.
Double
, l2.ToArray());
159
overallDvBldr.AddColumn(Dist, NumberDataViewType.
Double
, dist.ToArray());
454
infos[L1Output] = new DataViewSchema.DetachedColumn(L1, NumberDataViewType.
Double
, null);
455
infos[L2Output] = new DataViewSchema.DetachedColumn(L2, NumberDataViewType.
Double
, null);
456
infos[DistCol] = new DataViewSchema.DetachedColumn(Dist, NumberDataViewType.
Double
, null);
550
if (t == null || !t.IsKnownSize || (t.ItemType != NumberDataViewType.Single && t.ItemType != NumberDataViewType.
Double
))
708
if (type != null && type.IsKnownSize && type.ItemType == NumberDataViewType.
Double
)
Evaluators\QuantileRegressionEvaluator.cs (9)
60
if (t == null || t.Size == 0 || (t.ItemType != NumberDataViewType.Single && t.ItemType != NumberDataViewType.
Double
))
72
Host.Assert(scoreType != null && scoreType.Size > 0 && (scoreType.ItemType == NumberDataViewType.Single || scoreType.ItemType == NumberDataViewType.
Double
));
252
dvBldr.AddColumn(metricName, getSlotNames, NumberDataViewType.
Double
, metric);
255
dvBldr.AddColumn(metricName, NumberDataViewType.
Double
, metric);
295
_outputType = new VectorDataViewType(NumberDataViewType.
Double
, _scoreSize);
314
_outputType = new VectorDataViewType(NumberDataViewType.
Double
, _scoreSize);
452
if (scoreType == null || scoreType.Size == 0 || (scoreType.ItemType != NumberDataViewType.Single && scoreType.ItemType != NumberDataViewType.
Double
))
517
if (type is VectorDataViewType vectorType && vectorType.IsKnownSize && vectorType.ItemType == NumberDataViewType.
Double
)
521
output = LambdaColumnMapper.Create(Host, "Quantile Regression", output, name, name, type, NumberDataViewType.
Double
,
Evaluators\RankingEvaluator.cs (6)
221
overallDvBldr.AddColumn(Ndcg, aggregator.GetSlotNames, NumberDataViewType.
Double
, ndcg.ToArray());
222
overallDvBldr.AddColumn(Dcg, aggregator.GetSlotNames, NumberDataViewType.
Double
, dcg.ToArray());
233
groupDvBldr.AddColumn(Ndcg, aggregator.GetGroupSummarySlotNames("NDCG"), NumberDataViewType.
Double
, groupNdcg.ToArray());
234
groupDvBldr.AddColumn(Dcg, aggregator.GetGroupSummarySlotNames("DCG"), NumberDataViewType.
Double
, groupDcg.ToArray());
235
groupDvBldr.AddColumn(MaxDcg, aggregator.GetGroupSummarySlotNames("MaxDCG"), NumberDataViewType.
Double
, groupMaxDcg.ToArray());
642
_outputType = new VectorDataViewType(NumberDataViewType.
Double
, _truncationLevel);
Evaluators\RegressionEvaluator.cs (3)
163
dvBldr.AddColumn(metricName, NumberDataViewType.
Double
, metric);
264
infos[L1Col] = new DataViewSchema.DetachedColumn(L1, NumberDataViewType.
Double
, null);
265
infos[L2Col] = new DataViewSchema.DetachedColumn(L2, NumberDataViewType.
Double
, null);
Training\TrainerUtils.cs (4)
90
if (col.Type != BooleanDataViewType.Instance && col.Type != NumberDataViewType.Single && col.Type != NumberDataViewType.
Double
&& !(col.Type is KeyDataViewType keyType && keyType.Count == 2))
125
if (col.Type != NumberDataViewType.Single && col.Type != NumberDataViewType.
Double
)
154
if (col.Type != NumberDataViewType.Single && col.Type != NumberDataViewType.
Double
)
207
if (col.Type != NumberDataViewType.Single && col.Type != NumberDataViewType.
Double
)
Transforms\KeyToValue.cs (2)
519
if (TypeOutput == NumberDataViewType.
Double
|| TypeOutput == BooleanDataViewType.Instance)
547
else if (TypeOutput == NumberDataViewType.
Double
)
Transforms\LabelIndicatorTransform.cs (2)
111
if (type.GetKeyCount() > 0 || type == NumberDataViewType.Single || type == NumberDataViewType.
Double
)
214
if (info.TypeSrc == NumberDataViewType.
Double
)
Transforms\NAFilter.cs (1)
193
if (itemType == NumberDataViewType.
Double
)
Transforms\NormalizeColumn.cs (20)
209
if (itemType != NumberDataViewType.Single && itemType != NumberDataViewType.
Double
)
437
if (typeSrc == NumberDataViewType.
Double
)
444
if (vectorType.ItemType == NumberDataViewType.
Double
)
556
if (typeSrc == NumberDataViewType.
Double
)
563
if (vectorType.ItemType == NumberDataViewType.
Double
)
692
if (typeSrc == NumberDataViewType.
Double
)
699
if (vectorType.ItemType == NumberDataViewType.
Double
)
842
var getSrc = RowCursorUtils.GetGetterAs<Double>(NumberDataViewType.
Double
, row, col);
987
if (srcType == NumberDataViewType.
Double
)
994
if (vectorType.ItemType == NumberDataViewType.
Double
)
1026
if (srcType == NumberDataViewType.
Double
)
1033
if (vectorType.ItemType == NumberDataViewType.
Double
)
1067
if (srcType == NumberDataViewType.
Double
)
1074
if (vectorType.ItemType == NumberDataViewType.
Double
)
1107
if (srcType == NumberDataViewType.
Double
)
1114
if (vectorType.ItemType == NumberDataViewType.
Double
)
1166
if (srcType == NumberDataViewType.
Double
)
1173
if (vectorType.ItemType == NumberDataViewType.
Double
)
1218
if (srcType == NumberDataViewType.
Double
)
1225
if (vectorType.ItemType == NumberDataViewType.
Double
)
Transforms\Normalizer.cs (2)
356
if (!col.ItemType.Equals(NumberDataViewType.Single) && !col.ItemType.Equals(NumberDataViewType.
Double
))
710
if (!itemType.Equals(NumberDataViewType.Single) && !itemType.Equals(NumberDataViewType.
Double
))
Transforms\RangeFilter.cs (6)
155
if (_type != NumberDataViewType.Single && _type != NumberDataViewType.
Double
&& _type.GetKeyCount() == 0)
243
if (_type == NumberDataViewType.
Double
)
264
return type == NumberDataViewType.Single || type == NumberDataViewType.
Double
|| type.GetKeyCount() > 0;
390
Ch.Assert(Parent._type == NumberDataViewType.
Double
);
402
Ch.Assert(Parent._type == NumberDataViewType.
Double
);
408
Ch.Assert(Parent._type == NumberDataViewType.
Double
);
Transforms\SlotsDroppingTransformer.cs (1)
503
|| type == NumberDataViewType.Single || type == NumberDataViewType.
Double
|| type is TextDataViewType;
Transforms\ValueMapping.cs (6)
1114
(typeValue == NumberDataViewType.
Double
|| typeValue == BooleanDataViewType.Instance) ? ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Single, (int)srcShape[1]), "LabelEncoderOutput") :
1172
if (typeValue == NumberDataViewType.Single || typeValue == NumberDataViewType.
Double
|| typeValue == BooleanDataViewType.Instance)
1182
else if (typeKey == NumberDataViewType.
Double
)
1184
if (typeValue == NumberDataViewType.Single || typeValue == NumberDataViewType.
Double
|| typeValue == BooleanDataViewType.Instance)
1198
if (typeValue == NumberDataViewType.Single || typeValue == NumberDataViewType.
Double
|| typeValue == BooleanDataViewType.Instance)
1252
else if (typeValue == NumberDataViewType.
Double
)
Transforms\ValueToKeyMappingTransformer.cs (1)
842
else if (type.Equals(NumberDataViewType.
Double
))
Microsoft.ML.EntryPoints (1)
CrossValidationMacro.cs (1)
390
EvaluateUtils.ReconcileSlotNames<double>(env, input.ConfusionMatrix, MetricKinds.ColumnNames.Count, NumberDataViewType.
Double
);
Microsoft.ML.FastTree (8)
FastTree.cs (2)
1403
var copier = GetCopier<float, double>(NumberDataViewType.Single, NumberDataViewType.
Double
);
1473
var copier = GetCopier<float, double>(NumberDataViewType.Single, NumberDataViewType.
Double
);
Utils\RegressionTreeBaseUtils.cs (6)
99
builder.AddColumn("Bias", NumberDataViewType.
Double
, Enumerable.Repeat(bias, numberOfRows).ToArray());
100
builder.AddColumn("TreeWeights", NumberDataViewType.
Double
, treeWeightsList.ToArray());
108
builder.AddColumn(nameof(RegressionTreeBase.LeafValues), NumberDataViewType.
Double
, leafValues.ToArray());
109
builder.AddColumn(nameof(RegressionTreeBase.SplitGains), NumberDataViewType.
Double
, splitGains.ToArray());
138
builder.AddColumn("LeafSamples", NumberDataViewType.
Double
, leafSamples.ToArray());
139
builder.AddColumn("LeafSampleWeights", NumberDataViewType.
Double
, leafSampleWeights.ToArray());
Microsoft.ML.ImageAnalytics (2)
VectorToImageTransform.cs (2)
336
if (sourceItemType == NumberDataViewType.Single || sourceItemType == NumberDataViewType.
Double
)
751
if (col.Kind != SchemaShape.Column.VectorKind.Vector || (col.ItemType != NumberDataViewType.Single && col.ItemType != NumberDataViewType.
Double
&& col.ItemType != NumberDataViewType.Byte))
Microsoft.ML.OnnxTransformer (1)
OnnxTypeParser.cs (1)
151
scalarType = NumberDataViewType.
Double
;
Microsoft.ML.Parquet (2)
ParquetLoader.cs (2)
359
return NumberDataViewType.
Double
;
361
return NumberDataViewType.
Double
;
Microsoft.ML.PerformanceTests (2)
HashBench.cs (2)
173
InitMapMurmurHashV2(5.0, NumberDataViewType.
Double
);
224
InitDenseVecMap(new[] { 1d, 2d, 3d, 4d, 5d }, NumberDataViewType.
Double
);
Microsoft.ML.Predictor.Tests (4)
TestTransposer.cs (4)
163
builder.AddColumn("B", NumberDataViewType.
Double
, GenerateHelper(rowCount, 0.8, rgen, rgen.NextDouble, 50, 0, 25, 49));
167
builder.AddColumn("D", NumberDataViewType.
Double
, GenerateHelper(rowCount, 0.1, rgen, rgen.NextDouble, 3, 1));
229
builder.AddColumn("B", NumberDataViewType.
Double
, GenerateHelper(rowCount, 0.8, rgen, rgen.NextDouble, 50, 0, 25, 49));
233
builder.AddColumn("D", NumberDataViewType.
Double
, GenerateHelper(rowCount, 0.1, rgen, rgen.NextDouble, 3, 1));
Microsoft.ML.Recommender (2)
MatrixFactorizationTrainer.cs (2)
444
if (labelCol.Type != NumberDataViewType.Single && labelCol.Type != NumberDataViewType.
Double
)
453
if (validLabelCol.Type != NumberDataViewType.Single && validLabelCol.Type != NumberDataViewType.
Double
)
Microsoft.ML.StandardTrainers (2)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
195
Host.Assert(label.Type.GetKeyCount() > 0 || label.Type == NumberDataViewType.Single || label.Type == NumberDataViewType.
Double
);
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
168
Host.Assert(label.Type.GetKeyCount() > 0 || label.Type == NumberDataViewType.Single || label.Type == NumberDataViewType.
Double
);
Microsoft.ML.TensorFlow (1)
TensorflowUtils.cs (1)
165
return NumberDataViewType.
Double
;
Microsoft.ML.TestFramework (4)
BaseTestBaseline.cs (1)
719
else if (leftType == NumberDataViewType.
Double
)
DataPipe\TestDataPipe.cs (3)
1092
TestHashTransformVectorHelper(_dataDoubleSparse, results, NumberDataViewType.
Double
);
1098
TestHashTransformHelper(_dataDouble, _resultsDouble, NumberDataViewType.
Double
);
1106
TestHashTransformVectorHelper(data, results, NumberDataViewType.
Double
);
Microsoft.ML.Tests (6)
Transformers\ExpressionTransformerTests.cs (2)
50
Assert.True(transformed.Schema["Expr1"].Type == NumberDataViewType.
Double
);
54
Assert.True(transformed.Schema["Expr4"].Type.GetItemType() == NumberDataViewType.
Double
);
Transformers\HashTests.cs (4)
307
HashTestCore(1d, NumberDataViewType.
Double
, 188, 57, 690, 655, 896);
308
HashTestCore(-1d, NumberDataViewType.
Double
, 885, 804, 22, 461, 309);
309
HashTestCore(0d, NumberDataViewType.
Double
, 512, 851, 795, 333, 113);
310
HashTestCore(double.NaN, NumberDataViewType.
Double
, 0, 0, 0, 0, 0);
Microsoft.ML.TimeSeries (10)
IidChangePointDetector.cs (1)
276
Transformer.InternalTransform.OutputColumnName, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.
Double
, false, new SchemaShape(metadata));
IidSpikeDetector.cs (1)
251
Transformer.InternalTransform.OutputColumnName, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.
Double
, false, new SchemaShape(metadata));
SequentialAnomalyDetectionTransformBase.cs (2)
171
: base(Contracts.CheckRef(env, nameof(env)).Register(name), windowSize, initialWindowSize, outputColumnName, inputColumnName, new VectorDataViewType(NumberDataViewType.
Double
, GetOutputLength(alertingScore, env)))
336
info[0] = new DataViewSchema.DetachedColumn(_parent.OutputColumnName, new VectorDataViewType(NumberDataViewType.
Double
, _parent.OutputLength), meta.ToAnnotations());
SRCNNAnomalyDetector.cs (1)
283
Transformer.InternalTransform.OutputColumnName, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.
Double
, false, new SchemaShape(metadata));
SrCnnEntireAnomalyDetector.cs (1)
200
_bindings = new Bindings(input.Schema, inputColumnName, outputColumnName, new VectorDataViewType(NumberDataViewType.
Double
, _outputLength));
SrCnnTransformBase.cs (2)
71
: base(Contracts.CheckRef(env, nameof(env)).Register(name), windowSize, initialWindowSize, outputColumnName, inputColumnName, new VectorDataViewType(NumberDataViewType.
Double
, 3))
179
info[0] = new DataViewSchema.DetachedColumn(_parent.OutputColumnName, new VectorDataViewType(NumberDataViewType.
Double
, _parent.OutputLength), meta.ToAnnotations());
SsaChangePointDetector.cs (1)
311
_options.Name, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.
Double
, false, new SchemaShape(metadata));
SsaSpikeDetector.cs (1)
290
_options.Name, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.
Double
, false, new SchemaShape(metadata));
Microsoft.ML.Transforms (10)
CountFeatureSelection.cs (1)
350
=> type == NumberDataViewType.Single || type == NumberDataViewType.
Double
|| type is TextDataViewType;
Dracula\CountTableTransformer.cs (1)
265
var getSrc = RowCursorUtils.GetGetterAs<double>(NumberDataViewType.
Double
, row, col.Index);
Expression\LambdaBinder.cs (1)
79
node.ResultType = NumberDataViewType.
Double
;
Expression\Node.cs (1)
672
else if (type == NumberDataViewType.
Double
)
MutualInformationFeatureSelection.cs (3)
407
type == NumberDataViewType.Single || type == NumberDataViewType.
Double
|| type == NumberDataViewType.Int32;
535
else if (labelType == NumberDataViewType.
Double
)
613
if (itemType == NumberDataViewType.
Double
)
Text\LdaTransform.cs (3)
607
var getSrc = RowCursorUtils.GetVecGetterAs<Double>(NumberDataViewType.
Double
, input, _srcCols[iinfo]);
870
getters[i] = RowCursorUtils.GetVecGetterAs<Double>(NumberDataViewType.
Double
, cursor, srcCols[i]);
949
getters[i] = RowCursorUtils.GetVecGetterAs<Double>(NumberDataViewType.
Double
, cursor, srcCols[i]);