dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
8.94k stars 1.86k forks source link

use HingeLoss as default loss function #6816

Open feiyun0112 opened 10 months ago

feiyun0112 commented 10 months ago

6815

StandardTrainersCatalog.AveragedPerceptron factory method uses LogLoss as its default loss function, which contradicts method documentation and defaults.AveragedPerceptronTrainer.Options

michaelgsharp commented 7 months ago

/azp run

azure-pipelines[bot] commented 7 months ago
Azure Pipelines successfully started running 2 pipeline(s).
michaelgsharp commented 7 months ago

@feiyun0112 why do you want to switch the default loss function? Is HingeLoss better?

feiyun0112 commented 7 months ago

@feiyun0112 why do you want to switch the default loss function? Is HingeLoss better?

please see this issue https://github.com/dotnet/machinelearning/issues/6815