updated gradient descend exercise
This commit is contained in:
parent
39a1e51bc4
commit
a8afe6b020
@ -20,7 +20,7 @@
|
|||||||
\else
|
\else
|
||||||
\newcommand{\stitle}{}
|
\newcommand{\stitle}{}
|
||||||
\fi
|
\fi
|
||||||
\header{{\bfseries\large Exercise 10\stitle}}{{\bfseries\large Gradient descent}}{{\bfseries\large December 17th, 2018}}
|
\header{{\bfseries\large Exercise 10\stitle}}{{\bfseries\large Gradient descent}}{{\bfseries\large December 16th, 2019}}
|
||||||
\firstpagefooter{Dr. Jan Grewe}{Phone: 29 74588}{Email:
|
\firstpagefooter{Dr. Jan Grewe}{Phone: 29 74588}{Email:
|
||||||
jan.grewe@uni-tuebingen.de}
|
jan.grewe@uni-tuebingen.de}
|
||||||
\runningfooter{}{\thepage}{}
|
\runningfooter{}{\thepage}{}
|
||||||
@ -121,7 +121,8 @@
|
|||||||
|
|
||||||
\part Use the functions \code{polyfit()} and \code{lsqcurvefit()}
|
\part Use the functions \code{polyfit()} and \code{lsqcurvefit()}
|
||||||
provided by matlab to find the slope and intercept of a straight
|
provided by matlab to find the slope and intercept of a straight
|
||||||
line that fits the data.
|
line that fits the data. Compare the resulting fit parameters of
|
||||||
|
those functions with the ones of your gradient descent algorithm.
|
||||||
\begin{solution}
|
\begin{solution}
|
||||||
\lstinputlisting{../code/linefit.m}
|
\lstinputlisting{../code/linefit.m}
|
||||||
\end{solution}
|
\end{solution}
|
||||||
|
Reference in New Issue
Block a user