From 04da20b31370f7bf491ac36e4dec034d64561dad Mon Sep 17 00:00:00 2001 From: Shrivastava Date: Wed, 18 Jul 2018 13:20:25 -0700 Subject: [PATCH 1/3] parag - second commit --- .gitignore | 0 .ipynb_checkpoints/balance-checkpoint.ipynb | 61 +++++++++++++++++++++ balance.ipynb | 61 +++++++++++++++++++++ 3 files changed, 122 insertions(+) create mode 100644 .gitignore create mode 100644 .ipynb_checkpoints/balance-checkpoint.ipynb create mode 100644 balance.ipynb diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.ipynb_checkpoints/balance-checkpoint.ipynb b/.ipynb_checkpoints/balance-checkpoint.ipynb new file mode 100644 index 0000000..53c2458 --- /dev/null +++ b/.ipynb_checkpoints/balance-checkpoint.ipynb @@ -0,0 +1,61 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "import numpy as np\n" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([0., 0., 0., 0., 0., 0., 0., 0., 0.])" + ] + }, + "execution_count": 2, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "np.zeros(9)" + ] + }, + { + "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.4" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/balance.ipynb b/balance.ipynb new file mode 100644 index 0000000..53c2458 --- /dev/null +++ b/balance.ipynb @@ -0,0 +1,61 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "import numpy as np\n" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([0., 0., 0., 0., 0., 0., 0., 0., 0.])" + ] + }, + "execution_count": 2, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "np.zeros(9)" + ] + }, + { + "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.4" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} From 70ac660da364f63bbb9c75d89938aa83f2410fe0 Mon Sep 17 00:00:00 2001 From: Shrivastava Date: Wed, 18 Jul 2018 13:27:16 -0700 Subject: [PATCH 2/3] parag added identiy matrix --- .ipynb_checkpoints/balance-checkpoint.ipynb | 26 +++++++++++++++++++++ balance.ipynb | 26 +++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/.ipynb_checkpoints/balance-checkpoint.ipynb b/.ipynb_checkpoints/balance-checkpoint.ipynb index 53c2458..ce1f660 100644 --- a/.ipynb_checkpoints/balance-checkpoint.ipynb +++ b/.ipynb_checkpoints/balance-checkpoint.ipynb @@ -29,6 +29,32 @@ "np.zeros(9)" ] }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([[1., 0., 0., 0., 0., 0., 0.],\n", + " [0., 1., 0., 0., 0., 0., 0.],\n", + " [0., 0., 1., 0., 0., 0., 0.],\n", + " [0., 0., 0., 1., 0., 0., 0.],\n", + " [0., 0., 0., 0., 1., 0., 0.],\n", + " [0., 0., 0., 0., 0., 1., 0.],\n", + " [0., 0., 0., 0., 0., 0., 1.]])" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "np.eye(7)" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/balance.ipynb b/balance.ipynb index 53c2458..ce1f660 100644 --- a/balance.ipynb +++ b/balance.ipynb @@ -29,6 +29,32 @@ "np.zeros(9)" ] }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "array([[1., 0., 0., 0., 0., 0., 0.],\n", + " [0., 1., 0., 0., 0., 0., 0.],\n", + " [0., 0., 1., 0., 0., 0., 0.],\n", + " [0., 0., 0., 1., 0., 0., 0.],\n", + " [0., 0., 0., 0., 1., 0., 0.],\n", + " [0., 0., 0., 0., 0., 1., 0.],\n", + " [0., 0., 0., 0., 0., 0., 1.]])" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "np.eye(7)" + ] + }, { "cell_type": "code", "execution_count": null, From 3af3b6e42dbdc4384be5628a5f8ef306a577571f Mon Sep 17 00:00:00 2001 From: Shrivastava Date: Wed, 18 Jul 2018 13:32:30 -0700 Subject: [PATCH 3/3] parag changed git ignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e69de29..58461f2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +.ipynb_checkpoints \ No newline at end of file