Skip to content

Commit 363cad8

Browse files
committed
Merge branch 'cvmacro' of https://github.com/yaeldekel/machinelearning into macros
# Conflicts: # src/Microsoft.ML/Runtime/EntryPoints/CrossValidationMacro.cs
2 parents 857d5ab + ae376a0 commit 363cad8

18 files changed

+1299
-651
lines changed

ZBaselines/Common/EntryPoints/core_ep-list.tsv

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Models.BinaryClassificationEvaluator Evaluates a binary classification scored da
88
Models.BinaryCrossValidator Cross validation for binary classification Microsoft.ML.Runtime.EntryPoints.CrossValidationBinaryMacro CrossValidateBinary Microsoft.ML.Runtime.EntryPoints.CrossValidationBinaryMacro+Arguments Microsoft.ML.Runtime.EntryPoints.CommonOutputs+MacroOutput`1[Microsoft.ML.Runtime.EntryPoints.CrossValidationBinaryMacro+Output]
99
Models.ClassificationEvaluator Evaluates a multi class classification scored dataset. Microsoft.ML.Runtime.Data.Evaluate MultiClass Microsoft.ML.Runtime.Data.MultiClassMamlEvaluator+Arguments Microsoft.ML.Runtime.EntryPoints.CommonOutputs+ClassificationEvaluateOutput
1010
Models.ClusterEvaluator Evaluates a clustering scored dataset. Microsoft.ML.Runtime.Data.Evaluate Clustering Microsoft.ML.Runtime.Data.ClusteringMamlEvaluator+Arguments Microsoft.ML.Runtime.EntryPoints.CommonOutputs+CommonEvaluateOutput
11+
Models.CrossValidationResultsCombiner Combine the metric data views returned from cross validation. Microsoft.ML.Runtime.EntryPoints.CrossValidationMacro CombineMetrics Microsoft.ML.Runtime.EntryPoints.CrossValidationMacro+CombineMetricsInput Microsoft.ML.Runtime.EntryPoints.CrossValidationMacro+CombinedOutput
1112
Models.CrossValidator Cross validation for general learning Microsoft.ML.Runtime.EntryPoints.CrossValidationMacro CrossValidate Microsoft.ML.Runtime.EntryPoints.CrossValidationMacro+Arguments Microsoft.ML.Runtime.EntryPoints.CommonOutputs+MacroOutput`1[Microsoft.ML.Runtime.EntryPoints.CrossValidationMacro+Output]
1213
Models.CrossValidatorDatasetSplitter Split the dataset into the specified number of cross-validation folds (train and test sets) Microsoft.ML.Runtime.EntryPoints.CVSplit Split Microsoft.ML.Runtime.EntryPoints.CVSplit+Input Microsoft.ML.Runtime.EntryPoints.CVSplit+Output
1314
Models.DatasetTransformer Applies a TransformModel to a dataset. Microsoft.ML.Runtime.EntryPoints.ModelOperations Apply Microsoft.ML.Runtime.EntryPoints.ModelOperations+ApplyTransformModelInput Microsoft.ML.Runtime.EntryPoints.ModelOperations+ApplyTransformModelOutput

ZBaselines/Common/EntryPoints/core_manifest.json

+114-16
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,116 @@
12381238
"IEvaluatorOutput"
12391239
]
12401240
},
1241+
{
1242+
"Name": "Models.CrossValidationResultsCombiner",
1243+
"Desc": "Combine the metric data views returned from cross validation.",
1244+
"FriendlyName": null,
1245+
"ShortName": null,
1246+
"Inputs": [
1247+
{
1248+
"Name": "Kind",
1249+
"Type": {
1250+
"Kind": "Enum",
1251+
"Values": [
1252+
"SignatureBinaryClassifierTrainer",
1253+
"SignatureMultiClassClassifierTrainer",
1254+
"SignatureRankerTrainer",
1255+
"SignatureRegressorTrainer",
1256+
"SignatureMultiOutputRegressorTrainer",
1257+
"SignatureAnomalyDetectorTrainer",
1258+
"SignatureClusteringTrainer"
1259+
]
1260+
},
1261+
"Desc": "Specifies the trainer kind, which determines the evaluator to be used.",
1262+
"Required": true,
1263+
"SortOrder": 0.0,
1264+
"IsNullable": false,
1265+
"Default": "SignatureBinaryClassifierTrainer"
1266+
},
1267+
{
1268+
"Name": "OverallMetrics",
1269+
"Type": {
1270+
"Kind": "Array",
1271+
"ItemType": "DataView"
1272+
},
1273+
"Desc": "Overall metrics datasets",
1274+
"Required": false,
1275+
"SortOrder": 1.0,
1276+
"IsNullable": false,
1277+
"Default": null
1278+
},
1279+
{
1280+
"Name": "PerInstanceMetrics",
1281+
"Type": {
1282+
"Kind": "Array",
1283+
"ItemType": "DataView"
1284+
},
1285+
"Desc": "Per instance metrics datasets",
1286+
"Required": false,
1287+
"SortOrder": 2.0,
1288+
"IsNullable": false,
1289+
"Default": null
1290+
},
1291+
{
1292+
"Name": "ConfusionMatrix",
1293+
"Type": {
1294+
"Kind": "Array",
1295+
"ItemType": "DataView"
1296+
},
1297+
"Desc": "Confusion matrix datasets",
1298+
"Required": false,
1299+
"SortOrder": 3.0,
1300+
"IsNullable": false,
1301+
"Default": null
1302+
},
1303+
{
1304+
"Name": "Warnings",
1305+
"Type": {
1306+
"Kind": "Array",
1307+
"ItemType": "DataView"
1308+
},
1309+
"Desc": "Warning datasets",
1310+
"Required": false,
1311+
"SortOrder": 4.0,
1312+
"IsNullable": false,
1313+
"Default": null
1314+
},
1315+
{
1316+
"Name": "LabelColumn",
1317+
"Type": "String",
1318+
"Desc": "The label column name",
1319+
"Aliases": [
1320+
"Label"
1321+
],
1322+
"Required": false,
1323+
"SortOrder": 4.0,
1324+
"IsNullable": false,
1325+
"Default": "Label"
1326+
}
1327+
],
1328+
"Outputs": [
1329+
{
1330+
"Name": "Warnings",
1331+
"Type": "DataView",
1332+
"Desc": "Warning dataset"
1333+
},
1334+
{
1335+
"Name": "OverallMetrics",
1336+
"Type": "DataView",
1337+
"Desc": "Overall metrics dataset"
1338+
},
1339+
{
1340+
"Name": "PerInstanceMetrics",
1341+
"Type": "DataView",
1342+
"Desc": "Per instance metrics dataset"
1343+
},
1344+
{
1345+
"Name": "ConfusionMatrix",
1346+
"Type": "DataView",
1347+
"Desc": "Confusion matrix dataset"
1348+
}
1349+
]
1350+
},
12411351
{
12421352
"Name": "Models.CrossValidator",
12431353
"Desc": "Cross validation for general learning",
@@ -1368,34 +1478,22 @@
13681478
},
13691479
{
13701480
"Name": "Warnings",
1371-
"Type": {
1372-
"Kind": "Array",
1373-
"ItemType": "DataView"
1374-
},
1481+
"Type": "DataView",
13751482
"Desc": "Warning dataset"
13761483
},
13771484
{
13781485
"Name": "OverallMetrics",
1379-
"Type": {
1380-
"Kind": "Array",
1381-
"ItemType": "DataView"
1382-
},
1486+
"Type": "DataView",
13831487
"Desc": "Overall metrics dataset"
13841488
},
13851489
{
13861490
"Name": "PerInstanceMetrics",
1387-
"Type": {
1388-
"Kind": "Array",
1389-
"ItemType": "DataView"
1390-
},
1491+
"Type": "DataView",
13911492
"Desc": "Per instance metrics dataset"
13921493
},
13931494
{
13941495
"Name": "ConfusionMatrix",
1395-
"Type": {
1396-
"Kind": "Array",
1397-
"ItemType": "DataView"
1398-
},
1496+
"Type": "DataView",
13991497
"Desc": "Confusion matrix dataset"
14001498
}
14011499
]

0 commit comments

Comments
 (0)