1 write to Values
Microsoft.ML.Data (1)
DataDebuggerPreview.cs (1)
96Values = new KeyValuePair<string, object>[n];
18 references to Values
Microsoft.ML.Data (2)
DataDebuggerPreview.cs (2)
76rowInfo.Values[col] = new KeyValuePair<string, object>(column.Name, value); 92=> $"{Values.Length} columns";
Microsoft.ML.Tests (16)
ImagesTests.cs (2)
1028using (var image = (MLImage)rowView.First().Values.Last().Value) 1189var resizedImage = (MLImage)rowView.First().Values.Last().Value;
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 (3)
137var probability = calibratedData.RowView[i].Values[6]; 276Assert.True((float)oldCalibratedData.RowView[i].Values[5].Value == (float)newCalibratedData.RowView[i].Values[5].Value);