You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.ML/CSharpApi.cs
+47-2
Original file line number
Diff line number
Diff line change
@@ -2165,6 +2165,16 @@ public sealed partial class CrossValidationResultsCombiner
2165
2165
/// </summary>
2166
2166
public string LabelColumn { get; set; } = "Label";
2167
2167
2168
+
/// <summary>
2169
+
/// Column to use for example weight
2170
+
/// </summary>
2171
+
public Microsoft.ML.Runtime.EntryPoints.Optional<string> WeightColumn { get; set; }
2172
+
2173
+
/// <summary>
2174
+
/// Column to use for grouping
2175
+
/// </summary>
2176
+
public Microsoft.ML.Runtime.EntryPoints.Optional<string> GroupColumn { get; set; }
2177
+
2168
2178
/// <summary>
2169
2179
/// Specifies the trainer kind, which determines the evaluator to be used.
2170
2180
/// </summary>
@@ -2270,6 +2280,21 @@ public sealed partial class CrossValidator
2270
2280
/// </summary>
2271
2281
public Models.MacroUtilsTrainerKinds Kind { get; set; } = Models.MacroUtilsTrainerKinds.SignatureBinaryClassifierTrainer;
2272
2282
2283
+
/// <summary>
2284
+
/// Column to use for labels
2285
+
/// </summary>
2286
+
public string LabelColumn { get; set; } = "Label";
2287
+
2288
+
/// <summary>
2289
+
/// Column to use for example weight
2290
+
/// </summary>
2291
+
public Microsoft.ML.Runtime.EntryPoints.Optional<string> WeightColumn { get; set; }
2292
+
2293
+
/// <summary>
2294
+
/// Column to use for grouping
2295
+
/// </summary>
2296
+
public Microsoft.ML.Runtime.EntryPoints.Optional<string> GroupColumn { get; set; }
2297
+
2273
2298
2274
2299
public sealed class Output
2275
2300
{
@@ -3456,6 +3481,21 @@ public sealed partial class TrainTestEvaluator
3456
3481
/// </summary>
3457
3482
public bool IncludeTrainingMetrics { get; set; } = false;
3458
3483
3484
+
/// <summary>
3485
+
/// Column to use for labels
3486
+
/// </summary>
3487
+
public string LabelColumn { get; set; } = "Label";
3488
+
3489
+
/// <summary>
3490
+
/// Column to use for example weight
3491
+
/// </summary>
3492
+
public Microsoft.ML.Runtime.EntryPoints.Optional<string> WeightColumn { get; set; }
3493
+
3494
+
/// <summary>
3495
+
/// Column to use for grouping
3496
+
/// </summary>
3497
+
public Microsoft.ML.Runtime.EntryPoints.Optional<string> GroupColumn { get; set; }
3498
+
3459
3499
3460
3500
public sealed class Output
3461
3501
{
@@ -6173,7 +6213,7 @@ public enum KMeansPlusPlusTrainerInitAlgorithm
6173
6213
/// <summary>
6174
6214
/// K-means is a popular clustering algorithm. With K-means, the data is clustered into a specified number of clusters in order to minimize the within-cluster sum of squares. K-means++ improves upon K-means by using a better method for choosing the initial cluster centers.
6175
6215
/// </summary>
6176
-
public sealed partial class KMeansPlusPlusClusterer : Microsoft.ML.Runtime.EntryPoints.CommonInputs.ITrainerInput, Microsoft.ML.ILearningPipelineItem
6216
+
public sealed partial class KMeansPlusPlusClusterer : Microsoft.ML.Runtime.EntryPoints.CommonInputs.IUnsupervisedTrainerWithWeight, Microsoft.ML.Runtime.EntryPoints.CommonInputs.ITrainerInput, Microsoft.ML.ILearningPipelineItem
6177
6217
{
6178
6218
6179
6219
@@ -6208,6 +6248,11 @@ public sealed partial class KMeansPlusPlusClusterer : Microsoft.ML.Runtime.Entry
6208
6248
/// </summary>
6209
6249
public int? NumThreads { get; set; }
6210
6250
6251
+
/// <summary>
6252
+
/// Column to use for example weight
6253
+
/// </summary>
6254
+
public Microsoft.ML.Runtime.EntryPoints.Optional<string> WeightColumn { get; set; }
6255
+
6211
6256
/// <summary>
6212
6257
/// The data to be used for training
6213
6258
/// </summary>
@@ -7024,7 +7069,7 @@ namespace Trainers
7024
7069
/// <summary>
7025
7070
/// Train an PCA Anomaly model.
7026
7071
/// </summary>
7027
-
public sealed partial class PcaAnomalyDetector : Microsoft.ML.Runtime.EntryPoints.CommonInputs.ITrainerInput, Microsoft.ML.ILearningPipelineItem
7072
+
public sealed partial class PcaAnomalyDetector : Microsoft.ML.Runtime.EntryPoints.CommonInputs.IUnsupervisedTrainerWithWeight, Microsoft.ML.Runtime.EntryPoints.CommonInputs.ITrainerInput, Microsoft.ML.ILearningPipelineItem
0 commit comments