8 instantiations of Input
Microsoft.ML.Tests (8)
Scenarios\Api\TestApi.cs (8)
421new Input() { 425new Input() { 429new Input() { 433new Input() { 437new Input() { 441new Input() { 445new Input() { 449new Input() {
21 references to Input
Microsoft.ML.Tests (21)
Scenarios\Api\TestApi.cs (21)
456var split = mlContext.Data.TrainTestSplit(input, 0.5, nameof(Input.TextStrat)); 457var ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 460split = mlContext.Data.TrainTestSplit(input, 0.5, nameof(Input.FloatStrat)); 461ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 464split = mlContext.Data.TrainTestSplit(input, 0.5, nameof(Input.VectorStrat)); 465ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 468split = mlContext.Data.TrainTestSplit(input, 0.5, nameof(Input.DateTimeStrat)); 469ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 472split = mlContext.Data.TrainTestSplit(input, 0.5, nameof(Input.DateTimeOffsetStrat)); 473ids = split.TrainSet.GetColumn<int>(split.TrainSet.Schema[nameof(Input.Id)]); 476split = mlContext.Data.TrainTestSplit(input, 0.5, nameof(Input.TimeSpanStrat)); 477ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 483ids = split.TestSet.GetColumn<int>(split.TestSet.Schema[nameof(Input.Id)]); 490nameof(Input.TextStrat), 491nameof(Input.FloatStrat), 492nameof(Input.VectorStrat), 493nameof(Input.DateTimeStrat), 494nameof(Input.DateTimeOffsetStrat), 495nameof(Input.TimeSpanStrat), 501var idsTest1 = cvSplits[0].TestSet.GetColumn<int>(cvSplits[0].TestSet.Schema[nameof(Input.Id)]); 502var idsTest2 = cvSplits[1].TestSet.GetColumn<int>(cvSplits[1].TestSet.Schema[nameof(Input.Id)]);