Skip to content

Instantly share code, notes, and snippets.

@ugis22
Last active June 17, 2018 12:53

Revisions

  1. ugis22 revised this gist Jun 17, 2018. 1 changed file with 0 additions and 0 deletions.
    Empty file removed module_data.ipynb
    Empty file.
  2. ugis22 revised this gist Jun 17, 2018. 2 changed files with 96 additions and 75 deletions.
    75 changes: 0 additions & 75 deletions module_data.ipynb
    Original file line number Diff line number Diff line change
    @@ -1,75 +0,0 @@
    {
    "cells": [
    {
    "cell_type": "code",
    "execution_count": 1,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "%matplotlib notebook"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "### Loading modules"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 2,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "import matplotlib.pyplot as plt\n",
    "import seaborn as sns \n",
    "sns.set(style=\"whitegrid\", color_codes=True)"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "### Loading the data\n",
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 3,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "hepatitis_data = pd.read_csv(\"dataset_55_hepatitis.csv\")"
    ]
    },
    "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
    }
    96 changes: 96 additions & 0 deletions modules_data.ipynb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,96 @@
    {
    "cells": [
    {
    "cell_type": "code",
    "execution_count": 2,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "%matplotlib notebook"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "### Loading modules"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 3,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "import matplotlib.pyplot as plt\n",
    "import seaborn as sns \n",
    "sns.set(style=\"whitegrid\", color_codes=True)"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "### Loading the data"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 4,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "hepatitis_data = pd.read_csv(\"dataset_55_hepatitis.csv\")"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 5,
    "metadata": {},
    "outputs": [
    {
    "data": {
    "text/plain": [
    "(155, 20)"
    ]
    },
    "execution_count": 5,
    "metadata": {},
    "output_type": "execute_result"
    }
    ],
    "source": [
    "hepatitis_data.shape"
    ]
    }
    ],
    "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
    }
  3. ugis22 renamed this gist Jun 17, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. ugis22 created this gist Jun 17, 2018.
    75 changes: 75 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,75 @@
    {
    "cells": [
    {
    "cell_type": "code",
    "execution_count": 1,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "%matplotlib notebook"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "### Loading modules"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 2,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "import matplotlib.pyplot as plt\n",
    "import seaborn as sns \n",
    "sns.set(style=\"whitegrid\", color_codes=True)"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "### Loading the data\n",
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 3,
    "metadata": {
    "collapsed": true
    },
    "outputs": [],
    "source": [
    "hepatitis_data = pd.read_csv(\"dataset_55_hepatitis.csv\")"
    ]
    },
    "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
    }