You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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];
Cite As
Nathalie Cauchi (2026). Learning of a Log-linear model using Gradient Descent (https://uk.mathworks.com/matlabcentral/fileexchange/58278-learning-of-a-log-linear-model-using-gradient-descent), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.02 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
