Weight Vector Optimization of the Hinge Loss Function
Version 1.0.0 (2.01 KB) by
pbarmpoutis
Weight Vector Optimization of the Hinge Loss Function
For Educational Purposes and better understanding of Weight Vector Optimization and Linear Binary Classification based on the Gradient Descent optimization algorithm
-Weight Optimization of the Hinge Loss Function
Tasks:
-Modify the number of inputs adding f(5,:), f(6,:)..
-Add more features for each input: 3 features: f(1,:)=[1.5 0 6]...
-Change the number of iterations
-Modify the Learning Rate
-Change the initialized values of the weight vector
-Change the Loss Function and the corresponding Gradient
Cite As
pbarmpoutis (2026). Weight Vector Optimization of the Hinge Loss Function (https://www.mathworks.com/matlabcentral/fileexchange/101313-weight-vector-optimization-of-the-hinge-loss-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |