82 references to Boolean
Microsoft.ML.AutoML (1)
ColumnInference\ColumnGroupingInference.cs (1)
113if (itemKind == DataKind.Boolean)
Microsoft.ML.AutoML.Tests (2)
ColumnInferenceTests.cs (2)
95Assert.Equal(DataKind.Boolean, labelColumn.DataKind); 141Assert.Equal(DataKind.Boolean, labelColumn.DataKind);
Microsoft.ML.CodeGenerator (2)
Utils.cs (2)
156case Microsoft.ML.Data.DataKind.Boolean: 347case DataKind.Boolean:
Microsoft.ML.CodeGenerator.Tests (10)
ApprovalTests\ConsoleCodeGeneratorTests.cs (8)
611new TextLoader.Column("Label", DataKind.Boolean, 0), 648new TextLoader.Column("Label", DataKind.Boolean, 0), 739new TextLoader.Column("Label", DataKind.Boolean, 0), 835new TextLoader.Column("label", DataKind.Boolean, 14), 970ColumnType = DataKind.Boolean, 1003new TextLoader.Column("IsDetachable", DataKind.Boolean, 7), 1082ColumnType = DataKind.Boolean, 1106new TextLoader.Column("Label", DataKind.Boolean, 0),
CodeGenTests.cs (2)
145new TextLoader.Column(){ Name = "Label", Source = new TextLoader.Range[]{new TextLoader.Range(0) }, DataKind = DataKind.Boolean }, 169new TextLoader.Column(){ Name = "isElectric", Source = new TextLoader.Range[]{new TextLoader.Range(6) }, DataKind = DataKind.Boolean },
Microsoft.ML.Core (1)
Data\DataKind.cs (1)
103BL = DataKind.Boolean,
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
1370new TextLoader.Column("Label", DataKind.Boolean, 0),
Microsoft.ML.Data (1)
Transforms\KeyToValue.cs (1)
568t = InternalDataKindExtensions.ToInternalDataKind(DataKind.Boolean).ToType();
Microsoft.ML.IntegrationTests (1)
Datasets\TypeTestData.cs (1)
81new TextLoader.Column("Label", DataKind.Boolean, 0),
Microsoft.ML.PerformanceTests (3)
KMeansAndLogisticRegressionBench.cs (1)
25new TextLoader.Column("Label", DataKind.Boolean, 0),
PredictionEngineBench.cs (2)
84new TextLoader.Column("Label", DataKind.Boolean, 0), 119new TextLoader.Column("Label", DataKind.Boolean, 0),
Microsoft.ML.Predictor.Tests (1)
TestIniModels.cs (1)
564new TextLoader.Column("Label", DataKind.Boolean, 0),
Microsoft.ML.Samples.OneDal (1)
Program.cs (1)
29columns.Add(new TextLoader.Column(column, DataKind.Boolean, Array.IndexOf(headerArray, column)));
Microsoft.ML.SamplesUtils (1)
SamplesDatasetUtils.cs (1)
143new TextLoader.Column("IsOver50K", DataKind.Boolean, 14),
Microsoft.ML.StandardTrainers (1)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
808var t = InternalDataKindExtensions.ToInternalDataKind(DataKind.Boolean).ToType();
Microsoft.ML.TestFrameworkCommon (1)
Datasets.cs (1)
233new TextLoader.Column("Label", DataKind.Boolean, 0),
Microsoft.ML.Tests (55)
CalibratedModelParametersTests.cs (1)
362return pipeline.Append(ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean))
FeatureContributionTests.cs (1)
318return pipeline.Append(ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean))
OnnxConversionTest.cs (17)
387new TextLoader.Column("label", DataKind.Boolean, 0), 461DataKind.UInt32, DataKind.UInt16, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind valueType, 465string filePath = (valueType == DataKind.Boolean) ? GetDataPath("type-conversion-boolean.txt") : GetDataPath("type-conversion.txt"); 772new TextLoader.Column("Label", DataKind.Boolean, 0) 871new TextLoader.Column("label", DataKind.Boolean, 0), 1055DataKind.UInt16, DataKind.UInt32, DataKind.UInt64, DataKind.Single, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind type, 1094DataKind.UInt16, DataKind.UInt32, DataKind.UInt64, DataKind.Single, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind type, 1184DataKind.UInt32, DataKind.UInt16, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind valueType, 1189string filePath = (valueType == DataKind.Boolean) ? GetDataPath("type-conversion-boolean.txt") 1223DataKind.UInt16, DataKind.Int16, DataKind.Double, DataKind.String, DataKind.Boolean)] 1227string filePath = (keyType == DataKind.Boolean) ? GetDataPath("type-conversion-boolean.txt") 1270else if (keyType == DataKind.Boolean) 1388[InlineData(DataKind.Boolean)] 1392string filePath = (valueType == DataKind.Boolean) ? GetDataPath("type-conversion-boolean.txt") : GetDataPath("type-conversion.txt"); 1585[InlineData(DataKind.Boolean)] 1850new TextLoader.Column("Label", DataKind.Boolean, 0) 1887new TextLoader.Column("Label", DataKind.Boolean, 0),
PermutationFeatureImportanceTests.cs (3)
490new[] { new TextLoader.Column("Label", DataKind.Boolean, 0), 861return pipeline.Append(ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean)) 942return pipeline.Append(ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean))
Scenarios\Api\CookbookSamples\CookbookSamples.cs (2)
505new TextLoader.Column("IsToxic", DataKind.Boolean, 0), 574new TextLoader.Column("Label", DataKind.Boolean, 0),
Scenarios\Api\TestApi.cs (3)
180xf = mlContext.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean).Fit(xf).Transform(xf); 302new TextLoader.Column("Label", DataKind.Boolean, 0), 350new TextLoader.Column("Label", DataKind.Boolean, 0),
TrainerEstimators\FAFMEstimator.cs (1)
101new TextLoader.Column("Label", DataKind.Boolean, 0)
TrainerEstimators\OneDalEstimators.cs (1)
57new TextLoader.Column("target", DataKind.Boolean,8)},
TrainerEstimators\OnlineLinearTests.cs (1)
35new TextLoader.Column("Label", DataKind.Boolean, 0),
TrainerEstimators\PriorRandomTests.cs (1)
22new TextLoader.Column("Label", DataKind.Boolean, 0),
TrainerEstimators\SdcaTests.cs (1)
28var binaryData = ML.Transforms.Conversion.ConvertType("Label", outputKind: DataKind.Boolean)
TrainerEstimators\TrainerEstimators.cs (2)
199new TextLoader.Column("Label", DataKind.Boolean, 0), 201new TextLoader.Column("LoggedIn", DataKind.Boolean, 2)
Transformers\CountTargetEncodingTests.cs (1)
80new TextLoader.Column("Label", DataKind.Boolean, 0)
Transformers\FeatureSelectionTests.cs (2)
32new TextLoader.Column("label", DataKind.Boolean, 0), 37new TextLoader.Column("label", DataKind.Boolean, 0),
Transformers\TextFeaturizerTests.cs (15)
456new TextLoader.Column("label", DataKind.Boolean, 0), 461new TextLoader.Column("label", DataKind.Boolean, 0), 489new TextLoader.Column("label", DataKind.Boolean, 0), 494new TextLoader.Column("label", DataKind.Boolean, 0), 519new TextLoader.Column("label", DataKind.Boolean, 0), 556new TextLoader.Column("label", DataKind.Boolean, 0), 561new TextLoader.Column("label", DataKind.Boolean, 0), 619new TextLoader.Column("label", DataKind.Boolean, 0), 624new TextLoader.Column("label", DataKind.Boolean, 0), 649new TextLoader.Column("label", DataKind.Boolean, 0), 654new TextLoader.Column("label", DataKind.Boolean, 0), 686new TextLoader.Column("Sentiment", DataKind.Boolean, 0), 703new TextLoader.Column("label", DataKind.Boolean, 0), 708new TextLoader.Column("label", DataKind.Boolean, 0), 807new TextLoader.Column("Label", DataKind.Boolean, 0),
Transformers\TextNormalizer.cs (1)
52new TextLoader.Column("label", DataKind.Boolean, 0),
Transformers\WordEmbeddingsTests.cs (2)
36new TextLoader.Column("Label", DataKind.Boolean, 0), 71new TextLoader.Column("Label", DataKind.Boolean, 0),