Learning of a Log-linear model using Gradient Descent
Versione 1.0.0.0 (1,02 KB) da
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];
Cita come
Nathalie Cauchi (2025). 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. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2015b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |