Learning of a Log-linear model using Gradient Descent

The code implements the gradient descent algorithm to learn the log linear model of the OR function
36 descargas
Actualizado 18 jul 2016

Ver licencia

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];

Citar como

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. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2015b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0