Commit 93ead254 by Paktalin

initial commit: class 7

parents
Showing with 155 additions and 0 deletions
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"# load data\n",
"X = []\n",
"Y = []"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"for line in open('../csv_files/data_1d.csv'):\n",
" x, y = line.split(',')\n",
" X.append(float(x))\n",
" Y.append(float(y))"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"# turn X and Y into numpy arrays\n",
"X = np.array(X)\n",
"Y = np.array(Y)"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEKCAYAAAAIO8L1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3Xt8lPWZ9/HPlYMQAgI5CAgBxKLd6Fqq7L5kfTzUQyvWRbTtqkRFq7KguBaVHi3Nw+I+WwGRSoWlakUNtmyF1vJIrbJWXWv7FFuX2mjFUySKkARBhBhJcj1/zJ04Cfckk8NkJjPf9+uVVzL33DP8ptPeV3/39ftdl7k7IiIi7WUlewAiIpKaFCBERCSUAoSIiIRSgBARkVAKECIiEkoBQkREQilAiIhIKAUIEREJpQAhIiKhcpI9gJ4oKiry8ePHJ3sYIiL9ygsvvFDr7sWdndevA8T48ePZsmVLsochItKvmFlVPOfpFpOIiIRSgBARkVAJCxBmVmJmT5nZy2b2FzO7MTheYGZPmNm24Pfw4LiZ2Q/M7DUz22pmJyZqbCIi0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ysCPidmT3qcexCDepp3QVc4O41ZnYxcBvwVSJF+I5y9wYzG9YLH1OkSxQgRD6xkEhNr4+INKdpw93/ZGZHmNmRQDHwvru/HVzk/83MTiNS9mQ0MAJ4L45/81jgeOCJSLUEsomUswbYClSY2c+JlFgQ6VMKECKfKAAGA7nAQCKltNv7GZHicCOJzCgAyogEjJPc/WBQaXZgu9c10vaWbsvzBvzF3aeE/FtfJNIcaBrwXTM7Lqr3gUjCKQch8onVwHeBCiKtLMP8hEgV2S/zSSezoUR6VBw0s88B40JeVwWUmtkAMxtKpBopwF+BYjObApFbTmZ2nJllASXu/hSR5kjDiAQvkT6jGYQIYGZXAI3uvjbob/5bMzvT3f8r+jx3/4uZDQHeiSqnXAH80sy2AC8Cr7R/f3ffbmbriNw22kak8iju/rGZfRn4QRA4cojkOV4FHgqOGZG+y3sS8NFFYlI1VxERCaVbTCIiEkoBQkREQilAiIhIKAUIEREJpQAhIiKhFCBERCSUAoSIiIRSgBARkVD/H1O9ZYffhI/2AAAAAElFTkSuQmCC\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# plot the data\n",
"plt.scatter(X, Y, edgecolors='k')\n",
"plt.xlabel('x values')\n",
"plt.ylabel('y values')\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"denominator = 71642.992721\n",
"a = 1.972612\n",
"b = 2.864424\n"
]
}
],
"source": [
"# calculate a and b\n",
"denominator = X.dot(X) - X.mean()*X.sum()\n",
"\n",
"a = ( X.dot(Y) - Y.mean() * X.sum() ) / denominator\n",
"b = ( Y.mean() * X.dot(X) - X.mean() * X.dot(Y) ) / denominator\n",
"print('denominator = %f' % denominator)\n",
"print('a = %f' % a)\n",
"print('b = %f' % b)"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [],
"source": [
"# calculate predicted Y\n",
"Yhat = a*X + b"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEKCAYAAAAIO8L1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3Xt81NWd//HXJxdJQEBCAgECCUjETV3EytpSt2qLbcVaRdsVNCq1F+uFVlEo1qU0Sym7FhEvVFxa22IJXlqVRX7ai2xXu63tNraWKqJRMBJFSABRISBJPr8/ZhJmMt9JBshkksn7+XjkQebM9zuc6dT5cM7nnM8xd0dERKStjFR3QEREuicFCBERCaQAISIigRQgREQkkAKEiIgEUoAQEZFAChAiIhJIAUJERAIpQIiISKCsVHfgaOTn53tJSUmquyEi0qM899xz9e5e0NF1PTpAlJSUUFVVlepuiIj0KGZWk8h1mmISEZFAChAiIhJIAUJERAIpQIiISCAFCBERCZS0AGFmI83st2b2kpm9aGbXh9vzzOw3ZlYd/nNQuN3M7C4ze9XMNpjZh5PVNxER6VgyRxCNwE3u/g/AR4HrzKwMuBlY7+6lwPrwY4ApQGn45ypgeRL7JiIiHUhagHD3be7+l/Dv7wEvASOAC4CV4ctWAlPDv18A3O8hfwSOM7NhyeqfiEiP1NQECxfCyy8n/a/qkhyEmZUApwB/Aoa6+zYIBRFgSPiyEcDWiNtqw21tX+sqM6sys6q6urpkdltEJKkqK1czuvREMjIzGV16IpWVq9u/Yc0ayMqCb3+bW088MbF7jkLSd1Kb2bHAI8AN7v6umcW9NKDNYxrcVwArACZOnBjzvIhIT1BZuZprZs2h7+SZjJxaRkPtRq6ZNQeA8vJLoy9+/33Iy4ODBwH4/ZDRLL98Cfvf3BT/nk6Q1BGEmWUTCg6V7v5ouHl7y9RR+M8d4fZaYGTE7UXAW8nsn4hIqsyr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/mdJLx1kbhUzVVERAJpiklERAIpQIiISCAFCBERCaQAISIigRQgREQkkAKEiIgEUoAQEZFAChAiIhLo/wN0W2F2UuylBwAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# plot predicted line\n",
"plt.scatter(X, Y, edgecolors='k')\n",
"plt.xlabel('x values')\n",
"plt.ylabel('y values')\n",
"plt.plot(X, Yhat, color='red')\n",
"plt.show()"
]
}
],
"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.5.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment