From 397ba81d210dad7331626e4bbaccfca3b745576c Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Wed, 5 Nov 2025 10:13:24 -0700 Subject: Removed book/ from tracking --- book/module4/linear_regression.tex | 22 ---------------------- book/module4/module4.tex | 3 --- book/module4/plotting.tex | 3 --- 3 files changed, 28 deletions(-) delete mode 100644 book/module4/linear_regression.tex delete mode 100644 book/module4/module4.tex delete mode 100644 book/module4/plotting.tex (limited to 'book/module4') diff --git a/book/module4/linear_regression.tex b/book/module4/linear_regression.tex deleted file mode 100644 index 5cd81db..0000000 --- a/book/module4/linear_regression.tex +++ /dev/null @@ -1,22 +0,0 @@ -\section{Linear Regression}\label{linear-regression} - -\subsection{Statical tools}\label{statical-tools} - -Numpy comes with some useful statistical tools that we can use to -analyze our data. - -\subsubsection{Mean}\label{mean} - -The mean is the average of a set of numbers. It is calculated by summing -all the numbers and dividing by the count of numbers. - -\begin{Shaded} -\begin{Highlighting}[] -\ImportTok{import}\NormalTok{ numpy }\ImportTok{as}\NormalTok{ np} - -\NormalTok{mean }\OperatorTok{=}\NormalTok{ np.mean([}\DecValTok{1}\NormalTok{, }\DecValTok{2}\NormalTok{, }\DecValTok{3}\NormalTok{, }\DecValTok{4}\NormalTok{, }\DecValTok{5}\NormalTok{])} -\NormalTok{median }\OperatorTok{=}\NormalTok{ np.median([}\DecValTok{1}\NormalTok{, }\DecValTok{2}\NormalTok{, }\DecValTok{3}\NormalTok{, }\DecValTok{4}\NormalTok{, }\DecValTok{5}\NormalTok{])} -\NormalTok{std }\OperatorTok{=}\NormalTok{ np.std([}\DecValTok{1}\NormalTok{, }\DecValTok{2}\NormalTok{, }\DecValTok{3}\NormalTok{, }\DecValTok{4}\NormalTok{, }\DecValTok{5}\NormalTok{])} -\NormalTok{variance }\OperatorTok{=}\NormalTok{ np.var([}\DecValTok{1}\NormalTok{, }\DecValTok{2}\NormalTok{, }\DecValTok{3}\NormalTok{, }\DecValTok{4}\NormalTok{, }\DecValTok{5}\NormalTok{])} -\end{Highlighting} -\end{Shaded} diff --git a/book/module4/module4.tex b/book/module4/module4.tex deleted file mode 100644 index 48e3475..0000000 --- a/book/module4/module4.tex +++ /dev/null @@ -1,3 +0,0 @@ -\chapter{Module 4: Data Analysis and Visualization} -\input{module4/linear_regression} -\input{module4/plotting} diff --git a/book/module4/plotting.tex b/book/module4/plotting.tex deleted file mode 100644 index f2130e4..0000000 --- a/book/module4/plotting.tex +++ /dev/null @@ -1,3 +0,0 @@ -\section{Plotting}\label{plotting} - -\subsection{matlibplot}\label{matlibplot} -- cgit v1.2.3