diff --git a/doc/pub/How2ReadData/html/._How2ReadData-bs001.html b/doc/pub/How2ReadData/html/._How2ReadData-bs001.html
index 774e3f2ac..01b0e4145 100644
--- a/doc/pub/How2ReadData/html/._How2ReadData-bs001.html
+++ b/doc/pub/How2ReadData/html/._How2ReadData-bs001.html
@@ -6,9 +6,9 @@ Automatically generated HTML file from DocOnce source
-
+
-Data Analysis and Machine Learning: Representing data
+Data Analysis and Machine Learning: Introduction and Representing data
@@ -40,8 +40,18 @@ Automatically generated HTML file from DocOnce source
@@ -55,7 +65,7 @@ end of tocinfo -->
- Data Analysis and Machine Learning: Representing data
+ Data Analysis and Machine Learning: Introduction and Representing data
+Machine learning is the science of giving computers the ability to
+learn without being explicitly programmed. The idea is that there
+exist generic algorithms which can be used to find patterns in a broad
+class of data sets without having to write code specifically for each
+problem. The algorithm will build its own logic based on the data.
+
+Machine learning is a subfield of computer science, and is closely
+related to computational statistics. It evolved from the study of
+pattern recognition in artificial intelligence (AI) research, and has
+made contributions to AI tasks like computer vision, natural language
+processing and speech recognition. It has also, especially in later
+years, found applications in a wide variety of other areas, including
+bioinformatics, economy, physics, finance and marketing.
diff --git a/doc/pub/How2ReadData/html/How2ReadData-bs.html b/doc/pub/How2ReadData/html/How2ReadData-bs.html
index eb14f46f6..f9424edda 100644
--- a/doc/pub/How2ReadData/html/How2ReadData-bs.html
+++ b/doc/pub/How2ReadData/html/How2ReadData-bs.html
@@ -6,9 +6,9 @@ Automatically generated HTML file from DocOnce source
-
+
-Data Analysis and Machine Learning: Representing data
+Data Analysis and Machine Learning: Introduction and Representing data
@@ -40,8 +40,18 @@ Automatically generated HTML file from DocOnce source
@@ -55,7 +65,7 @@ end of tocinfo -->
- Data Analysis and Machine Learning: Representing data
+ Data Analysis and Machine Learning: Introduction and Representing data
diff --git a/doc/pub/How2ReadData/html/How2ReadData-reveal.html b/doc/pub/How2ReadData/html/How2ReadData-reveal.html
index 234d4cb92..fe53afa95 100644
--- a/doc/pub/How2ReadData/html/How2ReadData-reveal.html
+++ b/doc/pub/How2ReadData/html/How2ReadData-reveal.html
@@ -3,9 +3,9 @@
-
+
-Data Analysis and Machine Learning: Representing data
+Data Analysis and Machine Learning: Introduction and Representing data
@@ -116,7 +116,7 @@ td.padding {
-
Data Analysis and Machine Learning: Representing data
+
Data Analysis and Machine Learning: Introduction and Representing data
@@ -132,7 +132,7 @@ td.padding {
[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University
-
Nov 26, 2017
+
Nov 27, 2017
@@ -143,7 +143,155 @@ td.padding {
-
Representing data, overarching aims
+
What is Machine Learning?
+
+
+Machine learning is the science of giving computers the ability to
+learn without being explicitly programmed. The idea is that there
+exist generic algorithms which can be used to find patterns in a broad
+class of data sets without having to write code specifically for each
+problem. The algorithm will build its own logic based on the data.
+
+
+Machine learning is a subfield of computer science, and is closely
+related to computational statistics. It evolved from the study of
+pattern recognition in artificial intelligence (AI) research, and has
+made contributions to AI tasks like computer vision, natural language
+processing and speech recognition. It has also, especially in later
+years, found applications in a wide variety of other areas, including
+bioinformatics, economy, physics, finance and marketing.
+
+
+
+
+
Types of Machine Learning
+
+
+The approaches to machine learning are many, but are often split into two main categories.
+In supervised learning we know the answer to a problem,
+and let the computer deduce the logic behind it. On the other hand, unsupervised learning
+is a method for finding patterns and relationship in data sets without any prior knowledge of the system.
+Some authours also operate with a third category, namely reinforcement learning. This is a paradigm
+of learning inspired by behavioural psychology, where learning is achieved by trial-and-error,
+solely from rewards and punishment.
+
+
+Another way to categorize machine learning tasks is to consider the desired output of a system.
+Some of the most common tasks are:
+
+
+
+
Classification: Outputs are divided into two or more classes. The goal is to produce a model that assigns inputs into one of these classes. An example is to identify digits based on pictures of hand-written ones. Classification is typically supervised learning.
+
+
Regression: Finding a functional relationship between an input data set and a reference data set. The goal is to construct a function that maps input data to continuous output values.
+
+
Clustering: Data are divided into groups with certain common traits, without knowing the different groups beforehand. It is thus a form of unsupervised learning.
+
+
+
+
+
+
Different algorithms
+In this course we will build our machine learning approach on a statistical foundation, with elements
+from data analysis, stochastic processes etc before we proceed with the following machine learning algorithms
+
+
+
Linear regression and its variants
+
Decision tree algorithms, from simpler to more complex ones
+
Nearest neighbors models
+
Bayesian statistics
+
Support vector machines and finally various variants of
+
Artifical neural networks
+
+
+
+Before we proceed however, there are several practicalities with data analysis and software tools we would
+like to present. These tools will help us in our understanding of various machine learning algorithms.
+
+
+Our emphasis here is on understanding the mathematical aspects of different algorithms, however, where possible
+we will emphasize the importance of using available software.
+
+
+
+
+
Software and needed installations
+We will make intensive use of python as programming language and the myriad of available libraries.
+Furthermore, you will find IPython/Jupyter notebooks invaluable in your work.
+You can run R codes in the Jupyter/IPython notebooks, with the immediate benefit of visualizing your data.
+
+
+If you have Python installed (we recommend Python3) and you feel pretty familiar with installing different packages,
+we recommend that you install the following Python packages via pip as
+
+
+For OSX user we recommend also, after having installed Xcode, to install brew. Brew allows
+for a seamless installation of additional software via for example
+
+
+
brew install python3
+
+
+
+For Linux users, with its variety of distributions like for example the widely popular Ubuntu distribution
+you can use pip as well and simply install Python as
+
+
+
sudo apt-get install python3 (or python for pyhton2.7)
+
+
+
+etc etc.
+
+
+
+
+
Python installers
+If you don't want to perform these operations separately, we recommend two widely used distrubutions which set up
+all relevant dependencies for Python, namely
+
+
+
anaconda
+
Enthought canopy
+
+
+
+
+
+
Installing R and C++
+
+
+You will also find it convenient to utilize R. Say more about R.
+Jupyter/Ipython notebook allows you run R code interactively in your browser. The software library R is
+tuned to statistically analysis and allows for an easy usage of the tools we will discuss in these texts.
+
+
+For the C++ affecianodas, Jupyter/IPython notebook allows you also to install C++ and run codes written in this language
+interactively in the browser. Since we will emphasize writing many of the algorithms yourself, you can thus opt for
+either Python or C++ as programming languages.
+
+
+To add more entropy, cython can also be used when running your notebooks. It means that Python with the Jupyter/IPython notebook
+setup allows you to integrate widely popular softwares and tools for scientific computing. With its versatility,
+including symbolic operations, Python offers a unique computational environment. Your Jupyter/IPython notebook
+can easily be converted into a nicely rendered PDF file or a Latex file for further processing.
+
+
+
+
+
Introduction to Jupyter notebook and available tools
+
+
+
+
+
Representing data, overarching aims
@@ -172,7 +320,7 @@ display(data_pandas)
-
Representing data, overarching aims
+
Representing data, more examples
diff --git a/doc/pub/How2ReadData/html/How2ReadData-solarized.html b/doc/pub/How2ReadData/html/How2ReadData-solarized.html
index 2b0f5ca82..56cfd80c8 100644
--- a/doc/pub/How2ReadData/html/How2ReadData-solarized.html
+++ b/doc/pub/How2ReadData/html/How2ReadData-solarized.html
@@ -6,9 +6,9 @@ Automatically generated HTML file from DocOnce source
-
+
-Data Analysis and Machine Learning: Representing data
+Data Analysis and Machine Learning: Introduction and Representing data
@@ -60,8 +60,18 @@ div { text-align: justify; text-justify: inter-word; }
@@ -71,7 +81,7 @@ end of tocinfo -->
-
Data Analysis and Machine Learning: Representing data
+
Data Analysis and Machine Learning: Introduction and Representing data
@@ -87,12 +97,151 @@ end of tocinfo -->
[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University
-
Nov 26, 2017
+
Nov 27, 2017
-
Representing data, overarching aims
+
What is Machine Learning?
+
+
+Machine learning is the science of giving computers the ability to
+learn without being explicitly programmed. The idea is that there
+exist generic algorithms which can be used to find patterns in a broad
+class of data sets without having to write code specifically for each
+problem. The algorithm will build its own logic based on the data.
+
+
+Machine learning is a subfield of computer science, and is closely
+related to computational statistics. It evolved from the study of
+pattern recognition in artificial intelligence (AI) research, and has
+made contributions to AI tasks like computer vision, natural language
+processing and speech recognition. It has also, especially in later
+years, found applications in a wide variety of other areas, including
+bioinformatics, economy, physics, finance and marketing.
+
+
+
+
+
Types of Machine Learning
+
+
+The approaches to machine learning are many, but are often split into two main categories.
+In supervised learning we know the answer to a problem,
+and let the computer deduce the logic behind it. On the other hand, unsupervised learning
+is a method for finding patterns and relationship in data sets without any prior knowledge of the system.
+Some authours also operate with a third category, namely reinforcement learning. This is a paradigm
+of learning inspired by behavioural psychology, where learning is achieved by trial-and-error,
+solely from rewards and punishment.
+
+
+Another way to categorize machine learning tasks is to consider the desired output of a system.
+Some of the most common tasks are:
+
+
+
Classification: Outputs are divided into two or more classes. The goal is to produce a model that assigns inputs into one of these classes. An example is to identify digits based on pictures of hand-written ones. Classification is typically supervised learning.
+
Regression: Finding a functional relationship between an input data set and a reference data set. The goal is to construct a function that maps input data to continuous output values.
+
Clustering: Data are divided into groups with certain common traits, without knowing the different groups beforehand. It is thus a form of unsupervised learning.
+
+
+
+
+
Different algorithms
+In this course we will build our machine learning approach on a statistical foundation, with elements
+from data analysis, stochastic processes etc before we proceed with the following machine learning algorithms
+
+
+
Linear regression and its variants
+
Decision tree algorithms, from simpler to more complex ones
+
Nearest neighbors models
+
Bayesian statistics
+
Support vector machines and finally various variants of
+
Artifical neural networks
+
+
+Before we proceed however, there are several practicalities with data analysis and software tools we would
+like to present. These tools will help us in our understanding of various machine learning algorithms.
+
+
+Our emphasis here is on understanding the mathematical aspects of different algorithms, however, where possible
+we will emphasize the importance of using available software.
+
+
+
+
+
Software and needed installations
+We will make intensive use of python as programming language and the myriad of available libraries.
+Furthermore, you will find IPython/Jupyter notebooks invaluable in your work.
+You can run R codes in the Jupyter/IPython notebooks, with the immediate benefit of visualizing your data.
+
+
+If you have Python installed (we recommend Python3) and you feel pretty familiar with installing different packages,
+we recommend that you install the following Python packages via pip as
+
+
+For OSX user we recommend also, after having installed Xcode, to install brew. Brew allows
+for a seamless installation of additional software via for example
+
+
+
brew install python3
+
+
+For Linux users, with its variety of distributions like for example the widely popular Ubuntu distribution
+you can use pip as well and simply install Python as
+
+
+
sudo apt-get install python3 (or python for pyhton2.7)
+
+
+etc etc.
+
+
+
+
+
Python installers
+If you don't want to perform these operations separately, we recommend two widely used distrubutions which set up
+all relevant dependencies for Python, namely
+
+
+
anaconda
+
Enthought canopy
+
+
+
+
+
Installing R and C++
+
+
+You will also find it convenient to utilize R. Say more about R.
+Jupyter/Ipython notebook allows you run R code interactively in your browser. The software library R is
+tuned to statistically analysis and allows for an easy usage of the tools we will discuss in these texts.
+
+
+For the C++ affecianodas, Jupyter/IPython notebook allows you also to install C++ and run codes written in this language
+interactively in the browser. Since we will emphasize writing many of the algorithms yourself, you can thus opt for
+either Python or C++ as programming languages.
+
+
+To add more entropy, cython can also be used when running your notebooks. It means that Python with the Jupyter/IPython notebook
+setup allows you to integrate widely popular softwares and tools for scientific computing. With its versatility,
+including symbolic operations, Python offers a unique computational environment. Your Jupyter/IPython notebook
+can easily be converted into a nicely rendered PDF file or a Latex file for further processing.
+
+
+
+
+
Introduction to Jupyter notebook and available tools
+
+
+
+
+
Representing data, overarching aims
@@ -123,7 +272,7 @@ display(data_pandas)
-
Representing data, overarching aims
+
Representing data, more examples
@@ -151,6 +300,8 @@ plt.show()
+
+
diff --git a/doc/pub/How2ReadData/html/How2ReadData.html b/doc/pub/How2ReadData/html/How2ReadData.html
index 2688b53b1..eb101e92a 100644
--- a/doc/pub/How2ReadData/html/How2ReadData.html
+++ b/doc/pub/How2ReadData/html/How2ReadData.html
@@ -6,9 +6,9 @@ Automatically generated HTML file from DocOnce source
-
+
-Data Analysis and Machine Learning: Representing data
+Data Analysis and Machine Learning: Introduction and Representing data
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
\n",
+ "
Age
\n",
+ "
Location
\n",
+ "
Name
\n",
+ "
\n",
+ " \n",
+ " \n",
+ "
\n",
+ "
0
\n",
+ "
51
\n",
+ "
Roma
\n",
+ "
John
\n",
+ "
\n",
+ "
\n",
+ "
1
\n",
+ "
21
\n",
+ "
Napoli
\n",
+ "
Anna
\n",
+ "
\n",
+ "
\n",
+ "
2
\n",
+ "
34
\n",
+ "
Torino
\n",
+ "
Peter
\n",
+ "
\n",
+ "
\n",
+ "
3
\n",
+ "
45
\n",
+ "
Milano
\n",
+ "
Linda
\n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
"
+ ],
+ "text/plain": [
+ " Age Location Name\n",
+ "0 51 Roma John\n",
+ "1 21 Napoli Anna\n",
+ "2 34 Torino Peter\n",
+ "3 45 Milano Linda"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "%matplotlib inline\n",
+ "\n",
+ "import numpy as np\n",
+ "import matplotlib.pyplot as plt\n",
+ "from scipy import sparse\n",
+ "import pandas as pd\n",
+ "from IPython.display import display\n",
+ "eye = np.eye(4)\n",
+ "print(eye)\n",
+ "sparse_mtx = sparse.csr_matrix(eye)\n",
+ "print(sparse_mtx)\n",
+ "x = np.linspace(-10,10,100)\n",
+ "y = np.sin(x)\n",
+ "plt.plot(x,y,marker='x')\n",
+ "plt.show()\n",
+ "data = {'Name': [\"John\", \"Anna\", \"Peter\", \"Linda\"], 'Location': [\"Roma\", \"Napoli\", \"Torino\", \"Milano\"], 'Age':[51, 21, 34, 45]}\n",
+ "data_pandas = pd.DataFrame(data)\n",
+ "display(data_pandas)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Representing data, overarching aims"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stderr",
+ "output_type": "stream",
+ "text": [
+ "/usr/local/lib/python3.6/site-packages/scipy/linalg/basic.py:1226: RuntimeWarning: internal gelsd driver lwork query error, required iwork dimension not returned. This is likely the result of LAPACK bug 0038, fixed in LAPACK 3.2.2 (released July 21, 2010). Falling back to 'gelss' driver.\n",
+ " warnings.warn(mesg, RuntimeWarning)\n"
+ ]
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXYAAAD8CAYAAABjAo9vAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAIABJREFUeJztnXeYHFeVt99b3T1BGuWcc7QkI1uW\ng5xtOeCEwT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7HsVAa71P\na70y+nsrsAEYVd5Z5Y62aYu+DEX/lUy3qlLYAZRSP1RK7QI+Bny73PMpErcCT5V7Ej2UUcAuz+vd\nVKGA1DJKqfHAXODN8s4kP5RSAaXUKuAgsERrXbL3UbHCrpR6Tim11uffdQBa6zu11mOAPwGfK+9s\n05PpvUSPuROIYL+fiiSb9yEIpUAp1QQ8BHwh4Ym9atBam1rr92E/lc9XSpXMTVaxzay11pdmeeif\ngMXAd0o4nYLI9F6UUrcAVwOX6Ape9MjhO6lG9gBjPK9HR7cJZSbqk34I+JPW+uFyz6dQtNbHlFJL\ngSuAkixwV6zFng6l1BTPy+uAjeWaS6Eopa4AvgJcq7U+We759GCWAVOUUhOUUnXAR4DHyjynHk90\n0fG3wAat9c/KPZ98UUoNcSLelFKN2Iv0JdOtao2KeQiYhh2F8S7waa11VVpXSqmtQD1wJLrpjWqM\n8FFKXQ/cAwwBjgGrtNaXl3dWuaGUej/wcyAA/E5r/cMyTykvlFJ/Bi7EriJ4APiO1vq3ZZ1Uniil\nzgVeBtZg/70DfENrvbh8s8odpdQc4PfY/7cMYJHW+vslu141CrsgCIKQmqp0xQiCIAipEWEXBEGo\nMUTYBUEQagwRdkEQhBpDhF0QBKHGEGEXBEGoMUTYBUEQagwRdkEQhBrj/wP9pPFTtoJT2wAAAABJ\nRU5ErkJggg==\n",
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import numpy as np\n",
+ "import matplotlib.pyplot as plt\n",
+ "from scipy import sparse\n",
+ "import pandas as pd\n",
+ "from IPython.display import display\n",
+ "import mglearn\n",
+ "import sklearn\n",
+ "from sklearn.linear_model import LinearRegression\n",
+ "from sklearn.tree import DecisionTreeRegressor\n",
+ "x, y = mglearn.datasets.make_wave(n_samples=100)\n",
+ "line = np.linspace(-3,3,1000,endpoint=False).reshape(-1,1)\n",
+ "reg = DecisionTreeRegressor(min_samples_split=3).fit(x,y)\n",
+ "plt.plot(line, reg.predict(line), label=\"decision tree\")\n",
+ "regline = LinearRegression().fit(x,y)\n",
+ "plt.plot(line, regline.predict(line), label= \"Linear Rgression\")\n",
+ "plt.show()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+ "source": []
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 3",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.6.3"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}
diff --git a/doc/pub/How2ReadData/ipynb/How2ReadData.ipynb b/doc/pub/How2ReadData/ipynb/How2ReadData.ipynb
index bd86ecf96..c658f51e7 100644
--- a/doc/pub/How2ReadData/ipynb/How2ReadData.ipynb
+++ b/doc/pub/How2ReadData/ipynb/How2ReadData.ipynb
@@ -4,19 +4,127 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "\n",
- "# Data Analysis and Machine Learning: Representing data\n",
+ "\n",
+ "# Data Analysis and Machine Learning: Introduction and Representing data\n",
"\n",
" \n",
"**Morten Hjorth-Jensen**, Department of Physics, University of Oslo and Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University\n",
"\n",
- "Date: **Nov 26, 2017**\n",
+ "Date: **Nov 27, 2017**\n",
"\n",
"Copyright 1999-2017, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n",
"\n",
"\n",
"\n",
"\n",
+ "## What is Machine Learning?\n",
+ "\n",
+ "Machine learning is the science of giving computers the ability to\n",
+ "learn without being explicitly programmed. The idea is that there\n",
+ "exist generic algorithms which can be used to find patterns in a broad\n",
+ "class of data sets without having to write code specifically for each\n",
+ "problem. The algorithm will build its own logic based on the data.\n",
+ "\n",
+ "Machine learning is a subfield of computer science, and is closely\n",
+ "related to computational statistics. It evolved from the study of\n",
+ "pattern recognition in artificial intelligence (AI) research, and has\n",
+ "made contributions to AI tasks like computer vision, natural language\n",
+ "processing and speech recognition. It has also, especially in later\n",
+ "years, found applications in a wide variety of other areas, including\n",
+ "bioinformatics, economy, physics, finance and marketing.\n",
+ "\n",
+ "## Types of Machine Learning\n",
+ "\n",
+ "\n",
+ "The approaches to machine learning are many, but are often split into two main categories. \n",
+ "In *supervised learning* we know the answer to a problem,\n",
+ "and let the computer deduce the logic behind it. On the other hand, *unsupervised learning*\n",
+ "is a method for finding patterns and relationship in data sets without any prior knowledge of the system.\n",
+ "Some authours also operate with a third category, namely *reinforcement learning*. This is a paradigm \n",
+ "of learning inspired by behavioural psychology, where learning is achieved by trial-and-error, \n",
+ "solely from rewards and punishment.\n",
+ "\n",
+ "Another way to categorize machine learning tasks is to consider the desired output of a system.\n",
+ "Some of the most common tasks are:\n",
+ "\n",
+ " * Classification: Outputs are divided into two or more classes. The goal is to produce a model that assigns inputs into one of these classes. An example is to identify digits based on pictures of hand-written ones. Classification is typically supervised learning.\n",
+ "\n",
+ " * Regression: Finding a functional relationship between an input data set and a reference data set. The goal is to construct a function that maps input data to continuous output values.\n",
+ "\n",
+ " * Clustering: Data are divided into groups with certain common traits, without knowing the different groups beforehand. It is thus a form of unsupervised learning.\n",
+ "\n",
+ "## Different algorithms\n",
+ "In this course we will build our machine learning approach on a statistical foundation, with elements \n",
+ "from data analysis, stochastic processes etc before we proceed with the following machine learning algorithms\n",
+ "\n",
+ "1. Linear regression and its variants\n",
+ "\n",
+ "2. Decision tree algorithms, from simpler to more complex ones\n",
+ "\n",
+ "3. Nearest neighbors models\n",
+ "\n",
+ "4. Bayesian statistics \n",
+ "\n",
+ "5. Support vector machines and finally various variants of\n",
+ "\n",
+ "6. Artifical neural networks\n",
+ "\n",
+ "Before we proceed however, there are several practicalities with data analysis and software tools we would \n",
+ "like to present. These tools will help us in our understanding of various machine learning algorithms. \n",
+ "\n",
+ "Our emphasis here is on understanding the mathematical aspects of different algorithms, however, where possible \n",
+ "we will emphasize the importance of using available software. \n",
+ "\n",
+ "\n",
+ "## Software and needed installations\n",
+ "We will make intensive use of python as programming language and the myriad of available libraries. \n",
+ "Furthermore, you will find IPython/Jupyter notebooks invaluable in your work. \n",
+ "You can run **R** codes in the Jupyter/IPython notebooks, with the immediate benefit of visualizing your data.\n",
+ "\n",
+ "\n",
+ "If you have Python installed (we recommend Python3) and you feel pretty familiar with installing different packages, \n",
+ "we recommend that you install the following Python packages via **pip** as\n",
+ "1. pip install numpy scipy matplotlib ipython scikit-learn mglearn sympy pandas pillow\n",
+ "\n",
+ "For Python3, replace **pip** with **pip3**.\n",
+ "\n",
+ "For OSX user we recommend also, after having installed Xcode, to install **brew**. Brew allows \n",
+ "for a seamless installation of additional software via for example\n",
+ "1. brew install python3\n",
+ "\n",
+ "For Linux users, with its variety of distributions like for example the widely popular Ubuntu distribution\n",
+ "you can use **pip** as well and simply install Python as \n",
+ "1. sudo apt-get install python3 (or python for pyhton2.7)\n",
+ "\n",
+ "etc etc. \n",
+ "\n",
+ "## Python installers\n",
+ "If you don't want to perform these operations separately, we recommend two widely used distrubutions which set up \n",
+ "all relevant dependencies for Python, namely\n",
+ "1. anaconda\n",
+ "\n",
+ "2. Enthought canopy\n",
+ "\n",
+ "## Installing R and C++\n",
+ "\n",
+ "You will also find it convenient to utilize R. Say more about R. \n",
+ "Jupyter/Ipython notebook allows you run **R** code interactively in your browser. The software library **R** is \n",
+ "tuned to statistically analysis and allows for an easy usage of the tools we will discuss in these texts.\n",
+ "\n",
+ "For the C++ affecianodas, Jupyter/IPython notebook allows you also to install C++ and run codes written in this language \n",
+ "interactively in the browser. Since we will emphasize writing many of the algorithms yourself, you can thus opt for\n",
+ "either Python or C++ as programming languages. \n",
+ "\n",
+ "To add more entropy, **cython** can also be used when running your notebooks. It means that Python with the Jupyter/IPython notebook \n",
+ "setup allows you to integrate widely popular softwares and tools for scientific computing. With its versatility, \n",
+ "including symbolic operations, Python offers a unique computational environment. Your Jupyter/IPython notebook \n",
+ "can easily be converted into a nicely rendered **PDF** file or a Latex file for further processing.\n",
+ "\n",
+ "\n",
+ "## Introduction to Jupyter notebook and available tools\n",
+ "\n",
+ "\n",
+ "\n",
"## Representing data, overarching aims"
]
},
@@ -52,7 +160,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Representing data, overarching aims"
+ "## Representing data, more examples"
]
},
{
diff --git a/doc/pub/How2ReadData/ipynb/ipynb-How2ReadData-src.tar.gz b/doc/pub/How2ReadData/ipynb/ipynb-How2ReadData-src.tar.gz
index 52374d85e..152d5a1b3 100644
Binary files a/doc/pub/How2ReadData/ipynb/ipynb-How2ReadData-src.tar.gz and b/doc/pub/How2ReadData/ipynb/ipynb-How2ReadData-src.tar.gz differ
diff --git a/doc/pub/How2ReadData/pdf/How2ReadData-beamer-handouts2x3.pdf b/doc/pub/How2ReadData/pdf/How2ReadData-beamer-handouts2x3.pdf
index 9e3bf4188..e40bd1f11 100644
Binary files a/doc/pub/How2ReadData/pdf/How2ReadData-beamer-handouts2x3.pdf and b/doc/pub/How2ReadData/pdf/How2ReadData-beamer-handouts2x3.pdf differ
diff --git a/doc/pub/How2ReadData/pdf/How2ReadData-beamer.pdf b/doc/pub/How2ReadData/pdf/How2ReadData-beamer.pdf
index e449058b6..c9a67f747 100644
Binary files a/doc/pub/How2ReadData/pdf/How2ReadData-beamer.pdf and b/doc/pub/How2ReadData/pdf/How2ReadData-beamer.pdf differ
diff --git a/doc/pub/How2ReadData/pdf/How2ReadData-minted.pdf b/doc/pub/How2ReadData/pdf/How2ReadData-minted.pdf
index 05b3cb5b2..41487143a 100644
Binary files a/doc/pub/How2ReadData/pdf/How2ReadData-minted.pdf and b/doc/pub/How2ReadData/pdf/How2ReadData-minted.pdf differ
diff --git a/doc/src/How2ReadData/How2ReadData.do.txt b/doc/src/How2ReadData/How2ReadData.do.txt
index f5594dfa2..b4bd94a87 100644
--- a/doc/src/How2ReadData/How2ReadData.do.txt
+++ b/doc/src/How2ReadData/How2ReadData.do.txt
@@ -1,8 +1,117 @@
-TITLE: Data Analysis and Machine Learning: Representing data
+TITLE: Data Analysis and Machine Learning: Introduction and Representing data
AUTHOR: Morten Hjorth-Jensen {copyright, 1999-present|CC BY-NC} at Department of Physics, University of Oslo & Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University
DATE: today
+!split
+===== What is Machine Learning? =====
+
+Machine learning is the science of giving computers the ability to
+learn without being explicitly programmed. The idea is that there
+exist generic algorithms which can be used to find patterns in a broad
+class of data sets without having to write code specifically for each
+problem. The algorithm will build its own logic based on the data.
+
+Machine learning is a subfield of computer science, and is closely
+related to computational statistics. It evolved from the study of
+pattern recognition in artificial intelligence (AI) research, and has
+made contributions to AI tasks like computer vision, natural language
+processing and speech recognition. It has also, especially in later
+years, found applications in a wide variety of other areas, including
+bioinformatics, economy, physics, finance and marketing.
+
+!split
+===== Types of Machine Learning =====
+
+
+The approaches to machine learning are many, but are often split into two main categories.
+In *supervised learning* we know the answer to a problem,
+and let the computer deduce the logic behind it. On the other hand, *unsupervised learning*
+is a method for finding patterns and relationship in data sets without any prior knowledge of the system.
+Some authours also operate with a third category, namely *reinforcement learning*. This is a paradigm
+of learning inspired by behavioural psychology, where learning is achieved by trial-and-error,
+solely from rewards and punishment.
+
+Another way to categorize machine learning tasks is to consider the desired output of a system.
+Some of the most common tasks are:
+
+ * Classification: Outputs are divided into two or more classes. The goal is to produce a model that assigns inputs into one of these classes. An example is to identify digits based on pictures of hand-written ones. Classification is typically supervised learning.
+
+ * Regression: Finding a functional relationship between an input data set and a reference data set. The goal is to construct a function that maps input data to continuous output values.
+
+ * Clustering: Data are divided into groups with certain common traits, without knowing the different groups beforehand. It is thus a form of unsupervised learning.
+
+
+!split
+===== Different algorithms =====
+In this course we will build our machine learning approach on a statistical foundation, with elements
+from data analysis, stochastic processes etc before we proceed with the following machine learning algorithms
+
+o Linear regression and its variants
+o Decision tree algorithms, from simpler to more complex ones
+o Nearest neighbors models
+o Bayesian statistics
+o Support vector machines and finally various variants of
+o Artifical neural networks
+
+Before we proceed however, there are several practicalities with data analysis and software tools we would
+like to present. These tools will help us in our understanding of various machine learning algorithms.
+
+Our emphasis here is on understanding the mathematical aspects of different algorithms, however, where possible
+we will emphasize the importance of using available software.
+
+
+!split
+===== Software and needed installations =====
+We will make intensive use of python as programming language and the myriad of available libraries.
+Furthermore, you will find IPython/Jupyter notebooks invaluable in your work.
+You can run _R_ codes in the Jupyter/IPython notebooks, with the immediate benefit of visualizing your data.
+
+
+If you have Python installed (we recommend Python3) and you feel pretty familiar with installing different packages,
+we recommend that you install the following Python packages via _pip_ as
+o pip install numpy scipy matplotlib ipython scikit-learn mglearn sympy pandas pillow
+For Python3, replace _pip_ with _pip3_.
+
+For OSX user we recommend also, after having installed Xcode, to install _brew_. Brew allows
+for a seamless installation of additional software via for example
+o brew install python3
+
+For Linux users, with its variety of distributions like for example the widely popular Ubuntu distribution
+you can use _pip_ as well and simply install Python as
+o sudo apt-get install python3 (or python for pyhton2.7)
+etc etc.
+
+!split
+===== Python installers =====
+If you don't want to perform these operations separately, we recommend two widely used distrubutions which set up
+all relevant dependencies for Python, namely
+o anaconda
+o Enthought canopy
+
+
+!split
+===== Installing R and C++ =====
+
+You will also find it convenient to utilize R. Say more about R.
+Jupyter/Ipython notebook allows you run _R_ code interactively in your browser. The software library _R_ is
+tuned to statistically analysis and allows for an easy usage of the tools we will discuss in these texts.
+
+For the C++ affecianodas, Jupyter/IPython notebook allows you also to install C++ and run codes written in this language
+interactively in the browser. Since we will emphasize writing many of the algorithms yourself, you can thus opt for
+either Python or C++ as programming languages.
+
+To add more entropy, _cython_ can also be used when running your notebooks. It means that Python with the Jupyter/IPython notebook
+setup allows you to integrate widely popular softwares and tools for scientific computing. With its versatility,
+including symbolic operations, Python offers a unique computational environment. Your Jupyter/IPython notebook
+can easily be converted into a nicely rendered _PDF_ file or a Latex file for further processing.
+
+
+!split
+===== Introduction to Jupyter notebook and available tools =====
+
+
+
!split
===== Representing data, overarching aims =====
!bblock
@@ -29,7 +138,7 @@ display(data_pandas)
!split
-===== Representing data, overarching aims =====
+===== Representing data, more examples =====
!bblock
!bc pycod
import numpy as np
@@ -51,3 +160,7 @@ plt.show()
!ec
!eblock
+
+
+
+