27 implementations of GetRowCursor
Microsoft.Data.Analysis (1)
DataFrame.IDataView.cs (1)
57
DataViewRowCursor IDataView.
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand)
Microsoft.ML.Data (22)
Data\RowCursorUtils.cs (1)
525
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnNeeded, Random rand = null)
DataLoadSave\Binary\BinaryLoader.cs (1)
1202
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataLoadSave\Database\DatabaseLoader.cs (1)
720
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataLoadSave\LegacyCompositeDataLoader.cs (1)
585
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataLoadSave\Text\TextLoader.cs (1)
1662
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataLoadSave\Transpose\TransposeLoader.cs (1)
622
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataView\AppendRowsDataView.cs (1)
147
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataView\ArrayDataViewBuilder.cs (1)
235
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataView\BatchDataViewMapperBase.cs (1)
30
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataView\CacheDataView.cs (1)
209
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataView\DataViewConstructionUtils.cs (1)
484
public abstract DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null);
DataView\EmptyDataView.cs (1)
33
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataView\OpaqueDataView.cs (1)
28
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataView\Transposer.cs (3)
287
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
831
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
1449
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
DataView\ZipDataView.cs (1)
75
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
Evaluators\RankingEvaluator.cs (1)
622
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
Transforms\ColumnSelecting.cs (1)
679
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
Transforms\NopTransform.cs (1)
120
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
Transforms\PerGroupTransformBase.cs (1)
163
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
Transforms\TransformBase.cs (1)
65
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
Microsoft.ML.Samples (1)
Dynamic\SimpleDataViewImplementation.cs (1)
171
public DataViewRowCursor
GetRowCursor
(
Microsoft.ML.Transforms (3)
CustomMappingFilter.cs (1)
37
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
StatefulFilterTransform.cs (1)
103
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
SvmLight\SvmLightLoader.cs (1)
424
public DataViewRowCursor
GetRowCursor
(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null)
107 references to GetRowCursor
Microsoft.Data.Analysis (1)
IDataView.Extension.cs (1)
129
using (DataViewRowCursor cursor = dataView.
GetRowCursor
(activeDataViewColumns))
Microsoft.ML.AutoML (8)
AutoMLExperiment\ITrialResultManager.cs (1)
149
var rowCursor = dataView.
GetRowCursor
(_schema);
ColumnInference\ColumnTypeInference.cs (1)
275
using (var cursor = idv.
GetRowCursor
(idv.Schema))
ColumnInference\PurposeInference.cs (1)
91
using (var cursor = _data.
GetRowCursor
(new[] { column }))
ColumnInference\TextFileContents.cs (1)
98
using (var cursor = idv.
GetRowCursor
(new[] { column }))
DatasetDimensions\DatasetDimensionsUtil.cs (4)
17
using (var cursor = data.
GetRowCursor
(new[] { column }))
33
using (var cursor = data.
GetRowCursor
(new[] { column }))
51
using (var cursor = data.
GetRowCursor
(new[] { column }))
69
using (var cursor = data.
GetRowCursor
(new[] { data.Schema[0] }))
Microsoft.ML.CodeGenerator (1)
Utils.cs (1)
57
var rowCursor = dataView.
GetRowCursor
(featureColumns);
Microsoft.ML.Core.Tests (3)
UnitTests\CoreBaseTestClass.cs (3)
214
using (var curs2 = view2.
GetRowCursor
(view2EvenCols))
225
using (var curs2 = view2.
GetRowCursor
(view2OddCols))
233
using (var curs1 = view1.
GetRowCursor
(view1.Schema))
Microsoft.ML.Data (45)
DataLoadSave\Binary\BinarySaver.cs (2)
587
using (DataViewRowCursor cursor = data.
GetRowCursor
(data.Schema.Where(c => activeSet.Contains(c.Index))))
745
using (DataViewRowCursor cursor = data.
GetRowCursor
(data.Schema.Where(x => active.Contains(x.Index)), rand))
DataLoadSave\LegacyCompositeDataLoader.cs (1)
590
return View.
GetRowCursor
(columnsNeeded, rand);
DataLoadSave\Text\TextSaver.cs (1)
428
using (var cursor = data.
GetRowCursor
(activeCols))
DataLoadSave\Transpose\TransposeLoader.cs (1)
626
return _schemaEntry.GetView().
GetRowCursor
(columnsNeeded, rand);
DataView\AppendRowsDataView.cs (3)
225
_currentCursor = Sources[_currentSourceIndex].
GetRowCursor
(columnsNeeded);
279
_currentCursor = Sources[_currentSourceIndex].
GetRowCursor
(columnsNeeded);
325
_cursorSet[i] = parent._sources[i].
GetRowCursor
(columnsNeeded, RandomUtils.Create(_rand));
DataView\BatchDataViewMapperBase.cs (3)
44
var inputCursor = _source.
GetRowCursor
(_source.Schema.Where(c => activeInput[c.Index]), null);
55
return new Cursor(this, _source.
GetRowCursor
(inputCols), _source.
GetRowCursor
(inputCols), active);
DataView\CacheDataView.cs (1)
350
cursor = _subsetInput.
GetRowCursor
(_subsetInput.Schema.Where(c => taskColumns.Contains(c.Index)));
DataView\DataViewExtensions.cs (4)
29
return dv.
GetRowCursor
(columnsNeeded);
44
return dv.
GetRowCursor
(Enumerable.Repeat(columnNeeded, 1));
50
public static DataViewRowCursor GetRowCursor(this IDataView dv) => dv.
GetRowCursor
(Enumerable.Empty<DataViewSchema.Column>());
55
public static DataViewRowCursor GetRowCursorForAllColumns(this IDataView dv) => dv.
GetRowCursor
(dv.Schema);
DataView\LambdaFilter.cs (1)
120
var input = Source.
GetRowCursor
(inputCols, rand);
DataView\OpaqueDataView.cs (1)
29
=> _source.
GetRowCursor
(columnsNeeded, rand);
DataView\RowToRowMapperTransform.cs (1)
194
return new Cursor(Host, Source.
GetRowCursor
(inputCols, rand), this, active);
DataView\Transposer.cs (2)
288
=> _view.
GetRowCursor
(columnsNeeded, rand);
839
return new Cursor(_host, this, _input.
GetRowCursor
(inputCols, rand), predicate, activeSplitters);
DataView\TypedCursor.cs (1)
187
var cursor = _data.
GetRowCursor
(inputCols, rand);
DataView\ZipDataView.cs (1)
88
.Select((dv, i) => srcPredicates[i] == null ? GetMinimumCursor(dv) : dv.
GetRowCursor
(dv.Schema.Where(x => srcPredicates[i](x.Index)), null)).ToArray();
Dirty\ChooseColumnsByIndexTransform.cs (1)
254
var input = Source.
GetRowCursor
(inputCols, rand);
Evaluators\AnomalyDetectionEvaluator.cs (1)
726
using (var cursor = overall.
GetRowCursor
(overall.Schema.Where(col => col.Name.Equals(AnomalyDetectionEvaluator.OverallMetrics.NumAnomalies) ||
Evaluators\EvaluatorBase.cs (1)
148
using (var cursor = data.
GetRowCursor
(activeCols))
Evaluators\EvaluatorUtils.cs (1)
1476
using (var cursor = confusionDataView.
GetRowCursor
(confusionDataView.Schema.Where(col => col.Index == countIndex || hasStrat && col.Index == stratCol)))
Prediction\Calibrator.cs (1)
966
using (var cursor = scored.
GetRowCursor
(cols))
Scorers\RowToRowScorerBase.cs (1)
138
var input = Source.
GetRowCursor
(inputCols, rand);
Training\TrainerUtils.cs (1)
617
/// The typed analog to <see cref="IDataView.
GetRowCursor
(IEnumerable{DataViewSchema.Column},Random)"/>.
Transforms\ColumnSelecting.cs (1)
685
var inputRowCursor = Source.
GetRowCursor
(inputCols, rand);
Transforms\GenerateNumberTransform.cs (2)
346
var input = Source.
GetRowCursor
(inputCols);
376
input = Source.
GetRowCursor
(inputCols);
Transforms\Hashing.cs (1)
227
using (DataViewRowCursor srcCursor = input.
GetRowCursor
(sourceColumnsForInvertHash))
Transforms\NAFilter.cs (1)
215
var input = Source.
GetRowCursor
(inputCols, rand);
Transforms\NopTransform.cs (1)
121
=> Source.
GetRowCursor
(columnsNeeded, rand);
Transforms\Normalizer.cs (1)
564
using (var cursor = data.
GetRowCursor
(activeCols))
Transforms\PerGroupTransformBase.cs (3)
177
var inputCursor = Source.
GetRowCursor
(activeCols, null);
193
return new Cursor(this, Source.
GetRowCursor
(cols, null), Source.
GetRowCursor
(cols, null), active);
Transforms\RangeFilter.cs (1)
216
var input = Source.
GetRowCursor
(inputCols, rand);
Transforms\RowShufflingTransformer.cs (1)
281
var input = _subsetInput.
GetRowCursor
(columnsNeeded, sourceRand);
Transforms\SkipTakeFilter.cs (1)
215
var input = Source.
GetRowCursor
(columnsNeeded);
Transforms\TransformBase.cs (1)
742
var input = Source.
GetRowCursor
(inputCols, rand);
Transforms\ValueToKeyMappingTransformer.cs (1)
587
using (var cursor = trainingData.
GetRowCursor
(trainingData.Schema.Where(c => toTrain.Contains(c.Index))))
Microsoft.ML.DataView (3)
IDataView.cs (3)
57
/// <see cref="
GetRowCursor
(IEnumerable{DataViewSchema.Column}, Random)"/>, except partitioned: no two cursors should return the
66
/// <see cref="
GetRowCursor
(IEnumerable{DataViewSchema.Column}, Random)"/>.
110
/// identically configured <see cref="IDataView.
GetRowCursor
(IEnumerable{DataViewSchema.Column}, Random)"/>. So: for any cursor
Microsoft.ML.Mkl.Components (1)
VectorWhitening.cs (1)
335
using (var cursor = inputData.
GetRowCursor
(inputData.Schema.Where(c => cols.Any(col => c.Index == col))))
Microsoft.ML.Parquet (1)
PartitionedFileLoader.cs (1)
482
_subCursor = loader.
GetRowCursor
(_subActivecolumnsNeeded);
Microsoft.ML.PCA (1)
PcaTransformer.cs (1)
417
using (var cursor = trainingData.
GetRowCursor
(inputCols))
Microsoft.ML.Predictor.Tests (4)
TestPredictors.cs (4)
703
cursors[i] = scoredArray[i].
GetRowCursor
(cols);
707
using (var curs = scored.
GetRowCursor
(cols))
884
cursors[i] = scoredArray[i].
GetRowCursor
(cols);
888
using (var curs = scored.
GetRowCursor
(cols))
Microsoft.ML.Samples (8)
Dynamic\DataOperations\LoadingSvmLight.cs (1)
90
using (var cursor = svmData.
GetRowCursor
(svmData.Schema))
Dynamic\DataOperations\LoadingText.cs (1)
189
using (var cursor = idv.
GetRowCursor
(idv.Schema))
Dynamic\SimpleDataViewImplementation.cs (1)
42
using (var cursor = transformedDataView.
GetRowCursor
(
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (1)
65
using (var cursor = transformedData.
GetRowCursor
(transformedData
Dynamic\Transforms\ImageAnalytics\ConvertToImage.cs (1)
53
using (var cursor = transformedData.
GetRowCursor
(transformedData
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (1)
72
using (var cursor = transformedData.
GetRowCursor
(transformedData
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (1)
64
using (var cursor = transformedData.
GetRowCursor
(transformedData
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (1)
67
using (var cursor = transformedData.
GetRowCursor
(transformedData
Microsoft.ML.TestFramework (3)
DataPipe\TestDataPipeBase.cs (3)
266
using (var c1 = newPipe.
GetRowCursor
(newPipe.Schema, new Random(123)))
671
using (var curs2 = view2.
GetRowCursor
(view2EvenCols))
682
using (var curs2 = view2.
GetRowCursor
(view2OddCols))
Microsoft.ML.Tests (12)
SvmLightTests.cs (1)
239
using (var curs = view.
GetRowCursor
(view.Schema))
TextLoaderTests.cs (7)
907
using DataViewRowCursor cursorPeriod = textDataDecimalMarkerPeriod.
GetRowCursor
(columnsPeriod);
957
using DataViewRowCursor cursorComma = textDataDecimalMarkerComma.
GetRowCursor
(columnsComma);
1012
using DataViewRowCursor cursor = textData.
GetRowCursor
(columns);
1079
using (var cursorPeriod = dataViewPeriod.
GetRowCursor
(dataViewPeriod.Schema))
1080
using (var cursorComma = dataViewComma.
GetRowCursor
(dataViewComma.Schema))
1496
using (var cursorBaseline = baselineDV.
GetRowCursor
(baselineDV.Schema))
1497
using (var cursorTest = testDV.
GetRowCursor
(testDV.Schema))
Transformers\CountTargetEncodingTests.cs (2)
129
using (var curs = transformedData.
GetRowCursor
(transformedData.Schema))
130
using (var curs1 = transformedData1.
GetRowCursor
(transformedData.Schema))
Transformers\TextFeaturizerTests.cs (2)
117
using (var cursor = dataView.
GetRowCursor
(dataView.Schema))
159
using (var cursor = dataView.
GetRowCursor
(dataView.Schema))
Microsoft.ML.TimeSeries (3)
SeasonalityDetector.cs (1)
66
var rowCursor = input.
GetRowCursor
(new List<DataViewSchema.Column>() { column.Value });
SequentialTransformBase.cs (1)
379
var srcCursor = _transform.
GetRowCursor
(columnsNeeded, rand);
SequentialTransformerBase.cs (1)
567
var srcCursor = _transform.
GetRowCursor
(columnsNeeded, rand);
Microsoft.ML.Transforms (11)
CountFeatureSelection.cs (1)
326
using (var cursor = input.
GetRowCursor
(activeCols))
CustomMappingFilter.cs (1)
45
var input = Input.
GetRowCursor
(inputCols, rand);
Dracula\CountTableTransformer.cs (1)
182
using (var cursor = trainingData.
GetRowCursor
(cols.Prepend(labelColumn)))
MissingValueReplacing.cs (1)
329
using (var cursor = input.
GetRowCursor
(sourceColumns))
RandomFourierFeaturizing.cs (1)
297
using (var cursor = input.
GetRowCursor
(activeColumns))
SvmLight\SvmLightLoader.cs (1)
791
public DataViewRowCursor GetRowCursor(IEnumerable<DataViewSchema.Column> columnsNeeded, Random rand = null) => _view.
GetRowCursor
(columnsNeeded, rand);
SvmLight\SvmLightSaver.cs (1)
128
using (var cursor = data.
GetRowCursor
(columns))
Text\LdaTransform.cs (2)
863
using (var cursor = inputData.
GetRowCursor
(activeColumns))
940
using (var cursor = inputData.
GetRowCursor
(activeColumns))
Text\NgramHashingTransformer.cs (1)
233
using (var rowCursor = input.
GetRowCursor
(sourceColumnsForInvertHash))
Text\NgramTransform.cs (1)
240
using (var cursor = trainingData.
GetRowCursor
(activeCols))
Microsoft.ML.Vision (2)
DnnRetrainTransform.cs (1)
334
using (var cursor = input.
GetRowCursor
(cols))
ImageClassificationTrainer.cs (1)
832
using (var cursor = input.
GetRowCursor
(