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