AveragedPerceptron default iterations #5568
Labels
API
Issues pertaining the friendly API
bug
Something isn't working
classification
Bugs related classification tasks
good first issue
Good for newcomers
P2
Priority of the issue for triage purpose: Needs to be fixed at some point.
up-for-grabs
A good issue to fix if you are trying to contribute to the project
When changing AveragedPerceptron's default number of iterations from 1 to 10 in #5258, we missed one.
The main interface continues to default to 1 iteration:

Previous issues:
Code location
Default is set here:
machinelearning/src/Microsoft.ML.StandardTrainers/Standard/Online/AveragedPerceptron.cs
Line 172 in 5dbfd8a
Which originates from:
machinelearning/src/Microsoft.ML.StandardTrainers/Standard/Online/AveragedLinear.cs
Lines 108 to 113 in 5dbfd8a
Which in-turn inherits its value from:
machinelearning/src/Microsoft.ML.StandardTrainers/Standard/Online/OnlineLinear.cs
Lines 62 to 65 in 5dbfd8a
Possible fix
We may want to make a new class within AveragedPerceptron to hold its overrides:
/cc @michaelgsharp
The text was updated successfully, but these errors were encountered: