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