{ "cells": [ { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Collecting matplotlib\n", " Downloading matplotlib-3.6.0-cp39-cp39-win_amd64.whl (7.2 MB)\n", " ---------------------------------------- 7.2/7.2 MB 536.5 kB/s eta 0:00:00\n", "Collecting kiwisolver>=1.0.1\n", " Downloading kiwisolver-1.4.4-cp39-cp39-win_amd64.whl (55 kB)\n", " -------------------------------------- 55.4/55.4 kB 961.1 kB/s eta 0:00:00\n", "Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\prajwal\\appdata\\roaming\\python\\python39\\site-packages (from matplotlib) (2.8.2)\n", "Collecting fonttools>=4.22.0\n", " Downloading fonttools-4.37.4-py3-none-any.whl (960 kB)\n", " ------------------------------------ 960.8/960.8 kB 950.6 kB/s eta 0:00:00\n", "Requirement already satisfied: numpy>=1.19 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from matplotlib) (1.23.3)\n", "Collecting cycler>=0.10\n", " Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)\n", "Requirement already satisfied: pillow>=6.2.0 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from matplotlib) (9.2.0)\n", "Requirement already satisfied: packaging>=20.0 in c:\\users\\prajwal\\appdata\\roaming\\python\\python39\\site-packages (from matplotlib) (21.3)\n", "Collecting contourpy>=1.0.1\n", " Downloading contourpy-1.0.5-cp39-cp39-win_amd64.whl (161 kB)\n", " -------------------------------------- 162.0/162.0 kB 2.4 MB/s eta 0:00:00\n", "Requirement already satisfied: pyparsing>=2.2.1 in c:\\users\\prajwal\\appdata\\roaming\\python\\python39\\site-packages (from matplotlib) (3.0.9)\n", "Requirement already satisfied: six>=1.5 in c:\\users\\prajwal\\appdata\\roaming\\python\\python39\\site-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)\n", "Installing collected packages: kiwisolver, fonttools, cycler, contourpy, matplotlib\n", "Successfully installed contourpy-1.0.5 cycler-0.11.0 fonttools-4.37.4 kiwisolver-1.4.4 matplotlib-3.6.0\n", "Note: you may need to restart the kernel to use updated packages.\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ " WARNING: The scripts fonttools.exe, pyftmerge.exe, pyftsubset.exe and ttx.exe are installed in 'c:\\Users\\Prajwal\\AppData\\Local\\Programs\\Python\\Python39\\Scripts' which is not on PATH.\n", " Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\n" ] } ], "source": [ "\n", "\n", "\n", "pip install matplotlib" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Collecting seaborn\n", " Downloading seaborn-0.12.0-py3-none-any.whl (285 kB)\n", " -------------------------------------- 285.1/285.1 kB 5.8 MB/s eta 0:00:00\n", "Requirement already satisfied: pandas>=0.25 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from seaborn) (1.5.0)\n", "Requirement already satisfied: matplotlib>=3.1 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from seaborn) (3.6.0)\n", "Requirement already satisfied: numpy>=1.17 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from seaborn) (1.23.3)\n", "Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\prajwal\\appdata\\roaming\\python\\python39\\site-packages (from matplotlib>=3.1->seaborn) (2.8.2)\n", "Requirement already satisfied: contourpy>=1.0.1 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from matplotlib>=3.1->seaborn) (1.0.5)\n", "Requirement already satisfied: pyparsing>=2.2.1 in c:\\users\\prajwal\\appdata\\roaming\\python\\python39\\site-packages (from matplotlib>=3.1->seaborn) (3.0.9)\n", "Requirement already satisfied: kiwisolver>=1.0.1 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from matplotlib>=3.1->seaborn) (1.4.4)\n", "Requirement already satisfied: packaging>=20.0 in c:\\users\\prajwal\\appdata\\roaming\\python\\python39\\site-packages (from matplotlib>=3.1->seaborn) (21.3)\n", "Requirement already satisfied: cycler>=0.10 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from matplotlib>=3.1->seaborn) (0.11.0)\n", "Requirement already satisfied: pillow>=6.2.0 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from matplotlib>=3.1->seaborn) (9.2.0)\n", "Requirement already satisfied: fonttools>=4.22.0 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from matplotlib>=3.1->seaborn) (4.37.4)\n", "Requirement already satisfied: pytz>=2020.1 in c:\\users\\prajwal\\appdata\\local\\programs\\python\\python39\\lib\\site-packages (from pandas>=0.25->seaborn) (2022.2.1)\n", "Requirement already satisfied: six>=1.5 in c:\\users\\prajwal\\appdata\\roaming\\python\\python39\\site-packages (from python-dateutil>=2.7->matplotlib>=3.1->seaborn) (1.16.0)\n", "Installing collected packages: seaborn\n", "Successfully installed seaborn-0.12.0\n", "Note: you may need to restart the kernel to use updated packages.\n" ] } ], "source": [ "pip install seaborn" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "\n", "import seaborn as sns" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | Iteration | \n", "Gen FSR | \n", "Gen w/o FSR | \n", "Finetuning FSR | \n", "Finetuning w/o FSR | \n", "E.Coli Inhibition FSR | \n", "E.Coli Inhibition w/o FSR | \n", ">0.85 FSR | \n", ">0.85 w/o FSR | \n", "
---|---|---|---|---|---|---|---|---|---|
0 | \n", "0 | \n", "100 | \n", "100 | \n", "120 | \n", "120 | \n", "10 | \n", "22 | \n", "5 | \n", "10 | \n", "
1 | \n", "1 | \n", "100 | \n", "100 | \n", "125 | \n", "130 | \n", "8 | \n", "48 | \n", "5 | \n", "18 | \n", "
2 | \n", "2 | \n", "100 | \n", "100 | \n", "130 | \n", "148 | \n", "32 | \n", "82 | \n", "18 | \n", "31 | \n", "
3 | \n", "3 | \n", "100 | \n", "100 | \n", "158 | \n", "179 | \n", "71 | \n", "95 | \n", "28 | \n", "33 | \n", "