summaryrefslogtreecommitdiff
path: root/day1/session3.tex
diff options
context:
space:
mode:
authorPuneeth Chaganti2009-10-27 13:05:40 +0530
committerPuneeth Chaganti2009-10-27 13:05:40 +0530
commitafbc641895fe93a7fa42b6b4fb325620a9b21314 (patch)
tree7a4779443e10653af399396e51886a0cce22fdd1 /day1/session3.tex
parent8ad47866c20cf995f7deed834be9bb5c04b734b5 (diff)
downloadworkshops-afbc641895fe93a7fa42b6b4fb325620a9b21314.tar.gz
workshops-afbc641895fe93a7fa42b6b4fb325620a9b21314.tar.bz2
workshops-afbc641895fe93a7fa42b6b4fb325620a9b21314.zip
Manual Merge with Mainline.
Diffstat (limited to 'day1/session3.tex')
-rw-r--r--day1/session3.tex9
1 files changed, 6 insertions, 3 deletions
diff --git a/day1/session3.tex b/day1/session3.tex
index fb399bb..5ee1b61 100644
--- a/day1/session3.tex
+++ b/day1/session3.tex
@@ -303,7 +303,7 @@ savefig('/tmp/all_regions.png')
\frametitle{Dealing with data whole-sale}
\begin{lstlisting}
In []: for t in T:
- ....: Tsq.append(t*t)
+ ....: TSq.append(t*t)
\end{lstlisting}
\begin{itemize}
\item This is not very efficient
@@ -313,7 +313,7 @@ In []: for t in T:
\begin{lstlisting}
In []: L = array(L)
In []: T = array(T)
-In []: Tsq = T*T
+In []: TSq = T*T
\end{lstlisting}
\end{frame}
@@ -401,7 +401,7 @@ In []: A = vander(L,2)
\item Along with a lot of things, it returns the least squares solution
\end{itemize}
\begin{lstlisting}
-In []: coef, res, r, s = lstsq(A,Tsq)
+In []: coef, res, r, s = lstsq(A,TSq)
\end{lstlisting}
\end{frame}
@@ -424,6 +424,9 @@ In []: plot(L, Tline)
\begin{itemize}
\item Dictionaries
\item Drawing pie charts
+ \item Arrays
+ \item Least Square fitting
+ \item Intro to Matrices
\end{itemize}
\end{frame}
\end{document}