32 references to GetGetterAs
Microsoft.ML.Data (20)
Commands\DataCommand.cs (1)
169
var getter = RowCursorUtils.
GetGetterAs
<double>(NumberDataViewType.Double, cursor, currentIndex);
Data\RowCursorUtils.cs (3)
50
/// <see cref="
GetGetterAs
{TDst}"/>.
52
/// <seealso cref="
GetGetterAs
{TDst}"/>
400
var getSrc = RowCursorUtils.
GetGetterAs
<ulong>(NumberDataViewType.UInt64, cursor, labelIndex);
Evaluators\AnomalyDetectionEvaluator.cs (1)
734
stratGetter = RowCursorUtils.
GetGetterAs
<uint>(type, cursor, stratCol);
Evaluators\EvaluatorUtils.cs (5)
289
stratColGetter = RowCursorUtils.
GetGetterAs
<uint>(type, cursor, stratCol);
308
getters[i] = RowCursorUtils.
GetGetterAs
<double>(NumberDataViewType.Double, cursor, i);
1013
getters[i] = RowCursorUtils.
GetGetterAs
<double>(NumberDataViewType.Double, row, i);
1116
stratColGetter = RowCursorUtils.
GetGetterAs
<uint>(type, cursor, stratCol);
1485
stratGetter = RowCursorUtils.
GetGetterAs
<uint>(stratType, cursor, stratCol);
Evaluators\MultiOutputRegressionEvaluator.cs (1)
692
stratGetter = RowCursorUtils.
GetGetterAs
<uint>(type, cursor, stratCol);
Prediction\Calibrator.cs (3)
716
var scoreGetter = RowCursorUtils.
GetGetterAs
<Single>(NumberDataViewType.Single, input, _scoreCol);
969
var scoreGetter = RowCursorUtils.
GetGetterAs
<Single>(NumberDataViewType.Single, cursor, scoreCol.Index);
971
RowCursorUtils.
GetGetterAs
<Single>(NumberDataViewType.Single, cursor, weightCol.Value.Index);
Training\TrainerUtils.cs (2)
317
return RowCursorUtils.
GetGetterAs
<float>(NumberDataViewType.Single, row, col.Value.Index);
338
return RowCursorUtils.
GetGetterAs
<ulong>(NumberDataViewType.UInt64, row, col.Value.Index);
Transforms\KeyToVector.cs (1)
477
var getSrc = RowCursorUtils.
GetGetterAs
<uint>(NumberDataViewType.UInt32, input, srcCol);
Transforms\NormalizeColumn.cs (2)
822
var getSrc = RowCursorUtils.
GetGetterAs
<ulong>(NumberDataViewType.UInt64, row, col);
842
var getSrc = RowCursorUtils.
GetGetterAs
<Double>(NumberDataViewType.Double, row, col);
Transforms\ValueToKeyMappingTransformerImpl.cs (1)
310
inputGetter = RowCursorUtils.
GetGetterAs
<T>(bldr.ItemType, row, col);
Microsoft.ML.Recommender (8)
MatrixFactorizationPredictor.cs (2)
402
var matrixColumnIndexGetter = RowCursorUtils.
GetGetterAs
<uint>(NumberDataViewType.UInt32, input, _matrixColumnIndexColumnIndex);
403
var matrixRowIndexGetter = RowCursorUtils.
GetGetterAs
<uint>(NumberDataViewType.UInt32, input, _matrixRowIndexCololumnIndex);
MatrixFactorizationTrainer.cs (6)
477
var labGetter = RowCursorUtils.
GetGetterAs
<float>(NumberDataViewType.Single, cursor, data.Schema.Label.Value.Index);
478
var matrixColumnIndexGetter = RowCursorUtils.
GetGetterAs
<uint>(NumberDataViewType.UInt32, cursor, matrixColumnIndexColInfo.Index);
479
var matrixRowIndexGetter = RowCursorUtils.
GetGetterAs
<uint>(NumberDataViewType.UInt32, cursor, matrixRowIndexColInfo.Index);
495
ValueGetter<float> validLabelGetter = RowCursorUtils.
GetGetterAs
<float>(NumberDataViewType.Single, validCursor, validData.Schema.Label.Value.Index);
496
var validMatrixColumnIndexGetter = RowCursorUtils.
GetGetterAs
<uint>(NumberDataViewType.UInt32, validCursor, validMatrixColumnIndexColInfo.Index);
497
var validMatrixRowIndexGetter = RowCursorUtils.
GetGetterAs
<uint>(NumberDataViewType.UInt32, validCursor, validMatrixRowIndexColInfo.Index);
Microsoft.ML.StandardTrainers (1)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
492
var weightGetter = data.Schema.Weight?.Index is int weightIdx ? RowCursorUtils.
GetGetterAs
<float>(NumberDataViewType.Single, cursor, weightIdx) : null;
Microsoft.ML.Transforms (3)
Dracula\CountTableTransformer.cs (2)
248
var getSrc = RowCursorUtils.
GetGetterAs
<ulong>(NumberDataViewType.UInt64, row, col.Index);
265
var getSrc = RowCursorUtils.
GetGetterAs
<double>(NumberDataViewType.Double, row, col.Index);
KeyToVectorMapping.cs (1)
363
var getSrc = RowCursorUtils.
GetGetterAs
<uint>(NumberDataViewType.UInt32, input, srcCol);