-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
The k-means arg attributes, from which the entry-points are derived, do not define a weight column argument, not in
public class Arguments : LearnerInputBase |
This despite the trainer itself supporting weighted training:
probabilityWeight *= cursor.Weight; |
So we can use weighted training from the command line, but not via entry-points, and so not via the ML.NET API, which is an unfortunate and I believe unintended functionality gap.
One possible remediation is to merely duplicate what @yaeldekel did in #221 , except for this class. Another possibly better solution is to introduce another convenience abstract class for weighted but unsupervised algorithms, to avoid that duplication, then change both to use that.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request