1 write to RowView
Microsoft.ML.Data (1)
DataDebuggerPreview.cs (1)
61
RowView
= rows.ToImmutableArray();
23 references to RowView
Microsoft.Data.Analysis.Tests (2)
DataFrameIDataViewTests.cs (2)
30
Assert.Equal(10, preview.
RowView
.Length);
136
Assert.Equal(length, preview.
RowView
.Length);
Microsoft.ML.Data (1)
DataDebuggerPreview.cs (1)
66
=> $"{Schema.Count} columns, {
RowView
.Length} rows";
Microsoft.ML.Tests (18)
ImagesTests.cs (2)
1025
var rowView = pipe.Preview(data).
RowView
;
1188
var rowView = resizedDV.Preview().
RowView
;
TextLoaderTests.cs (11)
758
Assert.Equal(entry.Key, previewIris.
RowView
[0].Values[index].Key);
759
Assert.Equal(entry.Value, previewIris.
RowView
[0].Values[index++].Value);
761
Assert.Equal("Type", previewIris.
RowView
[0].Values[index].Key);
762
Assert.Equal("Iris-setosa", previewIris.
RowView
[0].Values[index].Value.ToString());
774
Assert.Equal("Features", previewIrisStartEnd.
RowView
[0].Values[0].Key);
775
var featureValue = (VBuffer<float>)previewIrisStartEnd.
RowView
[0].Values[0].Value;
796
featureValue = (VBuffer<float>)previewIrisColumnIndices.
RowView
[0].Values[0].Value;
856
Assert.Equal(entry.Key, previewIris.
RowView
[0].Values[index].Key);
857
Assert.Equal(entry.Value, previewIris.
RowView
[0].Values[index++].Value);
859
Assert.Equal("Type", previewIris.
RowView
[0].Values[index].Key);
860
Assert.Equal("Iris-setosa", previewIris.
RowView
[0].Values[index].Value.ToString());
TrainerEstimators\CalibratorEstimators.cs (5)
137
var probability = calibratedData.
RowView
[i].Values[6];
270
Assert.True(oldCalibratedData.
RowView
.Length == newCalibratedData.
RowView
.Length);
276
Assert.True((float)oldCalibratedData.
RowView
[i].Values[5].Value == (float)newCalibratedData.
RowView
[i].Values[5].Value);
Microsoft.ML.TorchSharp.Tests (2)
ObjectDetectionTests.cs (1)
102
Assert.Equal(2, prev.
RowView
.Count());
TextClassificationTests.cs (1)
257
Assert.Equal(8, transformedData.
RowView
.Count());