29 implementations of GetRowCount
Microsoft.Data.Analysis (1)
DataFrame.IDataView.cs (1)
41
long? IDataView.
GetRowCount
() => Rows.Count;
Microsoft.ML.Data (24)
Data\RowCursorUtils.cs (1)
538
public long?
GetRowCount
()
DataLoadSave\Binary\BinaryLoader.cs (1)
741
public long?
GetRowCount
() => RowCount;
DataLoadSave\Database\DatabaseLoader.cs (1)
715
public long?
GetRowCount
() => null;
DataLoadSave\LegacyCompositeDataLoader.cs (1)
576
public long?
GetRowCount
()
DataLoadSave\Text\TextLoader.cs (1)
1650
public long?
GetRowCount
()
DataLoadSave\Transpose\TransposeLoader.cs (1)
617
public long?
GetRowCount
()
DataView\AppendRowsDataView.cs (1)
129
public long?
GetRowCount
()
DataView\ArrayDataViewBuilder.cs (1)
204
public long?
GetRowCount
() { return _rowCount; }
DataView\BatchDataViewMapperBase.cs (1)
28
public long?
GetRowCount
() => _source.GetRowCount();
DataView\CacheDataView.cs (1)
198
public long?
GetRowCount
()
DataView\DataViewConstructionUtils.cs (1)
482
public abstract long?
GetRowCount
();
DataView\EmptyDataView.cs (1)
31
public long?
GetRowCount
() => 0;
DataView\OpaqueDataView.cs (1)
26
public long?
GetRowCount
() => _source.GetRowCount();
DataView\Transposer.cs (3)
293
public long?
GetRowCount
()
796
public long?
GetRowCount
()
1441
public long?
GetRowCount
()
DataView\ZipDataView.cs (1)
59
public long?
GetRowCount
()
Evaluators\RankingEvaluator.cs (1)
617
public long?
GetRowCount
()
Transforms\ColumnSelecting.cs (1)
677
public long?
GetRowCount
() => Source.GetRowCount();
Transforms\NopTransform.cs (1)
115
public long?
GetRowCount
()
Transforms\PerGroupTransformBase.cs (1)
152
public long?
GetRowCount
()
Transforms\SkipTakeFilter.cs (1)
193
public override long?
GetRowCount
()
Transforms\TransformBase.cs (2)
50
public abstract long?
GetRowCount
();
141
public override long?
GetRowCount
() => null;
Microsoft.ML.Samples (1)
Dynamic\SimpleDataViewImplementation.cs (1)
169
public long?
GetRowCount
() => null;
Microsoft.ML.Transforms (3)
CustomMappingFilter.cs (1)
35
public long?
GetRowCount
() => null;
StatefulFilterTransform.cs (1)
97
public long?
GetRowCount
()
SvmLight\SvmLightLoader.cs (1)
417
public long?
GetRowCount
()
36 references to GetRowCount
Microsoft.Data.Analysis.Tests (2)
DataFrameIDataViewTests.cs (2)
257
Assert.Equal(dfAsIDataView.
GetRowCount
(), newDf.Rows.Count);
271
Assert.Equal(dfAsIDataView.
GetRowCount
(), newDf.Rows.Count);
Microsoft.ML.AutoML (1)
Sweepers\SmacSweeper.cs (1)
125
Runtime.Contracts.Assert(data.
GetRowCount
() == targets.Length, "This data view will have as many rows as there have been evaluations");
Microsoft.ML.Data (23)
Data\DataViewUtils.cs (2)
79
/// and counting if <see cref="IDataView.
GetRowCount
"/> insists on returning <c>null</c>.
83
long? countNullable = view.
GetRowCount
();
DataLoadSave\LegacyCompositeDataLoader.cs (1)
578
return View.
GetRowCount
();
DataLoadSave\Text\TextSaver.cs (1)
440
double rowCount = data.
GetRowCount
() ?? double.NaN;
DataLoadSave\Transpose\TransposeLoader.cs (4)
244
var rowCountNull = view.
GetRowCount
();
307
var rowCountNull = view.
GetRowCount
();
368
get { return _header.RowCount == _schemaEntry.GetView().
GetRowCount
(); }
389
if (_header.RowCount == view.
GetRowCount
())
DataView\AppendRowsDataView.cs (2)
93
long? count = dv.
GetRowCount
();
134
var cur = source.
GetRowCount
();
DataView\BatchDataViewMapperBase.cs (1)
28
public long? GetRowCount() => _source.
GetRowCount
();
DataView\CacheDataView.cs (1)
92
_rowCount = _subsetInput.
GetRowCount
() ?? -1;
DataView\OpaqueDataView.cs (1)
26
public long? GetRowCount() => _source.
GetRowCount
();
DataView\Transposer.cs (1)
800
return _input.
GetRowCount
();
DataView\ZipDataView.cs (1)
64
var cur = source.
GetRowCount
();
Scorers\RowToRowScorerBase.cs (1)
155
if (inputs.Length == 1 && n > 1 && WantParallelCursors(predicate) && (Source.
GetRowCount
() ?? int.MaxValue) > n)
Transforms\ColumnSelecting.cs (1)
677
public long? GetRowCount() => Source.
GetRowCount
();
Transforms\NopTransform.cs (1)
117
return Source.
GetRowCount
();
Transforms\PerGroupTransformBase.cs (1)
154
return Source.
GetRowCount
();
Transforms\SkipTakeFilter.cs (1)
197
long? count = Source.
GetRowCount
();
Transforms\TransformBase.cs (1)
120
public sealed override long? GetRowCount() { return Source.
GetRowCount
(); }
Transforms\ValueToKeyMappingTransformer.cs (2)
488
double rowCount = keyData.
GetRowCount
() ?? double.NaN;
591
double rowCount = trainingData.
GetRowCount
() ?? double.NaN;
Microsoft.ML.Mkl.Components (1)
VectorWhitening.cs (1)
247
long? rows = inputData.
GetRowCount
();
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
130
_host.Assert(view.
GetRowCount
() == targets.Length, "This data view will have as many rows as there have been evaluations");
Microsoft.ML.TestFramework (2)
DataPipe\TestDataPipe.cs (2)
1205
Assert.True(view.
GetRowCount
().HasValue);
1206
Assert.Equal((long)rows, view.
GetRowCount
().Value);
Microsoft.ML.Tests (1)
Scenarios\Api\TestApi.cs (1)
158
Assert.Null(filter.
GetRowCount
());
Microsoft.ML.TimeSeries (2)
SequentialTransformBase.cs (1)
387
return _transform.
GetRowCount
();
SequentialTransformerBase.cs (1)
580
=> _transform.
GetRowCount
();
Microsoft.ML.Transforms (3)
CountFeatureSelection.cs (1)
324
double rowCount = input.
GetRowCount
() ?? double.NaN;
SvmLight\SvmLightLoader.cs (1)
789
public long? GetRowCount() => _view.
GetRowCount
();
Text\NgramTransform.cs (1)
266
var rowCount = trainingData.
GetRowCount
() ?? double.NaN;