146 lines
34 KiB
Plaintext
146 lines
34 KiB
Plaintext
|
{
|
||
|
"cells": [
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 1,
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"import numpy as np\n",
|
||
|
"import pylab\n",
|
||
|
"import scipy.stats as stats\n",
|
||
|
"import pandas as pd\n",
|
||
|
"import matplotlib.pyplot as plot"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 2,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEWCAYAAAB8LwAVAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvIxREBQAAIABJREFUeJzt3XeYVOX5//H3xxIN0Z8loFEEVxPAFuuqxBJ7/apYEw2xJ1zmi4rGEhWjUWNiN/avGI0YNwp27GJXFHUhAtIUC4KgrL1gA+7fH89ZGdbZ3VnY2ZnZ/byua66Zec45M/fMLnvz3Oc5z6OIwMzMrKHFSh2AmZmVJycIMzPLywnCzMzycoIwM7O8nCDMzCwvJwgzM8vLCcI6HEl/kXTzQh57mKRnm9j+oKRD8+0r6XNJay7M+7Ywxicl/a7Y72PtnxOEVQRJb0n6Mvsj+56kf0laptRxNRQRu0XE4Ea2LRMRbwBIulHSXxf2fVrj+5BUJSkkLbGwcVj75gRhlWTPiFgG2BjYFDi94Q5KOsrvdbPfh9mi6Cj/kKwdiYh3gAeB9eC7ksq5kkYAs4E1Ja0qaZikDyVNkfT7Bi+ztKQhkj6TNFrSBvUbJJ0i6fVs2wRJ+zQ4VpKukPSJpEmSdsjZ0Gh5J/vf+s8k9QP6AidnPYB7JZ0k6Y4G+18h6R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jwZfvMbJ4dmeC4mM2u/XnopzZ300kvwy1/CVVe5nNQC7kGYWfvzwQdpyOrmm8O0aWlN6CefdHJoIScIM2s/5s1L5xh69oR//hMGDEijk/r2dTlpIbjEZGbtQ21tKie9+CJsvXUqJ/3
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x288 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"data = np.mat([[1,200,105,3,False],[2,165,80,2,False],[3,184.5,120,2,False],[4,116,70.8,1,False],[5,270,150,4,True]])\n",
|
||
|
"col1 = []\n",
|
||
|
"for row in data:\n",
|
||
|
" col1.append(row[0,1])\n",
|
||
|
"stats.probplot(col1,plot=pylab)\n",
|
||
|
"pylab.show()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 3,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "stdout",
|
||
|
"output_type": "stream",
|
||
|
"text": [
|
||
|
"0 2\n",
|
||
|
"1 165\n",
|
||
|
"2 80\n",
|
||
|
"Name: 1, dtype: object\n",
|
||
|
"0 3\n",
|
||
|
"1 184.5\n",
|
||
|
"2 120\n",
|
||
|
"Name: 2, dtype: object\n"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEKCAYAAAAIO8L1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvIxREBQAAF+FJREFUeJzt3Xu4XXV95/H3p+FivAZMYEIgDTiYFnsJesroOFq81CDDCDpeiLZitQ3OI1a0MpLasbb2eRzFK6OjouKlQxEq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PZxfr+fJSFSJJmlsmGmD5QVadOOFHuQVX1gqFWJknq1WRDTOPXW3rPJMtIkvZQkw0xrUkyB/jDqvrdEdYkSZoBJj3Mtaq2AguS7DOieiRJM8RUTpS7HfhqkkuBn4w3VtX7hlWUJKl/UwmIDe3jl3jo0Ffv5CZJe7ipBMS3qupvBhuSvGRbC0uS9gxTudTGqim2SZL2IJOdB/F8mju8LUpy5sCsx+IlvyVpjzfZENMGYDXwAmDNQPv9wBuHWZQkqX+TnQdxA3BDkgOr6jOD85K8AfjgzqwwyVLgvIGmw4C3AfOAPwQ2te1/UlWX78w6JEm7bir7IE7saHvVzq6wqtZW1bKqWgY8BfgpcFE7+/3j8wwHSerXZPsgVgAvBw5tz4EY91jg7mla/3OA26rqjiTT9JGSpOkw2T6IfwQ2AvOB9w60F/CyaVr/icC5A9OnJHklzb6PP66qf5n4hiQrgZUAixcvnqYyJEkTpWr757wlWUazNfFS4PvABVX1oV1acXP5jg3Ak6rqziQH0myZFPAOYGFVTXrv67GxsVq9evWulCFJs06SNVU1tr3lJhtieiLNX/g
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x288 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
},
|
||
|
{
|
||
|
"name": "stdout",
|
||
|
"output_type": "stream",
|
||
|
"text": [
|
||
|
"0 4\n",
|
||
|
"1 116\n",
|
||
|
"2 70.8\n",
|
||
|
"Name: 3, dtype: object\n"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEKCAYAAAAIO8L1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvIxREBQAAFoZJREFUeJzt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slSfvOTEcQD2/ev928ptj1I0kLwEyD9f33YRYiSRotM3UxvauqztjtRrn7VdWJA61MktSpmbqYpsZbescM60iS9lMzdTFdl2QR8IdV9R+HWJMkaQTMeKNcVd0HjDWXo0qSFpC53AfxPeAfk1xBb1gMAKrqnYMqSpLUvbkExNbm9RB2Xvr6gJPWkqT9y1wC4htV9dH+hiTe5SxJ+7m5PDDonDm2SZL2IzPdB3E8cAKwPMl7+hY9gvkP+S1JGnEzdTFtBSaAE+k91GfK3cAbB1mUJKl7M90HcRNwU5JDq+qC/mVJTqf3XGlJ0n5qLucgTm5pe9U+rkOSNGJmOgdxCvAK4MjmHogpjwB+NOjCJEndmukcxD8B24BDgL/oay/g5YMsSpLUvZnOQXwf+D7wjCRPo3c08TLgu8DHh1OeJKkrM3UxPZHe+YdTgB8DFwOpqucMqTZJUodm6mL6JvBl4MVVdTtAEi9vlaQFYqarmH4P+CFwdZIPJDkOyHDKkiR1bdqAqKpPVNXLgScBX6R3c9yhSd6X5PlDqk+S1JFZ74Ooql9U1YVV9SLgcOBG4OyBVyZJ6tRcbpS7X1X9pKr+T1U9d1AFSZJGwx4FhCRp4TAgJEm
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x288 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"rocksVMines = pd.DataFrame([[1,200,105,3,False],[2,165,80,2,False],[3,184.5,120,2,False],[4,116,70.8,1,False],[5,270,150,4,True]])\n",
|
||
|
"dataRow1 = rocksVMines.iloc[1,0:3]\n",
|
||
|
"dataRow2 = rocksVMines.iloc[2,0:3]\n",
|
||
|
"print(dataRow1)\n",
|
||
|
"print(dataRow2)\n",
|
||
|
"plot.scatter(dataRow1,dataRow2)\n",
|
||
|
"plot.xlabel(\"Attribute1\")\n",
|
||
|
"plot.ylabel(\"Attribute2\")\n",
|
||
|
"plot.show()\n",
|
||
|
"\n",
|
||
|
"dataRow3 = rocksVMines.iloc[3,0:3]\n",
|
||
|
"print(dataRow3)\n",
|
||
|
"plot.scatter(dataRow2,dataRow3)\n",
|
||
|
"plot.xlabel(\"Attribute2\")\n",
|
||
|
"plot.ylabel(\"Attribute3\")\n",
|
||
|
"plot.show()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": null,
|
||
|
"metadata": {},
|
||
|
"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.7"
|
||
|
}
|
||
|
},
|
||
|
"nbformat": 4,
|
||
|
"nbformat_minor": 2
|
||
|
}
|