Learning of a Log-linear model using Gradient Descent
Version 1.0.0.0 (1,02 KB) von
Nathalie Cauchi
The code implements the gradient descent algorithm to learn the log linear model of the OR function
The code implements the gradient descent algorithm to learn the log linear model of the OR function below:
x_0 x_1 C_k
1 1 1
0 1 1
1 0 1
0 0 0
using the following feature map:
\phi(x,C_k) = [ (x_0 =1 & C_k = 1), x_1 = 1 & C_k = 1, C_k = 1];
Zitieren als
Nathalie Cauchi (2024). Learning of a Log-linear model using Gradient Descent (https://www.mathworks.com/matlabcentral/fileexchange/58278-learning-of-a-log-linear-model-using-gradient-descent), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2015b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |