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